mojira.dev
MC-198586

Failed to connect to server (Invalid session) on self-hosted Server

Hello,

I run a self-hosted server on a cloudhoster. Everthing worked fine, till today. I tried to connect to the server an got following error:

"Failed to connect to server (Invalid session)" see screenshot

The Serverversion and the Clientversion are both the tatest Minecraft Java-Edition 1.16.2

Yesterday it worked perfect.

I think it's an account issue, but I don't know…

I tried the following:

  • Restarting the game

  • Restarting the launcher

  • Restarting the router

  • Restarting the minecraft-server

  • Restarting the remote machine

  • Re"install" the server.jar with wget on the remote server

  • Reinstall the Minecraft program on my mac

Nothing worked...


But I read that the online mode could help. If I set

online-mode=false

it could work... Because I don't need an real online server I tried this out. My friends and I connect direct to that IP.

Now I can connect, but my items, stats also are all gone ... they were saved on the online account I think... so I changed it back...

Now I running again in this issue

How can I fix this please?

Related issues

Attachments

Comments

migrated
[media]
[MOD] Greymagic27

Thank you for your report!
We're tracking this issue in MC-198546, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Mojang Support – ✍️ Feedback and Suggestions – 📖 Game Wiki

migrated

(Unassigned)

Unconfirmed

(Unassigned)

1.16.2

Retrieved