Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"You need to authenticate to Microsoft services" #339

Closed
fishscene opened this issue Jul 14, 2023 · 3 comments
Closed

"You need to authenticate to Microsoft services" #339

fishscene opened this issue Jul 14, 2023 · 3 comments

Comments

@fishscene
Copy link

fishscene commented Jul 14, 2023

My server has been working so far for over a year and I update the server every month and verify everything is working.
Today I went to log in to make sure no one was on before updating and I got the error message:
"You need to authenticate to Microsoft services" on both Windows and iPhone when I try to connect to my server.

  • I can connect to other servers just fine on both Windows an iPhone.

Suspecting a server-side issue, I updated to the latest docker image available as of today to see if that would fix the error, but it didn't make a difference.

  • I have confirmed I am definitely signed in to Minecraft.
  • I do not run any mods on client OR server.
  • I have pulled down the docker "latest" image as of today, 2023/07/14.

This is my Portainer stack config:

version: "3"

volumes:
  data:
  
services:
  minecraft:
    container_name: [redacted]
    hostname: [redacted]
    image: itzg/minecraft-bedrock-server:latest
    ports:
      - 19132:19132/udp
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - data:/data
    environment:
      TZ: 'America/Los_Angeles'
      ALLOW_CHEATS: 'true'
      DIFFICULTY: 'normal'
      EULA: 'TRUE'
      GAMEMODE: 'survival'
      SERVER_NAME: 'minecraft'
      SERVER_PORT: '19132'
      #VERSION: '1.19.1.01' ## 'LATEST' Microsoft broke "LATEST" by feeding beta to it. Specify exact version for now. Get latest client version from "https://minecraft.fandom.com/wiki/Bedrock_Edition_version_history" https://github.com/itzg/docker-minecraft-bedrock-server/issues/243
      WHITE_LIST: 'true'
      OPS: [redacted]
      MAX_Players: "10"
      WHITE_LIST_USERS: [redacted]

    restart: 'always'
ime="2023-07-14T12:31:36-07:00" level=debug msg="Using /data to match uid and gid"
time="2023-07-14T12:31:36-07:00" level=debug msg="Resolved UID=0 from match path"
time="2023-07-14T12:31:36-07:00" level=debug msg="Resolved GID=0 from match path"
Looking up latest version...
Updating permissions
Setting allow list
Starting Bedrock server...
NO LOG FILE! - setting up server logging...
[2023-07-14 12:31:37:219 INFO] Starting Server
[2023-07-14 12:31:37:219 INFO] Version: 1.20.11.01
[2023-07-14 12:31:37:219 INFO] Session ID: 51faeb15-dddc-417d-bede-e141196c5ee2
[2023-07-14 12:31:37:219 INFO] Build ID: 16423281
[2023-07-14 12:31:37:219 INFO] Branch: r/20_u1
[2023-07-14 12:31:37:219 INFO] Commit ID: 52edfe76050d27eb8b174c1fe73eb58332208093
[2023-07-14 12:31:37:219 INFO] Configuration: Publish
[2023-07-14 12:31:37:220 INFO] Level Name: Bedrock level
[2023-07-14 12:31:37:220 WARN] 'whitelist.json' will be deprecated. Please migrate to 'allowlist.json'.
[2023-07-14 12:31:37:220 INFO] Game mode: 0 Survival
[2023-07-14 12:31:37:220 INFO] Difficulty: 2 NORMAL
[2023-07-14 12:31:37:221 INFO] Content logging to console is enabled.
[2023-07-14 12:31:37:542 INFO] Opening level 'worlds/Bedrock level/db'
[2023-07-14 12:31:38:156 INFO] IPv4 supported, port: 19132: Used for gameplay and LAN discovery
[2023-07-14 12:31:38:156 INFO] IPv6 not supported
[2023-07-14 12:31:38:160 INFO] Server started.
[2023-07-14 12:31:38:160 INFO] ================ TELEMETRY MESSAGE ===================
[2023-07-14 12:31:38:160 INFO] Server Telemetry is currently not enabled. 
[2023-07-14 12:31:38:160 INFO] Enabling this telemetry helps us improve the game.
[2023-07-14 12:31:38:160 INFO] 
[2023-07-14 12:31:38:160 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2023-07-14 12:31:38:160 INFO] to the server.properties file in the handheld/src-server directory
[2023-07-14 12:31:38:160 INFO] ======================================================

Any ideas?

@itzg
Copy link
Owner

itzg commented Jul 15, 2023

I wonder if it's related to the discussion we're having on #336

@AurimasNav
Copy link

AurimasNav commented Jul 30, 2023

Tried to run the server for the first time, getting the same error.

edit: I guess I should clarify that I was connecting from PS5 via the "bedrockTogether" app, since it was not visible otherwise as lan server.
It works fine when connecting from android or windows client.

@fishscene
Copy link
Author

After making no changes, this is now working.
It appears this issue is independent of the ALLOW_LIST issue as I had to work through that after no longer receiving the authentication issue.
Issue can be closed if #339 (comment) is ok with it.

@itzg itzg closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants