Skip to content
Try a Minecraft server free. No card needed.48 hours free
AwakeNode
Find my serverMinecraft plansFree trialPay-to-PlayWikiSupport
Legacy billingClient DashboardView plans
Error fixes

Error fix

Failed to login: Invalid session (Try restarting your game)

Minecraft's login check failed between the player's game and Mojang's servers. It's on the player's side, not your server.

AwakeNode Team · Updated 5 Nov 2026

What it means

When a player joins, your server asks Mojang's login servers to confirm they own Minecraft. "Invalid session" means that check failed for that player. It's almost always a problem with their game's sign-in, not your server.

Fixes for the player

Try these in order:

  1. Restart the game and the launcher. Fully close the Minecraft Launcher, open it again and launch.
  2. Sign out and back in. In the launcher, sign out of the Microsoft account, sign back in and launch again.
  3. Check the date and time on their computer are set automatically. A clock that's wrong by more than a few minutes breaks sign-in.
  4. Don't use an old or third-party launcher that hasn't been updated for Microsoft accounts.
  5. Check Minecraft's status. If Mojang's login servers are having problems, nobody can join any server until they're back.

If every player gets it

If nobody can join and they all see "Invalid session", Mojang's login service is probably down. Wait and try again.

Don't turn off online-mode to get round it. That lets anyone join under any name, including yours, and it doesn't fix anything once Mojang is back.

Behind a proxy

On a server behind Velocity or BungeeCord, the proxy does the login check. If only players going through the proxy get this, check the proxy's forwarding settings match the backend servers.

Questions

Is my server broken?+

Almost certainly not. The check is between the player's game and Mojang. If one player gets it, it's their sign-in.

Should I set online-mode=false?+

No. It removes account checks entirely, so anyone can log in as anyone.

More error fixes

java.lang.NoClassDefFoundError / ClassNotFoundExceptionLearn how to resolve java.lang.NoClassDefFoundError and ClassNotFoundException errors on your Minecraft server with our step-by-step troubleshooting guide.java.lang.NoSuchMethodError / NoSuchFieldErrorLearn how to resolve java.lang.NoSuchMethodError and NoSuchFieldError on your Minecraft server by identifying version mismatches and plugin conflicts.Exception in server tick loopLearn how to diagnose and resolve the 'Exception in server tick loop' error on your Minecraft server with our step-by-step troubleshooting guide.java.net.SocketException: Connection resetTroubleshoot the java.net.SocketException: Connection reset error on your Minecraft server. Learn how to diagnose network and client-side issues.

On this page

  • What it means
  • Fixes for the player
  • If every player gets it
  • Behind a proxy

Start a Minecraft server

Java or Bedrock, vanilla or modded, with a console, file manager and backups.

See plans
AwakeNode

Minecraft server hosting in UK or EU locations. Built by players, for players.

Open a support ticket

Minecraft

  • Minecraft plans
  • Modpack servers
  • Pay-to-Play with friends
  • 48-hour free trial
  • Common questions

Support

  • Wiki and guides
  • Client Dashboard
  • Open a support ticket
  • Legacy game panel (existing servers)
  • Legacy billing (existing accounts)

Company

  • Contact us
  • VPS hosting
  • Terms of service
  • Privacy policy
  • Uptime SLA
  • AwakeNode is a trading name of Falcon Hosting Ltd.
    © 2026 Falcon Hosting Ltd.

    Registered in England & Wales · Company No. 15676555 · ICO registration ZB377567
    Registered office: Anglo Dal House, 5 Spring Villa Park, Spring Villa Road, Edgware, Middlesex, HA8 7EB, United Kingdom