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

Jenkins cannot download plugins

XMLWordPrintable

      Dear Jenkins team,

      I´m struggling a problem with jenkins since this morning, as it cannot download plugins anymore.

      From helm chart is failing in initcontainer:

      Tried downloading kubernetes-credentials from https://mirror.xmission.com/jenkins/plugins/kubernetes-credentials/0.8.0/kubernetes-credentials.hpi (attempt 1 of 3)
      Tried downloading kubernetes-client-api from https://mirror.xmission.com/jenkins/plugins/kubernetes-client-api/4.13.2-1/kubernetes-client-api.hpi (attempt 1 of 3)
      Tried downloading pipeline-model-api from https://mirror.xmission.com/jenkins/plugins/pipeline-model-api/1.3.2/pipeline-model-api.hpi (attempt 1 of 3)
      Tried downloading docker-commons from https://mirror.xmission.com/jenkins/plugins/docker-commons/1.14/docker-commons.hpi (attempt 1 of 3)
      Tried downloading scm-api from https://mirror.xmission.com/jenkins/plugins/scm-api/2.6.4/scm-api.hpi (attempt 1 of 3)
      Tried downloading pipeline-stage-tags-metadata from https://mirror.xmission.com/jenkins/plugins/pipeline-stage-tags-metadata/1.3.2/pipeline-stage-tags-metadata.hpi (attempt 1 of 3)
      Tried downloading momentjs from https://mirror.xmission.com/jenkins/plugins/momentjs/1.1/momentjs.hpi (attempt 1 of 3)
      Tried downloading bouncycastle-api from https://mirror.xmission.com/jenkins/plugins/bouncycastle-api/2.18/bouncycastle-api.hpi (attempt 2 of 3)
      Tried downloading pipeline-model-definition from https://mirror.xmission.com/jenkins/plugins/pipeline-model-definition/1.3.2/pipeline-model-definition.hpi (attempt 2 of 3)
      Tried downloading docker-workflow from https://mirror.xmission.com/jenkins/plugins/docker-workflow/1.14/docker-workflow.hpi (attempt 2 of 3)
      Tried downloading workflow-api from https://mirror.xmission.com/jenkins/plugins/workflow-api/2.41/workflow-api.hpi (attempt 2 of 3)
      Tried downloading git-server from https://mirror.xmission.com/jenkins/plugins/git-server/1.7/git-server.hpi (attempt 2 of 3)
      Tried downloading pipeline-stage-step from https://mirror.xmission.com/jenkins/plugins/pipeline-stage-step/2.3/pipeline-stage-step.hpi (attempt 2 of 3)
      

      And from the console it has the error:

       

      Aug 02, 2021 11:08:46 AM SEVERE hudson.model.UpdateCenter$DownloadJob runFailed to install sshd
      java.net.SocketTimeoutException: connect timed out
      	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
      	at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
      	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
      	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
      	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      	at java.base/java.net.Socket.connect(Socket.java:609)
      	at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:289)
      	at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
      	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
      	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
      	at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
      	at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
      	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:203)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
      	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:189)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLConnection.java:2783)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2695)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1854)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3099)
      	at java.base/java.net.URLConnection.getHeaderFieldLong(URLConnection.java:636)
      	at java.base/java.net.URLConnection.getContentLengthLong(URLConnection.java:508)
      	at java.base/java.net.URLConnection.getContentLength(URLConnection.java:492)
      	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:394)
      	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1266)
      Caused: java.net.SocketTimeoutException: connect timed out
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1974)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1969)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1968)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
      	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
      	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1282)
      Caused: java.io.IOException: Failed to load https://updates.jenkins.io/download/plugins/sshd/3.1.0/sshd.hpi to /var/jenkins_home/plugins/sshd.jpi.tmp
      	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1289)
      Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/sshd/3.1.0/sshd.hpi (redirected to: https://mirror.xmission.com/jenkins/plugins/sshd/3.1.0/sshd.hpi)
      	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1323)
      	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1871)
      	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2164)
      	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1845)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:121)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      
      

       

            stopalopa Natasha Stopa
            juancarlosgarciapelaezrch Juan Carlos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: