Minecraft – Unable to connect to authentication servers on debian vps

hostingminecraft-java-edition

I am currently hosting a server on a VPS running debian and when I try to connect to the server my client gets an error saying the authentication servers are down, and the server displays an error saying it is unable to connect to the authentication servers. I have checked the status of the servers and Mojang says they are up and running. I suspect it has something to do with the fact it is a vps and i need to add the authentication servers to a file somewhere in the OS to allow the server to connect I am just unsure where and how.

Best Answer

Some folks use VPS servers to try and 'crack' all kinds of authentication servers, including Mojang's. They're not really interested in Minecraft accounts beyond learning of an email / password pair that might work for other (more important) things like gmail.

It's not unlikely that the previous 'owner' of your VMs IP was engaged in those sort of shenanigans, and that Mojang inserted a firewall rule on their side to stop the abuse.

If that is the case:

  • Contact Mojang. Tell them you just bought a new VPS and it can't connect to their authentication server.
  • Be ready to back up that claim - keep the welcome email the host sent you
  • If all fails, try explaining this to your host, and ask for an IP from a different block

SSH to the VM first and try pinging / traceroute to the auth server, include this information when you contact Mojang.

When you get a shiny new VM, you also (unfortunately) inherit all of the bad behavior that might have been coming from the IP it was assigned - once in a while you have to play the it ain't me game to get stuff working again.