Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-2872

Extreme lag / freeze when trying to select profile and MOJANG server are offline / no internet connection

XMLWordPrintable

    • Confirmed

      I don't know if this really a bug, maybe it can be prevented.

      When the "Multiplayer session service" server are offline or you have no internet connection and you try changing the selected profile in your launcher the game freezes for about 10 seconds (which even let the profile selection for every programm).

      Here is the output:

      [21:14:35 INFO]: Refreshing auth...
      [21:14:35 INFO]: Logging in with access token
      [21:15:11 ERROR]: Exception whilst logging into profile
      com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server
      	at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:69) ~[launcher.jar:?]
      	at com.mojang.authlib.yggdrasil.YggdrasilUserAuthentication.logInWithToken(YggdrasilUserAuthentication.java:124) ~[launcher.jar:?]
      	at com.mojang.authlib.yggdrasil.YggdrasilUserAuthentication.logIn(YggdrasilUserAuthentication.java:53) ~[launcher.jar:?]
      	at net.minecraft.launcher.Launcher.ensureLoggedIn(Launcher.java:203) [launcher.jar:?]
      	at net.minecraft.launcher.ui.bottombar.ProfileSelectionPanel.itemStateChanged(ProfileSelectionPanel.java:127) [launcher.jar:?]
      	at javax.swing.JComboBox.fireItemStateChanged(Unknown Source) [?:1.6.0_45]
      	at javax.swing.JComboBox.selectedItemChanged(Unknown Source) [?:1.6.0_45]
      	at javax.swing.JComboBox.contentsChanged(Unknown Source) [?:1.6.0_45]
      	at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source) [?:1.6.0_45]
      	at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source) [?:1.6.0_45]
      	at javax.swing.JComboBox.setSelectedItem(Unknown Source) [?:1.6.0_45]
      	at javax.swing.JComboBox.setSelectedIndex(Unknown Source) [?:1.6.0_45]
      	at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(Unknown Source) [?:1.6.0_45]
      	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) [?:1.6.0_45]
      	at java.awt.Component.processMouseEvent(Unknown Source) [?:1.6.0_45]
      	at javax.swing.JComponent.processMouseEvent(Unknown Source) [?:1.6.0_45]
      	at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(Unknown Source) [?:1.6.0_45]
      	at java.awt.Component.processEvent(Unknown Source) [?:1.6.0_45]
      	at java.awt.Container.processEvent(Unknown Source) [?:1.6.0_45]
      	at java.awt.Component.dispatchEventImpl(Unknown Source) [?:1.6.0_45]
      	at java.awt.Container.dispatchEventImpl(Unknown Source) [?:1.6.0_45]
      	at java.awt.Component.dispatchEvent(Unknown Source) [?:1.6.0_45]
      	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) [?:1.6.0_45]
      	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) [?:1.6.0_45]
      	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) [?:1.6.0_45]
      	at java.awt.Container.dispatchEventImpl(Unknown Source) [?:1.6.0_45]
      	at java.awt.Window.dispatchEventImpl(Unknown Source) [?:1.6.0_45]
      	at java.awt.Component.dispatchEvent(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventQueue.access$400(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventQueue$2.run(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventQueue$2.run(Unknown Source) [?:1.6.0_45]
      	at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_45]
      	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) [?:1.6.0_45]
      	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventQueue$3.run(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventQueue$3.run(Unknown Source) [?:1.6.0_45]
      	at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_45]
      	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.6.0_45]
      	at java.awt.EventDispatchThread.run(Unknown Source) [?:1.6.0_45]
      Caused by: java.net.SocketTimeoutException: Read timed out
      	at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.6.0_45]
      	at java.net.SocketInputStream.read(Unknown Source) ~[?:1.6.0_45]
      	at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source) ~[?:1.6]
      	at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source) ~[?:1.6]
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) ~[?:1.6]
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source) ~[?:1.6]
      	at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source) ~[?:1.6]
      	at java.io.BufferedInputStream.fill(Unknown Source) ~[?:1.6.0_45]
      	at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.6.0_45]
      	at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.6.0_45]
      	at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source) ~[?:1.6.0_45]
      	at sun.net.www.http.HttpClient.parseHTTP(Unknown Source) ~[?:1.6.0_45]
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.6.0_45]
      	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) ~[?:1.6]
      	at com.mojang.authlib.HttpAuthenticationService.performPostRequest(HttpAuthenticationService.java:83) ~[launcher.jar:?]
      	at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:52) ~[launcher.jar:?]
      	... 45 more
      
      

      Maybe something could be added that checks if the server are online or if you have an internet connection

      Also had a similar problem when trying to play an old map with the old skin format in a Minecraft Version with the new skin format in offline mode (it was "Diversity" by theqmagnet), the game nearly crashed as the console got so extreme spammed by the game

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: