Pending connection failure?

Could not connect to server. Authentication failed!

What is the solution to this?

Just restarting the game usually fixes it for me.

I tried restarting and nothing gives.