com.mojang.authlib.exceptions.AuthenticationUnavailableException

tip

Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.


rafaelrafael
tip

host port isnt set

tip

Check if your MongoDB is available.


rprp
tip

To restart the Selenium Webdriver mock browser in a testcase, first use 'driver.close()' and then reinstantiate the driver.

tip

Firewall might be blocking your connection, or MySQL it's not running on your server machine.


rafaelrafael
tip

Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.


rafaelrafael
tip

spring-data-redis requires redis 2.6+ to work properly.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Connection Refused
    via lngooglecalsync by dcryans
    ,
  • Unable to synch using version 2.5.5
    via lngooglecalsync by donhewitt
    ,
    • com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:71)[launcher.jar:1.6.61] at com.mojang.authlib.yggdrasil.YggdrasilUserAuthentication.logInWithToken(YggdrasilUserAuthentication.java:132)[launcher.jar:1.6.61] at com.mojang.authlib.yggdrasil.YggdrasilUserAuthentication.logIn(YggdrasilUserAuthentication.java:55)[launcher.jar:1.6.61] at net.minecraft.launcher.Launcher.ensureLoggedIn(Launcher.java:215)[launcher.jar:1.6.61] at net.minecraft.launcher.Launcher$2.run(Launcher.java:169)[launcher.jar:1.6.61] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[?:1.7.0_111] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[?:1.7.0_111] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[?:1.7.0_111] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[?:1.7.0_111] at java.lang.Thread.run(Thread.java:745)[?:1.7.0_111] Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method)[?:1.7.0_111] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)[?:1.7.0_111] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)[?:1.7.0_111] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)[?:1.7.0_111] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[?:1.7.0_111] at java.net.Socket.connect(Socket.java:579)[?:1.7.0_111] at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:635)[?:1.7.0_111] at sun.net.NetworkClient.doConnect(NetworkClient.java:175)[?:1.7.0_111] at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)[?:1.7.0_111] at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)[?:1.7.0_111] at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)[?:1.7.0_111] at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)[?:1.7.0_111] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)[?:1.7.0_111] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:977)[?:1.7.0_111] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)[?:1.7.0_111] at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1093)[?:1.7.0_111] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)[?:1.7.0_111] at com.mojang.authlib.HttpAuthenticationService.performPostRequest(HttpAuthenticationService.java:73)[launcher.jar:1.6.61] at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:54)[launcher.jar:1.6.61] ... 9 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    mortalman7mortalman7
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    479 more bugmates