com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check for proxy misconfigurations and AWS issues.

Solutions on the web

via GitHub by mibby
, 1 year ago
Cannot contact authentication server
via GitHub by blacknight4u
, 1 year ago
Cannot contact authentication server
via planetminecraft.com by Unknown author, 1 year ago
via GitHub by l89669
, 5 months ago
Cannot contact authentication server
com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:625)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.(HttpClient.java:432)
at sun.net.(HttpClient.java:527)
at sun.net.(HttpsClient.java:275)
at sun.net.(HttpsClient.java:371)
at sun.net.(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.(HttpURLConnection.java:976)
at sun.net.(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.(HttpURLConnection.java:1301)
at sun.net.(HttpsURLConnectionImpl.java:254)
at com.mojang.authlib.HttpAuthenticationService.performGetRequest(HttpAuthenticationService.java:126)
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:54)
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175)
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:168)
at net.minecraft.client.Minecraft.launchIntegratedServer(Minecraft.java:2320)
at net.minecraft.client.gui.GuiCreateWorld.actionPerformed(GuiCreateWorld.java:239)
at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:508)
at net.minecraft.client.gui.GuiCreateWorld.mouseClicked(GuiCreateWorld.java:430)
at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:620)
at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:586)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1761)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1080)
at net.minecraft.client.Minecraft.run(Minecraft.java:380)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at undefined.GradleStart.main(GradleStart.java:26)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4298 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.