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

Unable to install the updated plugin of OWASP Dependency Check

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      With ref. to Issue # 57203, it is advised to update the dependency-check plugin to version  4.0.2 but I am getting the following error while updating it. 

       

      Preparation
      • Checking internet connectivity
      • Checking update center connectivity
      • Success
      OWASP Dependency-Check  Failure -java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:141) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:706) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3000) at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629) at java.net.URLConnection.getContentLengthLong(URLConnection.java:501) at java.net.URLConnection.getContentLength(URLConnection.java:485) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1126) Caused: java.net.SocketException: Connection reset at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1139) Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/dependency-check-jenkins-plugin/4.0.2/dependency-check-jenkins-plugin.hpi to /var/lib/jenkins/plugins/dependency-check-jenkins-plugin.jpi.tmp at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1146) Caused: hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/dependency-check-jenkins-plugin/4.0.2/dependency-check-jenkins-plugin.hpi at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1172) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1677) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1874) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651) 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:112) at java.lang.Thread.run(Thread.java:748)

        Attachments

          Activity

          Hide
          anujgupta Anuj Gupta added a comment -

          I also tried uploading the plugin manually from 'Advanced' menu of Plugin-Manager but it is also failing. Please help me out.

          Thanks

          Anuj 

          Show
          anujgupta Anuj Gupta added a comment - I also tried uploading the plugin manually from 'Advanced' menu of Plugin-Manager but it is also failing. Please help me out. Thanks Anuj 
          Hide
          sspringett Steve Springett added a comment -

          The stack trace doesn't have any packages/classes with org.owasp. This is a Jenkins issue and should be raised on the Jenkins mailing list.

          Show
          sspringett Steve Springett added a comment - The stack trace doesn't have any packages/classes with org.owasp. This is a Jenkins issue and should be raised on the Jenkins mailing list.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            anujgupta Anuj Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: