hudson.remoting.ProxyException: java.net.ConnectException: Connection refused

Jenkins JIRA | lacostej | 6 years ago
  1. 0

    I've had the 2 issues fail the integration tests on my machine: {code} 1) testMulticast(hudson.UDPBroadcastThreadTest)hudson.remoting.ProxyException: java.net.SocketTimeoutException: Receive timed out at java.net.PlainDatagramSocketImpl.receive0(Native Method) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) at java.net.DatagramSocket.receive(DatagramSocket.java:725) at hudson.UDPBroadcastThreadTest.receiveAndVerify(UDPBroadcastThreadTest.java:64) at hudson.UDPBroadcastThreadTest.testMulticast(UDPBroadcastThreadTest.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:323) at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:226) at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:113) at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} Logs show {code} Feb 4, 2011 2:13:43 PM hudson.UDPBroadcastThread run WARNING: UDP handling problem java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:625) at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:88) Feb 4, 2011 2:13:48 PM hudson.util.CharacterEncodingFilter destroy {code} What I've found interesting is that it seems that only jenkins/hudson exhibits this stack trace. So it's worth having a look at. Some issues in different code path but similar stack: JENKINS-7129 JENKINS-6614 The other one I haven't looked into yet. {code} 2) testSelectBoxesUnique3(lib.hudson.ListScmBrowsersTest)hudson.remoting.ProxyException: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:249) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) 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:346) at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:97) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1456) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1387) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:328) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374) at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1539) at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1530) at org.jvnet.hudson.test.HudsonTestCase$WebClient.getPage(HudsonTestCase.java:1491) at lib.hudson.ListScmBrowsersTest.check(ListScmBrowsersTest.java:32) at lib.hudson.ListScmBrowsersTest.testSelectBoxesUnique3(ListScmBrowsersTest.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:323) at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:226) at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:113) at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:56) at sun.reflect.GeneratedMethodAccessor1004.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} In the logs: {code} INFO: JNLP slave agent listener started on TCP port 59922 Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry {code} I will investigate this further later on.

    Jenkins JIRA | 6 years ago | lacostej
    hudson.remoting.ProxyException: java.net.ConnectException: Connection refused
  2. 0

    I've had the 2 issues fail the integration tests on my machine: {code} 1) testMulticast(hudson.UDPBroadcastThreadTest)hudson.remoting.ProxyException: java.net.SocketTimeoutException: Receive timed out at java.net.PlainDatagramSocketImpl.receive0(Native Method) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) at java.net.DatagramSocket.receive(DatagramSocket.java:725) at hudson.UDPBroadcastThreadTest.receiveAndVerify(UDPBroadcastThreadTest.java:64) at hudson.UDPBroadcastThreadTest.testMulticast(UDPBroadcastThreadTest.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:323) at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:226) at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:113) at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} Logs show {code} Feb 4, 2011 2:13:43 PM hudson.UDPBroadcastThread run WARNING: UDP handling problem java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:625) at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:88) Feb 4, 2011 2:13:48 PM hudson.util.CharacterEncodingFilter destroy {code} What I've found interesting is that it seems that only jenkins/hudson exhibits this stack trace. So it's worth having a look at. Some issues in different code path but similar stack: JENKINS-7129 JENKINS-6614 The other one I haven't looked into yet. {code} 2) testSelectBoxesUnique3(lib.hudson.ListScmBrowsersTest)hudson.remoting.ProxyException: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:249) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) 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:346) at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:97) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1456) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1387) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:328) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374) at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1539) at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1530) at org.jvnet.hudson.test.HudsonTestCase$WebClient.getPage(HudsonTestCase.java:1491) at lib.hudson.ListScmBrowsersTest.check(ListScmBrowsersTest.java:32) at lib.hudson.ListScmBrowsersTest.testSelectBoxesUnique3(ListScmBrowsersTest.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:323) at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:226) at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:113) at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:56) at sun.reflect.GeneratedMethodAccessor1004.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} In the logs: {code} INFO: JNLP slave agent listener started on TCP port 59922 Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry {code} I will investigate this further later on.

    Jenkins JIRA | 6 years ago | lacostej
    hudson.remoting.ProxyException: java.net.ConnectException: Connection refused
  3. 0

    [Struts-dev] Build failed in Jenkins: Struts2 #337 - Grokbase

    grokbase.com | 1 year ago
    hudson.util.IOException2: remote file operation failed: < > at hudson.remoting.Channel@2b10e77e:ubuntu1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-34517] Pipeline is unable to locate global libraries when build attempts to continue on restart - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: static TEST.testMethod() is applicable for argument types: (java.lang. String ) values: [47380] Possible solutions: testMethod(java.lang. String ), testMethod()
  6. 0

    I've had the 2 issues fail the integration tests on my machine: {code} 1) testMulticast(hudson.UDPBroadcastThreadTest)hudson.remoting.ProxyException: java.net.SocketTimeoutException: Receive timed out at java.net.PlainDatagramSocketImpl.receive0(Native Method) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) at java.net.DatagramSocket.receive(DatagramSocket.java:725) at hudson.UDPBroadcastThreadTest.receiveAndVerify(UDPBroadcastThreadTest.java:64) at hudson.UDPBroadcastThreadTest.testMulticast(UDPBroadcastThreadTest.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:323) at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:226) at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:113) at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} Logs show {code} Feb 4, 2011 2:13:43 PM hudson.UDPBroadcastThread run WARNING: UDP handling problem java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:625) at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:88) Feb 4, 2011 2:13:48 PM hudson.util.CharacterEncodingFilter destroy {code} What I've found interesting is that it seems that only jenkins/hudson exhibits this stack trace. So it's worth having a look at. Some issues in different code path but similar stack: JENKINS-7129 JENKINS-6614 The other one I haven't looked into yet. {code} 2) testSelectBoxesUnique3(lib.hudson.ListScmBrowsersTest)hudson.remoting.ProxyException: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:249) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) 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:346) at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:97) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1456) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1387) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:328) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374) at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1539) at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1530) at org.jvnet.hudson.test.HudsonTestCase$WebClient.getPage(HudsonTestCase.java:1491) at lib.hudson.ListScmBrowsersTest.check(ListScmBrowsersTest.java:32) at lib.hudson.ListScmBrowsersTest.testSelectBoxesUnique3(ListScmBrowsersTest.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:323) at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:226) at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:113) at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:56) at sun.reflect.GeneratedMethodAccessor1004.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} In the logs: {code} INFO: JNLP slave agent listener started on TCP port 59922 Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused Feb 4, 2011 1:42:33 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry {code} I will investigate this further later on.

    Jenkins JIRA | 6 years ago | lacostej
    hudson.remoting.ProxyException: java.net.SocketTimeoutException: Receive timed out

    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. hudson.remoting.ProxyException

      java.net.ConnectException: Connection refused

      at java.net.PlainSocketImpl.socketConnect()
    2. Java RT
      Socket.<init>
      1. java.net.PlainSocketImpl.socketConnect(Native Method)
      2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
      3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
      4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
      5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      6. java.net.Socket.connect(Socket.java:529)
      7. java.net.Socket.connect(Socket.java:478)
      8. java.net.Socket.<init>(Socket.java:375)
      9. java.net.Socket.<init>(Socket.java:249)
      9 frames
    3. HttpClient
      HttpClient.executeMethod
      1. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
      2. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
      3. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
      4. org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
      5. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
      6. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      8. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
      8 frames
    4. HtmlUnit
      WebClient.getPage
      1. com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:97)
      2. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1456)
      3. com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1387)
      4. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:328)
      5. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
      6. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374)
      6 frames
    5. Hudson :: Test Framework
      HudsonTestCase$WebClient.getPage
      1. org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1539)
      2. org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1530)
      3. org.jvnet.hudson.test.HudsonTestCase$WebClient.getPage(HudsonTestCase.java:1491)
      3 frames
    6. lib.hudson
      ListScmBrowsersTest.testSelectBoxesUnique3
      1. lib.hudson.ListScmBrowsersTest.check(ListScmBrowsersTest.java:32)
      2. lib.hudson.ListScmBrowsersTest.testSelectBoxesUnique3(ListScmBrowsersTest.java:28)
      2 frames
    7. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    8. Hudson :: Test Framework
      HudsonTestCase.runBare
      1. org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:323)
      2. org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:226)
      2 frames
    9. com.sun.maven
      LocalTestCaseRunner.runTestCase
      1. com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:113)
      2. com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:56)
      2 frames
    10. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.GeneratedMethodAccessor1004.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2 frames
    11. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
      2. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
      3. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
      4. hudson.remoting.UserRequest.perform(UserRequest.java:104)
      5. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      6. hudson.remoting.Request$2.run(Request.java:250)
      6 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:662)
      6 frames