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

Launcher for 1.6 pre-release does not allow offline play when behind a proxy.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.0.0
    • None
    • Windows 7 x64
      JRE 7 x64
    • Unconfirmed

      When attempting to start Minecraft while the computer is connected to a network with a proxy (firewall) the launcher does enable the "Play Offline" button.

      The launcher for 1.5.2 recognized eventually that it could not make a connection and offered offline play with in about a minute. This new launcher does not.

      As a workaround I attempted to start the application with a batch file and configured JVM parameters -Dhttps.host=**.*.*.** -Dhttps.port=8080 -Dhttp.host=**.*.*.** -Dhttp.port=8080 -jar Minecraft.exe. This however only allows the MOJANG information to appear in the launcher but still no offline play.

      The only way I can start the game is if I first disconnect my computer from the network. Then the launcher pretty quickly realizes that there is no network connection and enables the "Play Offline" button. Then I can connect my computer back to the network.

      Nothing really serious, I just like to play around during my lunch time.

      The following is the output of the launcher:

      Launcher 1.0.1 (through bootstrap 4) started on windows...
      System.getProperty('os.name') == 'Windows 7'
      System.getProperty('os.version') == '6.1'
      System.getProperty('os.arch') == 'amd64'
      System.getProperty('java.version') == '1.7.0_25'
      System.getProperty('java.vendor') == 'Oracle Corporation'
      Going to log in with legacy stored username & password...
      Loaded 1 profile(s); selected 'JRSofty'
      Trying to log in...
      Logging in with access token
      Couldn't log in
      net.minecraft.launcher.authentication.exceptions.AuthenticationException: Cannot contact authentication server
      	at net.minecraft.launcher.authentication.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:133)
      	at net.minecraft.launcher.authentication.yggdrasil.YggdrasilAuthenticationService.logInWithToken(YggdrasilAuthenticationService.java:97)
      	at net.minecraft.launcher.authentication.yggdrasil.YggdrasilAuthenticationService.logIn(YggdrasilAuthenticationService.java:50)
      	at net.minecraft.launcher.ui.sidebar.login.NotLoggedInForm$1.run(NotLoggedInForm.java:159)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      Caused by: java.net.SocketTimeoutException: connect timed out
      	at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
      	at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
      	at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
      	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
      	at java.net.PlainSocketImpl.connect(Unknown Source)
      	at java.net.SocksSocketImpl.connect(Unknown Source)
      	at java.net.Socket.connect(Unknown Source)
      	at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
      	at sun.net.NetworkClient.doConnect(Unknown Source)
      	at sun.net.www.http.HttpClient.openServer(Unknown Source)
      	at sun.net.www.http.HttpClient.openServer(Unknown Source)
      	at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
      	at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
      	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
      	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
      	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
      	at net.minecraft.launcher.Http.performPost(Http.java:61)
      	at net.minecraft.launcher.authentication.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:116)
      	... 9 more
      
      Going to play offline as 'JRSofty'...
      Couldn't get server status
      java.net.ConnectException: Connection timed out: connect
      	at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
      	at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
      	at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
      	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
      	at java.net.PlainSocketImpl.connect(Unknown Source)
      	at java.net.SocksSocketImpl.connect(Unknown Source)
      	at java.net.Socket.connect(Unknown Source)
      	at java.net.Socket.connect(Unknown Source)
      	at sun.net.NetworkClient.doConnect(Unknown Source)
      	at sun.net.www.http.HttpClient.openServer(Unknown Source)
      	at sun.net.www.http.HttpClient.openServer(Unknown Source)
      	at sun.net.www.http.HttpClient.<init>(Unknown Source)
      	at sun.net.www.http.HttpClient.New(Unknown Source)
      	at sun.net.www.http.HttpClient.New(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      	at net.minecraft.launcher.Http.performGet(Http.java:102)
      	at net.minecraft.launcher.ui.sidebar.StatusPanelForm$1.run(StatusPanelForm.java:57)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      
      Couldn't download resources
      java.net.ConnectException: Connection timed out: connect
      	at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
      	at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
      	at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
      	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
      	at java.net.PlainSocketImpl.connect(Unknown Source)
      	at java.net.SocksSocketImpl.connect(Unknown Source)
      	at java.net.Socket.connect(Unknown Source)
      	at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
      	at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
      	at sun.net.NetworkClient.doConnect(Unknown Source)
      	at sun.net.www.http.HttpClient.openServer(Unknown Source)
      	at sun.net.www.http.HttpClient.openServer(Unknown Source)
      	at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
      	at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
      	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
      	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
      	at java.net.URL.openStream(Unknown Source)
      	at net.minecraft.launcher.updater.VersionManager.getResourceFiles(VersionManager.java:254)
      	at net.minecraft.launcher.updater.VersionManager.downloadResources(VersionManager.java:242)
      	at net.minecraft.launcher.Launcher$1.run(Launcher.java:150)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      
      Download job 'Resources' skipped as there are no files to download
      Job 'Resources' finished successfully
      Unexpected exception refreshing version list
      java.net.ConnectException: Connection timed out: connect
      	at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
      	at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
      	at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
      	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
      	at java.net.PlainSocketImpl.connect(Unknown Source)
      	at java.net.SocksSocketImpl.connect(Unknown Source)
      	at java.net.Socket.connect(Unknown Source)
      	at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
      	at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
      	at sun.net.NetworkClient.doConnect(Unknown Source)
      	at sun.net.www.http.HttpClient.openServer(Unknown Source)
      	at sun.net.www.http.HttpClient.openServer(Unknown Source)
      	at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
      	at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
      	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
      	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
      	at net.minecraft.launcher.Http.performGet(Http.java:102)
      	at net.minecraft.launcher.updater.RemoteVersionList.getUrl(RemoteVersionList.java:26)
      	at net.minecraft.launcher.updater.VersionList.refreshVersions(VersionList.java:77)
      	at net.minecraft.launcher.updater.VersionManager.refreshVersions(VersionManager.java:48)
      	at net.minecraft.launcher.Launcher$2.run(Launcher.java:164)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      

      Screenshot attached.

            Unassigned Unassigned
            JRSofty Jason Reed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: