[808]There were errors checking the update sites: SSLHandshakeException: sun.secu解决方案

(1)插件管理页面提示:There were errors checking the update sites:IOException:Unable to tunnel through proxy.Proxy returins “HTTP/1.1 400”

image

(2)插件管理页面提示:There were errors checking the update sites: SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

image

查到的解决方法是同一个:

解决方案一:
进入插件管理->Advanced,修改Update Site的URL,
默认是通过https://updates.jenkins.io/update-center.json进行更新的。此处,将https改为http,修改完成,submit,然后重启Jenkins,问题解决。

或者:

清华大学开源软件镜像站也提供了Jenkins的update-center,URL为:https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json

解决方案二:

打开updates/defult.json文件,将http://updates.jenkins-ci.org/download/全局替换成https://mirrors.tuna.tsinghua.edu.cn/jenkins/。

注:第一个问题使用该方法一直未解决,重新下载jenkins,放置在tomcat下,启动tomcat,遇到第二个问题,使用该方法,立即解决了。

image

image

附录:

(未实践的方式:)或可修改C:\Users\Administrator.jenkins\hudson.model.UpdateCenter.xml,将https修改为http,重启jenkins

参考:https://blog.csdn.net/LANGZI7758521/article/details/100099384
https://blog.51cto.com/13568014/2350363?source=dra

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

周小董

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值