hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/war/1.570/jenkins.war (redirected to: http://jenkins.mirror.isppower.de/war/1.570/jenkins.war)

Jenkins JIRA | Daniel Beck | 3 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

    Lifecycle#canRewriteHudsonWar assumes in-place replacement of the war, while UpdateCenter#download actually writes to a temporary file first to prevent breaking the file if an error occurs. This can lead to the following exception: {code}hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/war/1.570/jenkins.war (redirected to: http://jenkins.mirror.isppower.de/war/1.570/jenkins.war) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:791) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1138) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104) at java.lang.Thread.run(Thread.java:744) Caused by: java.io.FileNotFoundException: /usr/lib/jenkins/jenkins.war.tmp (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:221) at java.io.FileOutputStream.<init>(FileOutputStream.java:171) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:762) ... 6 more{code}

    Jenkins JIRA | 3 years ago | Daniel Beck
    hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/war/1.570/jenkins.war (redirected to: http://jenkins.mirror.isppower.de/war/1.570/jenkins.war)
  2. 0

    Lifecycle#canRewriteHudsonWar assumes in-place replacement of the war, while UpdateCenter#download actually writes to a temporary file first to prevent breaking the file if an error occurs. This can lead to the following exception: {code}hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/war/1.570/jenkins.war (redirected to: http://jenkins.mirror.isppower.de/war/1.570/jenkins.war) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:791) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1138) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104) at java.lang.Thread.run(Thread.java:744) Caused by: java.io.FileNotFoundException: /usr/lib/jenkins/jenkins.war.tmp (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:221) at java.io.FileOutputStream.<init>(FileOutputStream.java:171) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:762) ... 6 more{code}

    Jenkins JIRA | 3 years ago | Daniel Beck
    hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/war/1.570/jenkins.war (redirected to: http://jenkins.mirror.isppower.de/war/1.570/jenkins.war)
  3. 0

    When attempting to install plugins using the Update Center, plugins can not be written to /var/lib/jenkins/plugins due to invalid permissions. {quote}hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/ssh/2.4/ssh.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/ssh/2.4/ssh.hpi) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:797) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1148) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1309) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:744) Caused by: java.io.FileNotFoundException: /var/lib/jenkins/plugins/ssh.jpi.tmp (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:206) at java.io.FileOutputStream.<init>(FileOutputStream.java:156) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:763) ... 7 more{quote} {quote}***@*** /var/lib/jenkins $ ls -al total 80 drwxr-xr-x 11 jenkins jenkins 4096 May 21 19:27 . drwxr-xr-x 48 root root 4096 May 2 18:23 .. -rw-r--r-- 1 systemd-timesync sambashare 0 Apr 10 19:04 atomic3320745316088279947.tmp -rw-r--r-- 1 jenkins jenkins 1715 May 21 19:15 config.xml -rw-r--r-- 1 jenkins jenkins 0 May 21 19:10 Download metadata.log -rw-r--r-- 1 systemd-timesync sambashare 0 Apr 11 04:16 Fingerprint cleanup.log -rw-r--r-- 1 jenkins jenkins 160 May 21 19:27 hudson.model.UpdateCenter.xml -rw------- 1 systemd-timesync sambashare 1675 Apr 10 19:09 identity.key drwxr-xr-x 3 jenkins jenkins 4096 May 21 19:09 .java -rw-r--r-- 1 jenkins jenkins 138 May 21 19:14 jenkins.model.DownloadSettings.xml -rw-r--r-- 1 jenkins jenkins 169 May 21 19:14 jenkins.security.QueueItemAuthenticatorConfiguration.xml drwxr-xr-x 2 jenkins jenkins 4096 May 21 19:13 jenkins.security.RekeySecretAdminMonitor drwxr-xr-x 2 systemd-timesync sambashare 4096 Apr 10 18:56 jobs -rw-r--r-- 1 jenkins jenkins 907 May 21 19:10 nodeMonitors.xml drwxr-xr-x 2 jenkins jenkins 4096 May 21 19:09 nodes -rw-r--r-- 1 systemd-timesync sambashare 51 Apr 11 15:56 .owner drwxr-xr-x 2 systemd-timesync sambashare 4096 Apr 10 18:56 plugins -rw-r--r-- 1 systemd-timesync sambashare 46 Apr 11 16:18 queue.xml.bak -rw-r--r-- 1 systemd-timesync sambashare 64 Apr 10 18:56 secret.key drwxr-xr-x 4 jenkins jenkins 4096 May 21 19:15 secrets drwxr-xr-x 2 jenkins jenkins 4096 May 21 19:28 updates drwxr-xr-x 2 systemd-timesync sambashare 4096 Apr 10 19:09 userContent drwxr-xr-x 3 jenkins jenkins 4096 May 21 19:15 users{quote} Can be fixed by issuing: {quote}sudo chown jenkins plugins sudo chown jenkins userContent sudo chgrp jenkins userContent sudo chgrp jenkins plugins{quote}

    Jenkins JIRA | 2 years ago | Alex Shafer
    hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/ssh/2.4/ssh.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/ssh/2.4/ssh.hpi)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SecretRooms-ownership.dat error

    GitHub | 2 years ago | Cenbes
    java.io.FileNotFoundException: ./world/MoCWyvernLair/SecretRooms-ownership.dat (No such file or directory)
  6. 0

    Edit New issue Jenkins matrix-job collector fails

    GitHub | 3 years ago | eroshenkoam
    java.io.IOException: Failed to extract /jenkins/compound-root/workspace/awaps-functional-test-matrix/LABEL/awaps-basic-openstack/TESTPACK/P1/reports/**/*

  1. rsprangemeijer 1 times, last 1 week ago
  2. Casper 1 times, last 3 weeks ago
  3. QrCeric 216 times, last 2 weeks ago
  4. Axelo 1 times, last 1 month ago
  5. tyson925 2 times, last 1 month ago
34 more registered users
61 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.io.FileNotFoundException

    /usr/lib/jenkins/jenkins.war.tmp (Permission denied)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:171)
    3 frames
  3. Hudson
    UpdateCenter$UpdateCenterConfiguration.download
    1. hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:762)
    1 frame