java.net.UnknownHostException: hudson.dev.java.net

Jenkins JIRA | ibrown | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I'm behind a proxy that requires authentication. Hudson works fine with this but I cannot build it due to a unit test failure. It would seem that UpdateCenterTest cannot cope with a proxy. The test should either be configurable for the proxy, or it should be able to selectively disable this test in the build. The surefire failure is as follows: ------------------------------------------------------------------------------- Test set: hudson.model.UpdateCenterTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.125 sec <<< FAILURE! testData(hudson.model.UpdateCenterTest) Time elapsed: 0.109 sec <<< ERROR! java.net.UnknownHostException: hudson.dev.java.net at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:271) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:328) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient (AbstractDelegateHttpsURLConnection.java:172) at sun.net.www.protocol.http.HttpURLConnection.plainConnect (HttpURLConnection.java:729) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect (AbstractDelegateHttpsURLConnection.java:158) at sun.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection.java:977) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream (HttpsURLConnectionImpl.java:234) at java.net.URL.openStream(URL.java:1009) at hudson.model.UpdateCenterTest.testData(UpdateCenterTest.java:18)

    Jenkins JIRA | 9 years ago | ibrown
    java.net.UnknownHostException: hudson.dev.java.net
  2. 0

    I'm behind a proxy that requires authentication. Hudson works fine with this but I cannot build it due to a unit test failure. It would seem that UpdateCenterTest cannot cope with a proxy. The test should either be configurable for the proxy, or it should be able to selectively disable this test in the build. The surefire failure is as follows: ------------------------------------------------------------------------------- Test set: hudson.model.UpdateCenterTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.125 sec <<< FAILURE! testData(hudson.model.UpdateCenterTest) Time elapsed: 0.109 sec <<< ERROR! java.net.UnknownHostException: hudson.dev.java.net at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:271) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:328) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient (AbstractDelegateHttpsURLConnection.java:172) at sun.net.www.protocol.http.HttpURLConnection.plainConnect (HttpURLConnection.java:729) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect (AbstractDelegateHttpsURLConnection.java:158) at sun.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection.java:977) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream (HttpsURLConnectionImpl.java:234) at java.net.URL.openStream(URL.java:1009) at hudson.model.UpdateCenterTest.testData(UpdateCenterTest.java:18)

    Jenkins JIRA | 9 years ago | ibrown
    java.net.UnknownHostException: hudson.dev.java.net
  3. 0

    SSL calls thru a proxy with authentication? | JBoss Developer

    jboss.org | 1 year ago
    java.net.UnknownHostException: test.remotehost.com
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SSL calls thru a proxy with authentication? | JBoss Developer

    jboss.org | 9 months ago
    java.net.UnknownHostException: test.remotehost.com
  6. 0

    Social login not working in JSK

    Oracle Community | 3 years ago | Mahalwar
    java.net.UnknownHostException: emea-proxy.uk.oracle.com

    Root Cause Analysis

    1. java.net.UnknownHostException

      hudson.dev.java.net

      at java.net.PlainSocketImpl.connect()
    2. Java RT
      HttpsClient.New
      1. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
      2. java.net.Socket.connect(Socket.java:519)
      3. java.net.Socket.connect(Socket.java:469)
      4. sun.net.NetworkClient.doConnect(NetworkClient.java:157)
      5. sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
      6. sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
      7. sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:271)
      8. sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:328)
      8 frames