java.io.IOException: Failed to connect to https://moe.barchart.com:443/hudson/tcpSlaveAgentListener/: moe.barchart.com

Jenkins JIRA | Andrei Pozolotin | 6 years ago
  1. 0

    TITLE: hudson slave-agent (slave.jar) shold not exit when network is missing: PROBLEM: currently, when slave-agent runs on start insde a vmware guest, there are times when java (slave-agent) is started/running, while vmware network is still not ready; this causes slave-agent to exit on IOException - see sample hudson.log below; SOLUTION: slave-agent code should continue to try to connect after a delay; WORKAROUND: 1) introduce startup delay 2) intruduce slave-agent dependency on other networked service ############################################ hudson.log: Jan 9, 2011 1:19:42 PM hudson.remoting.jnlp.Main$CuiListener <init> INFO: Hudson agent is running in headless mode. Jan 9, 2011 1:19:42 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [https://moe.barchart.com:443/hudson/] Jan 9, 2011 1:19:43 PM hudson.remoting.jnlp.Main$CuiListener error SEVERE: Failed to connect to https://moe.barchart.com:443/hudson/tcpSlaveAgentListener/: moe.barchart.com java.io.IOException: Failed to connect to https://moe.barchart.com:443/hudson/tcpSlaveAgentListener/: moe.barchart.com at hudson.remoting.Engine.run(Engine.java:154) Caused by: java.net.UnknownHostException: moe.barchart.com at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at com.sun.net.ssl.internal.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.https.HttpsURLConnectionImpl.connect(Unknown Source) at hudson.remoting.Engine.run(Engine.java:151)

    Jenkins JIRA | 6 years ago | Andrei Pozolotin
    java.io.IOException: Failed to connect to https://moe.barchart.com:443/hudson/tcpSlaveAgentListener/: moe.barchart.com
  2. 0

    TITLE: hudson slave-agent (slave.jar) shold not exit when network is missing: PROBLEM: currently, when slave-agent runs on start insde a vmware guest, there are times when java (slave-agent) is started/running, while vmware network is still not ready; this causes slave-agent to exit on IOException - see sample hudson.log below; SOLUTION: slave-agent code should continue to try to connect after a delay; WORKAROUND: 1) introduce startup delay 2) intruduce slave-agent dependency on other networked service ############################################ hudson.log: Jan 9, 2011 1:19:42 PM hudson.remoting.jnlp.Main$CuiListener <init> INFO: Hudson agent is running in headless mode. Jan 9, 2011 1:19:42 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [https://moe.barchart.com:443/hudson/] Jan 9, 2011 1:19:43 PM hudson.remoting.jnlp.Main$CuiListener error SEVERE: Failed to connect to https://moe.barchart.com:443/hudson/tcpSlaveAgentListener/: moe.barchart.com java.io.IOException: Failed to connect to https://moe.barchart.com:443/hudson/tcpSlaveAgentListener/: moe.barchart.com at hudson.remoting.Engine.run(Engine.java:154) Caused by: java.net.UnknownHostException: moe.barchart.com at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at com.sun.net.ssl.internal.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.https.HttpsURLConnectionImpl.connect(Unknown Source) at hudson.remoting.Engine.run(Engine.java:151)

    Jenkins JIRA | 6 years ago | Andrei Pozolotin
    java.io.IOException: Failed to connect to https://moe.barchart.com:443/hudson/tcpSlaveAgentListener/: moe.barchart.com
  3. 0

    ARM DS-5 Web services unavailable

    Stack Overflow | 3 years ago | Evan Hosseini
    com.arm.webapis.client.RemoteAPIException: Unable to execute API call /api/v1/connect-test?product=ds5&version=5.15.0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error in retrieving mail through a proxy

    Stack Overflow | 6 years ago | NAYAN RAMI
    java.net.UnknownHostException: imap.gmail.com
  6. 0

    [Twitter4J] New Bee hurdles

    Google Groups | 7 years ago | nageshbhattu sristi
    java.net.UnknownHostException: api.twitter.com TwitterException{statusCode=-1, retryAfter=0, rateLimitStatus=null}

  1. mauritius 2 times, last 5 days ago
  2. eti22 2 times, last 2 months ago
  3. eti22 8 times, last 2 months ago
  4. serious2monkeys 2 times, last 2 months ago
  5. Andreas Häber 16 times, last 2 months ago
7 more registered users
41 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.UnknownHostException

    moe.barchart.com

    at java.net.PlainSocketImpl.connect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.connect(Unknown Source)
    2. java.net.SocksSocketImpl.connect(Unknown Source)
    3. java.net.Socket.connect(Unknown Source)
    3 frames
  3. Java JSSE
    SSLSocketImpl.connect
    1. com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    1 frame
  4. Java RT
    HttpsURLConnectionImpl.connect
    1. sun.net.NetworkClient.doConnect(Unknown Source)
    2. sun.net.www.http.HttpClient.openServer(Unknown Source)
    3. sun.net.www.http.HttpClient.openServer(Unknown Source)
    4. sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    5. sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    6. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    7. sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    8. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    9. sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
    9 frames
  5. Hudson :: Remoting Layer
    Engine.run
    1. hudson.remoting.Engine.run(Engine.java:151)
    1 frame