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

Random "Failed to retrieve profile key pair" error when opening a world to LAN

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.21
    • 1.21 Pre-Release 4, 1.21
    • None
    • Plausible
    • Networking
    • Important
    • Platform

      The Bug:

      Random "Failed to retrieve profile key pair" error when opening a world to LAN.

      I launched my PC and then launched Minecraft. Upon loading into an already existing world and opening it to LAN, I noticed an error in the game output log. I created a brand new and opened it to LAN and experienced the same problem. Reloading the game stopped the error from appearing. I have attached the log.

      [18:05:52] [Download-5/ERROR]: Failed to retrieve profile key pair
      com.mojang.authlib.exceptions.MinecraftClientHttpException: FORBIDDEN
           at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:100) ~[authlib-6.0.54.jar:?]
           at com.mojang.authlib.minecraft.client.MinecraftClient.post(MinecraftClient.java:65) ~[authlib-6.0.54.jar:?]
           at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.getKeyPair(YggdrasilUserApiService.java:61) ~[authlib-6.0.54.jar:?]
           at fyy.a(SourceFile:129) ~[1.21-pre4.jar:?]
           at fyy.b(SourceFile:77) ~[1.21-pre4.jar:?]
           at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
           at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
           at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
           at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

      Steps to Reproduce:

      1. Unknown

      Observed Behavior:

      The "Failed to retrieve profile key pair" error is logged in the game output console when opening a world to LAN.

      Expected Behavior:

      No error would occur.

            rebeccakullenius [Mojang] Rebecca
            Avoma [Mod] Avoma
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: