20

When I try to connect to servers or join up on lan worlds in Minecraft it says "Failed to Login : Invalid session (Try restarting your game)". Multiplayer used to work fine but now keeps coming up with this error. Can anybody help?

  • 10
    Have you tried restarting your game? (had to ask) – Rapitor Jul 2 '14 at 17:24
  • 1
    Are u using a cracked launcher if you are it will automatically reject you from the game because mojang wont allow it! – user86091 Aug 25 '14 at 15:11
  • 1
    Is there any way to restart the session without reloading Minecraft? Some mod packs take tens of minutes to launch, so this would be a real help. – rakslice Jan 8 '16 at 4:49
  • 2
    @rakslice: I just stumbled on a Forge mod called Re-Auth that supposedly does just that. I have not tried it yet but tempted to because I switch between multiple Internet connections and it's a pain to restart the client every time. – mellamokb Sep 22 '16 at 2:57
  • 1
    Either be online on client or switch server to off-line mode (online-mode=false in server.properties). – Jarekczek Feb 26 at 18:35
22

Just as the error says your session Id, what you log in with, is invalid. This usually happens when you log in to your account and then have a new instance of minecraft and log in again with out closing down the old one. The old session ID is invalidated as soon as the new connection is made. This will give you the error above when you attempt to log into a server as it will only have the new Session ID.

Restarting your client is the only way to get a new session Id as it will wipe out whatever it thinks the new one is and truly give you a new one. (Restart your client by quitting the game, closing and reopening the launcher, and then starting the game again)

  • How do you restart your client – user80790 Jul 3 '14 at 19:50
  • 3
    Close it and start it up again.. This will happen every time you have two instances of minecraft running, the older one will always have an outdated session id. – James Jul 3 '14 at 20:38
  • Great answer. Restarting the launcher in addition to Minecraft itself was the key for me, and you even put that part in bold! Thanks! – Mir Sep 13 '15 at 21:20
  • 2
    @Mir Glad to help... Its not always obvious its the launcher that actually does the login, but it is. – James Sep 13 '15 at 23:14

protected by Community Sep 3 '14 at 18:28

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.