Unable to play

For whatever reason, every time I try to get into any sort of battle, I get an error message saying there’s a connection error and forces me to restart the game. I tried using a VPN and other WiFis but nothing worked.