Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56293

Unable to update or install plugins

    Details

    • Similar Issues:

      Description

      We cannot upload ANY plugin to Jenkins. I tried NodesJS, GitHub, JIRA.

      My netops open the firewall to test but I got the same errors, so it is not a firewall.  Please advice! 

      Here is the errors:

         Failure -java.io.FileNotFoundException: http://updates.jenkins-ci.org/download/plugins/nodejs/1.2.7/nodejs.hpi at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) at java.net.URLConnection.getHeaderFieldLong(Unknown Source) at java.net.URLConnection.getContentLengthLong(Unknown Source) at java.net.URLConnection.getContentLength(Unknown Source) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1125) Caused: java.io.FileNotFoundException: http://updates.jenkins-ci.org/download/plugins/nodejs/1.2.7/nodejs.hpi at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1141) Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/nodejs/1.2.7/nodejs.hpi to C:\Program Files (x86)\Jenkins\plugins\nodejs.jpi.tmp at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1148) Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/nodejs/1.2.7/nodejs.hpi at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1182) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1719) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1982) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1693) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112) at java.lang.Thread.run(Unknown Source)

       

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          If this were a Jenkins or Jenkins project infra issue, it would be widespread.

          Probably an issue with your network. Check whether you can access plain HTTP URLs at all.

          Show
          danielbeck Daniel Beck added a comment - If this were a Jenkins or Jenkins project infra issue, it would be widespread. Probably an issue with your network. Check whether you can access plain HTTP URLs at all.
          Hide
          lubap Luba Pyat added a comment -

          Daniel Beck Hi, can yo elaborate more? What do you mean if I can access plain HTTP URLs at all? I had the same error when my netops opened the Firewall. and they added : http://updates.jenkins-ci.org/download/plugins to the 'safe site' list.  Also, the JENKINS-51849 and a few other tickets also had the same issues, so it is not the first one. with this problem.  We were able to install plugins before we updated Jenkins. Now we are on Jenkins ver. 2.150.3 Do you have any suggestions how to fix it? Any settings I should look into? Any help is appreciated! Thanks!

          Show
          lubap Luba Pyat added a comment - Daniel Beck Hi, can yo elaborate more? What do you mean if I can access plain HTTP URLs at all? I had the same error when my netops opened the Firewall. and they added :  http://updates.jenkins-ci.org/download/plugins  to the 'safe site' list.  Also, the  JENKINS-51849 and a few other tickets also had the same issues, so it is not the first one. with this problem.  We were able to install plugins before we updated Jenkins. Now we are on Jenkins ver. 2.150.3  Do you have any suggestions how to fix it? Any settings I should look into? Any help is appreciated! Thanks!
          Hide
          danielbeck Daniel Beck added a comment -

          Referencing JENKINS-51849 doesn't help, as the user indicated it's a firewall issue.

          Since you bring up "safe sites" in your network, please note we use a mirror network to deliver the actual files, and all you did is allowed access to redirect URLs. curl -IL https://updates.jenkins-ci.org/download/plugins/git/3.9.3/git.hpi will tell you more.

          Please leave this issue closed. There is no indication that there's actually a bug in Jenkins. You're looking for help, and this is an issue tracker, not a help desk/support site.

          Show
          danielbeck Daniel Beck added a comment - Referencing JENKINS-51849 doesn't help, as the user indicated it's a firewall issue. Since you bring up "safe sites" in your network, please note we use a mirror network to deliver the actual files, and all you did is allowed access to redirect URLs.  curl -IL https://updates.jenkins-ci.org/download/plugins/git/3.9.3/git.hpi will tell you more. Please leave this issue closed. There is no indication that there's actually a bug in Jenkins. You're looking for help, and this is an issue tracker, not a help desk/support site.

            People

            • Assignee:
              Unassigned
              Reporter:
              lubap Luba Pyat
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: