Failed to log in invalid session try restarting your game and the launcher #1228
Answered
by
taeraeyttaejae
barseghyanartur
asked this question in
Q&A
-
I have the Minecraft server running using this docker-compose.yml: version: "3"
services:
mc:
image: itzg/minecraft-server
ports:
- 25565:25565
environment:
EULA: "TRUE"
DEBUG: "TRUE"
tty: true
stdin_open: true
restart: unless-stopped Minecraft server version is 1.18.1. I'm using the TLauncher (for Linux) version 1.18.1. I can add the server in the list of servers. It reports OK. However, I can't connect to the server due to the following error:
I do restart the game and the launcher, but the error persists. Any tips? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
taeraeyttaejae
Jan 24, 2022
Replies: 1 comment 1 reply
-
You have to pass ONLINE_MODE: "FALSE" in your environment variables, put it below DEBUG for example. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
barseghyanartur
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to pass ONLINE_MODE: "FALSE" in your environment variables, put it below DEBUG for example.