There is an error in the game output when starting.
*before this it was running fine but after the update it show this error message *
Failed to verify authentication
com.mojang.authlib.exceptions.InvalidCredentialsException: Status: 401
at com.mojang.authlib.exceptions.MinecraftClientHttpException.toAuthenticationException(MinecraftClientHttpException.java:56)
at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.fetchProperties(YggdrasilUserApiService.java:140)
at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.<init>(YggdrasilUserApiService.java:47)
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.createUserApiService(YggdrasilAuthenticationService.java:158)
at eev.a(SourceFile:677)
at eev.<init>(SourceFile:415)
at net.minecraft.client.main.Main.main(SourceFile:198)
Caused by: MinecraftClientHttpException[type=HTTP_ERROR, status=401, response=null]
at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:85)
at com.mojang.authlib.minecraft.client.MinecraftClient.get(MinecraftClient.java:48)
at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.fetchProperties(YggdrasilUserApiService.java:121)
... 5 more
--------minecraft output logs-----
11:24:59.916
Using default game log configuration client-1.12.xml (outputs XML)
11:25:04.031
Building optimized datafixer
11:25:07.454
Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
11:25:08.914
Failed to verify authentication
com.mojang.authlib.exceptions.InvalidCredentialsException: Status: 401
at com.mojang.authlib.exceptions.MinecraftClientHttpException.toAuthenticationException(MinecraftClientHttpException.java:56)
at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.fetchProperties(YggdrasilUserApiService.java:140)
at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.<init>(YggdrasilUserApiService.java:47)
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.createUserApiService(YggdrasilAuthenticationService.java:158)
at eev.a(SourceFile:677)
at eev.<init>(SourceFile:415)
at net.minecraft.client.main.Main.main(SourceFile:198)
Caused by: MinecraftClientHttpException[type=HTTP_ERROR, status=401, response=null]
at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:85)
at com.mojang.authlib.minecraft.client.MinecraftClient.get(MinecraftClient.java:48)
at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.fetchProperties(YggdrasilUserApiService.java:121)
... 5 more
11:25:08.926
Setting user: Ichtoloog
11:25:09.109
Backend library: LWJGL version 3.3.1 build 7
11:25:11.095
Narrator library for x64 successfully loaded
11:25:11.328
Failed to retrieve profile key pair
java.io.IOException: Could not retrieve profile key pair
at etr.b(SourceFile:112)
at etr.c(SourceFile:56)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
11:25:11.329
Reloading ResourceManager: Default
11:25:13.474
Could not authorize you against Realms server: Invalid session id
11:25:18.496
Missing sound for event: minecraft:item.goat_horn.play
11:25:18.496
Missing sound for event: minecraft:entity.goat.screaming.horn_break
11:25:20.361
OpenAL initialized on device OpenAL Soft on Speakers (Realtek(R) Audio)
11:25:20.364
Sound engine started
11:25:20.703
Created: 1024x1024x4 minecraft:textures/atlas/blocks.png-atlas
11:25:20.729
Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
11:25:20.730
Created: 1024x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
11:25:20.732
Created: 1024x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
11:25:20.735
Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
11:25:20.736
Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
11:25:20.737
Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
11:25:21.919
Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
11:25:22.052
Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
11:25:22.055
Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
11:25:22.056
Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
11:25:54.080
Connecting to ms.vortexnetwork.net, 25565
11:26:25.041
4256 Datafixer optimizations took 80998 milliseconds
------end------
I tried many ways to try fixing this but it doesn't work. Can someone please help?
Thank you for your report!
We're tracking this issue in MC-207896, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as invalid. Please take a look at the parent ticket (MC-207896) and see if an explanation is provided there in the description of the ticket or in the comments for why this issue is invalid.
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