java.io.IOException: Failed to install <URL> to <TOOLPATH>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Solutions on the web

via Jenkins JIRA by Jesse Glick, 1 year ago
Failed to install <URL> to <TOOLPATH>
via Jenkins JIRA by Jesse Glick, 1 year ago
Failed to install <URL> to <TOOLPATH>
via Stack Overflow by AcMuD
, 1 year ago
Failed to install https://github.com/zaproxy/zaproxy/wiki/Downloads/ZAP_2.4.3_Core.tar.gz to /var/lib/jenkins/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/ZAProxy_2.4.3
via Google Groups by Prakhash Sivakumar, 1 year ago
Failed to install http://github.com/zaproxy/zaproxy/releases/download/2.5.0/ZAP_2.5.0_Linux.tar.gz to /build/jenkins-home/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/ZAP_2.5.0
via GitHub by Mouheb22
, 1 year ago
Failed to install https://github.com/zaproxy/zaproxy/releases/download/2.4.3/ZAP_2.4.3_Windows.exe to C:\Program Files (x86)\Jenkins\tools\com.cloudbees.jenkins.plugins.customtools.CustomTool\ZAP_2.4.3_Standard
via Stack Overflow by Sadhan
, 8 months ago
Failed to install https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/2.6.1/sonar-scanner-cli-2.6.1.zip to /var/lib/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner_261
java.io.IOException: Failed to install <URL> to <TOOLPATH>
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1626)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2678)
at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:639)
at java.net.URLConnection.getContentLengthLong(URLConnection.java:511)
at java.net.URLConnection.getContentLength(URLConnection.java:495)
at org.jvnet.robust_http_client.RetryableHttpStream.(RetryableHttpStream.java:90)
at hudson.ProxyConfiguration.getInputStream(ProxyConfiguration.java:248)
at hudson.FilePath.installIfNecessaryFrom(FilePath.java:808)
at hudson.tools.ZipExtractionInstaller.performInstallation(ZipExtractionInstaller.java:79)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205)
at hudson.model.JDK.forNode(JDK.java:130)
at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:350)
at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1444)
at hudson.model.AbstractProject._poll(AbstractProject.java:1421)
at hudson.model.AbstractProject.poll(AbstractProject.java:1332)
at jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:119)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:515)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:544)
at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.