jenkins插件管理遇到两个错误

(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,路径为“http://updates.jenkins.io/update-center.json”,修改完成,submit,然后checknow。问题解决。

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

附录:

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

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐