java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Andrei Pozolotin,
  • 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)
    via by Andrei Pozolotin,
  • ARM DS-5 Web services unavailable
    via Stack Overflow by Evan Hosseini
    ,
  • VCS Connection failed, Unknown host: github.com
    via by Unknown author,
  • error in retrieving mail through a proxy
    via Stack Overflow by NAYAN RAMI
    ,
  • [Twitter4J] New Bee hurdles
    via by nageshbhattu sristi,
  • db:: 3.52::Unknown Configuration Issues ap
    via by Unknown author,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    derprogger
    52 times, last one,
    musketyr
    2 times, last one,
    Unknown User
    1 times, last one,
    odd
    1 times, last one,
    63 more bugmates