Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-261804

Expired Key preventing players from logging in on servers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w16a
    • 1.19.4
    • None
    • Community Consensus
    • Networking
    • Very Important
    • Platform

      Overtime player's keys expire while still being on a server. This prevents other players from logging in to the server.

      This is the error you get when trying to join the server while someone on the server has an expired key.

      This is what is shown in the debug log when you try to join the server while someone on the server has an expired key.

      The player that is online WITH the expired key will have this printed in their Minecraft logs once every hour. In this case, the error below was in the logs of the user named "ProfessorRist" as shown above.

      [10:02:07] [Worker-Main-879/ERROR]: Failed to retrieve profile key pair
      com.mojang.authlib.exceptions.MinecraftClientHttpException: Status: 401
      	at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:87) ~[authlib-3.18.38.jar:?]
      	at com.mojang.authlib.minecraft.client.MinecraftClient.post(MinecraftClient.java:55) ~[authlib-3.18.38.jar:?]
      	at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.getKeyPair(YggdrasilUserApiService.java:73) ~[authlib-3.18.38.jar:?]
      	at fdf.a(SourceFile:130) ~[1.19.4.jar:?]
      	at fdf.b(SourceFile:79) ~[1.19.4.jar:?]
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
      	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
      	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
      	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
      	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
      	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
      	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] 

        1. error1.png
          error1.png
          33 kB
        2. error2.png
          error2.png
          28 kB

            gegy1000 [Mojang] Gegy
            SirKillian SirKillian
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: