I've encountered a similar problem, but after seeking help from EA Help, I didn't get an effective solution, so I can't offer you any useful information at this time.
However, based on my personal experience and similar experiences of other players in the community, I suggest that you avoid repeatedly trying to connect to the game in this state until you get a truly effective solution. According to reports from other players, EAC seems to have a serious logical problem. When your network connection to EAC fluctuates, you might be incorrectly identified as performing a DDoS attack on the server, leading EAC to believe you are attempting to cheat and permanently ban you.
There's not much I can do, but at least I hope you don't become the next potential victim.