首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >[808]There were errors checking the update sites: SSLHandshakeException: sun.secu解决方案

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

作者头像
周小董
修改2025-07-10 14:42:21
修改2025-07-10 14:42:21
3.3K0
举报
文章被收录于专栏:python前行者python前行者

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

(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

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

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

或者:

清华大学开源软件镜像站也提供了Jenkins的update-center

解决方案二:

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

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

附录:

(未实践的方式:)或可修改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

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2020/05/18 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档