Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

mirror update-center.json can't identify LTS update #2

Closed
menggya opened this issue Nov 13, 2019 · 8 comments
Closed

mirror update-center.json can't identify LTS update #2

menggya opened this issue Nov 13, 2019 · 8 comments
Labels
bug Something isn't working

Comments

@menggya
Copy link

menggya commented Nov 13, 2019

base version LTS 2.190.1, notify to update LTS 2.190.2 with http://updates.jenkins-ci.org/update-center.json
but if i change to https://jenkins-zh.gitee.io/update-center-mirror/tsinghua/update-center.json, then notify to update 2.204,

@LinuxSuRen
Copy link
Member

Thanks for your bug report.

@LinuxSuRen LinuxSuRen transferred this issue from jenkins-zh/mirror-adapter Nov 16, 2019
@LinuxSuRen LinuxSuRen added the bug Something isn't working label Nov 16, 2019
@LinuxSuRen
Copy link
Member

I fixed this issue. You can use a new address which is https://updates.jenkins-zh.cn/update-center.json.
If you want to know more tech details, please feel free to visit here.

@menggya
Copy link
Author

menggya commented Nov 18, 2019

Another error info, i do check update after i update the https://updates.jenkins-zh.cn/update-center.json.
update center: Signature verification failed in update site 'default' (显示详情)

java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:153)
at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79)
at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292)
at org.jvnet.hudson.crypto.CertificateUtil.validatePath(CertificateUtil.java:93)
at jenkins.util.JSONSignatureValidator.verifySignature(JSONSignatureValidator.java:88)
at hudson.model.UpdateSite.verifySignature(UpdateSite.java:254)
at hudson.model.UpdateSite.updateData(UpdateSite.java:218)
at

@LinuxSuRen
Copy link
Member

What's the version of your Jenkins?

@menggya
Copy link
Author

menggya commented Nov 18, 2019

Jenkins ver. 2.190.1

@LinuxSuRen
Copy link
Member

I just tested it in a new environment with 2.190.1. It's ok. Please make sure that you follow the right flow:

  • use the new certificate
  • change to the new update center site.

@lixingmao
Copy link

I also encountered the same problem mentioned above. What does "use the new certificate" mean? what should I do?

@LinuxSuRen
Copy link
Member

You should put this file into your Jenkins. I believe that you can get more details from here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants