java.io.IOException: remote file operation failed: /home/admin/zrackove/jenkins/tools/hudson.plugins.cmake.CmakeTool/From_cmake.org at hudson.remoting.Channel@38b11c70:arch-skx01: java.net.ConnectException: Connection timed out

Jenkins JIRA | Zvi Rackover | 2 months ago
  1. 0

    I the host's Global Tool Configuration/CMake/Extract .tar.gz/Download URL for binary archive setting i put: https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz But on the slave i get the following failure when the job runs: {code} Unpacking https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz to /home/admin/zrackove/jenkins/tools/hudson.plugins.cmake.CmakeTool/From_cmake.org on arch-skx01 ERROR: Failed to download https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz from agent; will retry from master java.io.IOException: remote file operation failed: /home/admin/zrackove/jenkins/tools/hudson.plugins.cmake.CmakeTool/From_cmake.org at hudson.remoting.Channel@38b11c70:arch-skx01: java.net.ConnectException: Connection timed out at hudson.FilePath.act(FilePath.java:1014) at hudson.FilePath.act(FilePath.java:996) at hudson.FilePath.installIfNecessaryFrom(FilePath.java:835) at hudson.FilePath.installIfNecessaryFrom(FilePath.java:768) at hudson.tools.ZipExtractionInstaller.performInstallation(ZipExtractionInstaller.java:81) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206) at hudson.plugins.cmake.CmakeTool.forNode(CmakeTool.java:95) at hudson.plugins.cmake.CmakeTool.forNode(CmakeTool.java:34) at hudson.tools.ToolInstallation.translate(ToolInstallation.java:172) at hudson.tools.ToolInstallation.translate(ToolInstallation.java:187) at hudson.plugins.cmake.CmakeBuilder.perform(CmakeBuilder.java:208) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668) at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at java.net.URL.openStream(URL.java:1038) at hudson.FilePath$Unpack.invoke(FilePath.java:871) at hudson.FilePath$Unpack.invoke(FilePath.java:865) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2772) at hudson.remoting.UserRequest.perform(UserRequest.java:153) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:332) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at ......remote call to arch-skx01(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.UserResponse.retrieve(UserRequest.java:253) at hudson.remoting.Channel.call(Channel.java:781) at hudson.FilePath.act(FilePath.java:1007) ... 21 more {code} I suspect that the download is failing due to lack of support for proxy settings.

    Jenkins JIRA | 2 months ago | Zvi Rackover
    java.io.IOException: remote file operation failed: /home/admin/zrackove/jenkins/tools/hudson.plugins.cmake.CmakeTool/From_cmake.org at hudson.remoting.Channel@38b11c70:arch-skx01: java.net.ConnectException: Connection timed out
  2. 0

    Connection timed out when starting

    GitHub | 6 months ago | jmas2007
    java.net.ConnectException: Connection timed out
  3. 0

    launching a build server on local machine under proxy

    Google Groups | 8 months ago | Unknown author
    java.net.ConnectException: Connection timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Facebook Rss feed issue

    Stack Overflow | 2 years ago
    java.net.ConnectException: Connection timed out: connect

  1. bpbhat77 2 times, last 2 months ago
  2. tfr 2 times, last 4 months ago
  3. tvrmsmith 1 times, last 4 months ago
  4. pnaranja 2 times, last 5 months ago
  5. treefolk 1 times, last 1 week ago
44 more registered users
49 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.ConnectException

    Connection timed out

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    6 frames
  3. Java JSSE
    BaseSSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
    2. sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    2 frames
  4. Java RT
    URL.openStream
    1. sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    2. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    3. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    4. sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
    5. sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
    6. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    7. sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
    8. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
    9. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    10. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
    11. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
    12. sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    13. java.net.URL.openStream(URL.java:1038)
    13 frames
  5. Hudson
    FilePath$FileCallableWrapper.call
    1. hudson.FilePath$Unpack.invoke(FilePath.java:871)
    2. hudson.FilePath$Unpack.invoke(FilePath.java:865)
    3. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2772)
    3 frames
  6. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.perform(UserRequest.java:153)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:50)
    3. hudson.remoting.Request$2.run(Request.java:332)
    4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
    4 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames