【问题标题】:Jenkins Plugin with proxy带有代理的 Jenkins 插件
【发布时间】:2014-05-07 20:53:34
【问题描述】:

我有一个具有以下配置的 Jenkins CI:

  • Open SU​​SE 上的 Tomcat [openSUSE 13.1 (x86_64)] [Jenkins v1.532.3]
  • Java 版本“1.7.0_51”[OpenJDK 运行时环境 (IcedTea 2.4.4) (suse-24.13.5-x86_64)]。

我确信我的代理配置正确。但是当我尝试在 Jenkins 上下载插件或更新插件时。我收到此错误

    Git Client Plugin   
     Failure -
    hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/git-client/1.8.1/git-client.hpi
        at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:794)
        .
        .
Caused by: java.net.ProtocolException: Server redirected too many  times (20)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        .
        .
        .
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:764)
    ... 7 more
Caused by: java.net.ProtocolException: Server redirected too many  times (20)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1636)

但我可以对实际的 URL/URI 执行 Curl 或 wget 以下载插件

感谢您的帮助和反馈

【问题讨论】:

标签: proxy jenkins-plugins


【解决方案1】:

我认为这仍然无关紧要,但可能对其他人有所帮助..

我在更改密码后遇到了类似的问题。我检查了不同的代理,每次都有同样的问题。现在我再次更改密码以获得更多标准符号,问题立即消失。

看来,有时密码中的某些特殊字符可能会出现问题。

希望对某人有所帮助。

最好的问候, 维亚切斯拉夫

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-02-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-10
    • 2020-02-27
    • 1970-01-01
    相关资源
    最近更新 更多