Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11183

Web console: Unexpected java.net.SocketTimeoutException: connect timed out

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 2.8
    • Component/s: wizards
    • Labels:
      None

      Description

      While running the agent 1.9 jar, connection timed out error occurs.

      Caused by: java.net.SocketTimeoutException: connect timed out
      at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
      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.getInputStream(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown Source)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFields(Unknown Source)
      at io.socket.engineio.client.transports.PollingXHR$Request$1.run(PollingXHR.java:211)
      ... 1 more
      [11:33:04,423][ERROR][EventThread][AgentLauncher] Connection closed: transport error.
      [11:33:05,523][INFO ][EventThread][AgentLauncher] Connecting to: https://web-console
      [11:33:23,177][INFO ][EventThread][AgentLauncher] Connection established.
      [11:33:27,251][INFO ][EventThread][AgentLauncher] Authentication success.
      [11:34:29,170][ERROR][EventThread][AgentLauncher] Failed to establish connection to server, due to proxy requires authentication.

      In the same time, https://web-console can be reached via curl providing the proxy configuration

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anovikov Andrey Novikov
                Reporter:
                anovikov Andrey Novikov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m