Alright So I bought Minecraft a few weeks ago then when I click play It crashes then gives me this message
The game crashed whilst initializing game
Error: java.lang.Error: Missing/invalid yggdrasil public key!
Exit Code: -1
I tried everything but it won't work
Linked issues
Comments 3
Thank you for your report!
We're tracking this issue in MC-231580, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit
Minecraft Crash Report ----
// I let you down. Sorry 😞
Time: 7/9/21, 2:30 PM
Description: Initializing game
java.lang.Error: Missing/invalid yggdrasil public key!
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.<init>(YggdrasilMinecraftSessionService.java:84)
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.createMinecraftSessionService(YggdrasilAuthenticationService.java:89)
at dvp.<init>(SourceFile:428)
at net.minecraft.client.main.Main.main(SourceFile:179)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
– Head –
Thread: Render thread
Stacktrace:
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.<init>(YggdrasilMinecraftSessionService.java:84)
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.createMinecraftSessionService(YggdrasilAuthenticationService.java:89)
at dvp.<init>(SourceFile:428)
– Initialization –
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(SourceFile:179)
– System Details –
Details:
Minecraft Version: 1.17.1
Minecraft Version ID: 9318a7096fde4f5394afb7f42dfb8651
Operating System: Windows 10 (amd64) version 10.0
Java Version: 16.0.1, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 586546008 bytes (559 MiB) / 771751936 bytes (736 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 12
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Launched Version: 1.17.1
Backend library: LWJGL version 3.2.2 SNAPSHOT
Backend API: NO CONTEXT
Window size: <not initialized>
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages: <disabled>
Using VBOs: Yes
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
CPU: <unknown>