mojira.dev
MC-273078

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

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.

[^MC-273078.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) [?:?]
[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.

Attachments

Comments 0

No comments.

Avoma

rkullenius

Plausible

Platform

Important

Networking

1.21 Pre-Release 4, 1.21

1.21

Retrieved