失败的Git和Github插件及其在Jenkins中的依赖项安装

时间:2018-10-01 06:05:22

标签: jenkins jenkins-plugins

我正在尝试安装GitHub插件,但由于错误而状态为失败,

java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.MeteredStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
    at org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:77)
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1139)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/git/3.9.1/git.hpi to C:\Program Files (x86)\Jenkins\plugins\git.jpi.tmp
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1144)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/git/3.9.1/git.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/git/3.9.1/git.hpi)
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1178)
    at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1715)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1978)
    at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1689)
    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)

我的互联网连接正常,但无法解决此问题。

1 个答案:

答案 0 :(得分:1)

该问题看上去与《詹金斯问题》中提到的this bug类似。状态显示此错误已修复,但尚未发布。

检入页面底部的注释,您会发现它是由firewall引起的。