java.net.NoRouteToHostException: No route to host

Jenkins JIRA | Chris Tobey | 3 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Hipchat notifications do not function at all when the system is behind a proxy. When a system proxy is configured I can manually post notifications to the rooms but this plugin does not seem to take the system proxy (or the one configured in the plugins) into consideration. Nov 04, 2013 5:40:58 PM WARNING jenkins.plugins.hipchat.StandardHipChatService publish Error posting to HipChat java.net.NoRouteToHostException: No route to host at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618) at sun.security.ssl.SSLSocketImpl.(SSLSocketImpl.java:451) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at jenkins.plugins.hipchat.StandardHipChatService.publish(StandardHipChatService.java:43) at jenkins.plugins.hipchat.ActiveNotifier.completed(ActiveNotifier.java:63) at jenkins.plugins.hipchat.HipChatListener.onCompleted(HipChatListener.java:26) at jenkins.plugins.hipchat.HipChatListener.onCompleted(HipChatListener.java:14) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199) at hudson.model.Run.execute(Run.java:1729) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230)

    Jenkins JIRA | 3 years ago | Chris Tobey
    java.net.NoRouteToHostException: No route to host
  2. 0

    Hipchat notifications do not function at all when the system is behind a proxy. When a system proxy is configured I can manually post notifications to the rooms but this plugin does not seem to take the system proxy (or the one configured in the plugins) into consideration. Nov 04, 2013 5:40:58 PM WARNING jenkins.plugins.hipchat.StandardHipChatService publish Error posting to HipChat java.net.NoRouteToHostException: No route to host at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618) at sun.security.ssl.SSLSocketImpl.(SSLSocketImpl.java:451) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at jenkins.plugins.hipchat.StandardHipChatService.publish(StandardHipChatService.java:43) at jenkins.plugins.hipchat.ActiveNotifier.completed(ActiveNotifier.java:63) at jenkins.plugins.hipchat.HipChatListener.onCompleted(HipChatListener.java:26) at jenkins.plugins.hipchat.HipChatListener.onCompleted(HipChatListener.java:14) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199) at hudson.model.Run.execute(Run.java:1729) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230)

    Jenkins JIRA | 3 years ago | Chris Tobey
    java.net.NoRouteToHostException: No route to host
  3. 0

    vSphere HTML5 Web Client - Bugs

    vmware.com | 2 months ago
    java.rmi.ConnectIOException: Exception creating connection to: 10.50.88.20; nested exception is: java.net.NoRouteToHostException: No route to host
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down.
  6. 0

    Error on mvn install command in creating new archetype - asktheguru.info

    asktheguru.info | 2 years ago
    org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to local (http://manage.nsdp.ir/nexus/content/groups/public): No route to host

  1. balintn 10 times, last 7 months ago
  2. rp 2 times, last 1 year ago
8 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.NoRouteToHostException

    No route to host

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:579)
    6 frames
  3. Java JSSE
    SSLSocketFactoryImpl.createSocket
    1. sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
    2. sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:451)
    3. sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)
    3 frames
  4. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
    2. org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127)
    3. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    4. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    7 frames
  5. jenkins.plugins.hipchat
    HipChatListener.onCompleted
    1. jenkins.plugins.hipchat.StandardHipChatService.publish(StandardHipChatService.java:43)
    2. jenkins.plugins.hipchat.ActiveNotifier.completed(ActiveNotifier.java:63)
    3. jenkins.plugins.hipchat.HipChatListener.onCompleted(HipChatListener.java:26)
    4. jenkins.plugins.hipchat.HipChatListener.onCompleted(HipChatListener.java:14)
    4 frames
  6. Hudson
    Executor.run
    1. hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199)
    2. hudson.model.Run.execute(Run.java:1729)
    3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    4. hudson.model.ResourceController.execute(ResourceController.java:88)
    5. hudson.model.Executor.run(Executor.java:230)
    5 frames