[Jenkins-infra] Downloading plugins often results in HTTP-503 or "read timed out"

Clemens Eisserer linuxhippy at gmail.com
Thu Oct 24 08:44:38 UTC 2019


Hi,

I am trying to run jenkins using the original docker image (tried
latest as well as LTS) - everything seems to work fine except for the
installation of the plugins.
I've tried it a few times using various different internet connections
- and each time I get HTTP 503 for a few plugins:

I've also tried setting the env variable JENKINS_UC_DOWNLOAD to
http://archives.jenkins-ci.org, but nothing changed unfourtunately.
Any ideas what is going wrong here?

Thank you in advance, Clemens

2019-10-24 08:36:07.262+0000 [id=83]    INFO
h.m.UpdateCenter$UpdateCenterConfiguration#download: Downloading
script-security
2019-10-24 08:36:07.263+0000 [id=83]    SEVERE
h.model.UpdateCenter$DownloadJob#run: Failed to install
script-security
java.io.IOException: Server returned HTTP response code: 503 for URL:
http://updates.jenkins-ci.org/download/plugins/script-security/1.66/script-security.hpi
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
        at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3061)
        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:1161)
Caused: java.io.IOException: Server returned HTTP response code: 503
for URL: http://updates.jenkins-ci.org/download/plugins/script-security/1.66/script-security.hpi
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)



2019-10-24 08:36:43.885+0000 [id=83]    INFO
h.model.UpdateCenter$DownloadJob#run: Starting the installation of
junit on behalf of admin
2019-10-24 08:37:43.948+0000 [id=83]    INFO
h.m.UpdateCenter$UpdateCenterConfiguration#download: Downloading junit
2019-10-24 08:37:43.949+0000 [id=83]    SEVERE
h.model.UpdateCenter$DownloadJob#run: Failed to install junit
java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)


More information about the Jenkins-infra mailing list