FreeMCHost logoFreeMCHost
All articles
Troubleshooting

Fix "Failed to Verify Username" on a Minecraft Server

Why the server rejects a player's session, what to try, and why turning online-mode off is a bad fix.

December 5, 20264 min read

Why it happens

With online-mode=true, the server asks Mojang's session service to confirm each player. The error appears when that check fails.

Fixes that work

  1. The player should fully close Minecraft and the launcher, then sign in again.
  2. Check that the clock of the player's computer is correct.
  3. Check the official service status: sometimes the session service is down for everyone.
  4. Restart your server.
  5. If you run a proxy such as Velocity, check that forwarding is configured on both the proxy and the backend server.

Do not just disable online-mode

online-mode=false removes identity checks: anyone can join under any name, including yours with operator rights. It also changes player UUIDs, so inventories seem to disappear. It only makes sense behind a correctly configured proxy.

Related