Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checks-api 1.7.5: download plugin checks-api to file: status code: 403, reason phrase: Forbidden #3095

Closed
brovoca opened this issue Aug 11, 2022 · 4 comments
Assignees
Labels

Comments

@brovoca
Copy link

brovoca commented Aug 11, 2022

Service(s)

Archives, plugins.jenkins.io

Summary

Unable to resolve plugin URL https://archives.jenkins.io/plugins/checks-api/1.7.5/checks-api.hpi, or download plugin checks-api to file: status code: 403, reason phrase: Forbidden

Reproduction steps

# jenkins-plugin-cli --verbose --war "$JENKINS_WAR" --plugin-download-directory "$JENKINS_HOME/plugins" --plugins "checks-api" --latest "false"
...
Unable to resolve plugin URL https://archives.jenkins.io/plugins/checks-api/1.7.5/checks-api.hpi, or download plugin checks-api to file: status code: 403, reason phrase: Forbidden
io.jenkins.tools.pluginmanager.impl.DownloadPluginException: Unable to download checks-api
    at io.jenkins.tools.pluginmanager.impl.PluginManager.lambda$downloadPlugins$4(PluginManager.java:565)
    at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290)
    at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Unable to download checks-api

Sometimes it works though, when it resolves a different host:

Downloaded checks-api from https://ftp-nyc.osuosl.org/pub/jenkins/plugins/checks-api/1.7.5/checks-api.hpi (attempt 1 of 3)
@brovoca brovoca added the triage Incoming issues that need review label Aug 11, 2022
@dduportal dduportal self-assigned this Aug 11, 2022
@dduportal dduportal added this to the infra-team-sync-2022-08-16 milestone Aug 11, 2022
@dduportal dduportal added bug Something isn't working and removed triage Incoming issues that need review labels Aug 11, 2022
@dduportal
Copy link
Contributor

Hi @brovoca , thanks for reporting. We have had an issue on the update center for the past hours, but it should be fixed (matter of time for propagation on all download servers)

On my side, I can now successfully download from the URL you shared (on archives.jenkins.io) which means it was fixed in the time interval between when you opened the issue and my comment now.

Can you confirm it's working now for you please?

@brovoca
Copy link
Author

brovoca commented Aug 11, 2022

Yep, works now :-)

@dduportal
Copy link
Contributor

Thanks for the answer! Gotta close the issue. Feel free to reopen if you see any other issue.

@daniel-beck
Copy link

daniel-beck commented Aug 11, 2022

We have had an issue on the update center for the past hours, but it should be fixed (matter of time for propagation on all download servers)

FTR from yesterday around 11:30 PM CEST to this morning 9 AM, the update center did not update. This didn't cause problems other than make a few plugin updates released during this time not (yet) available.

This morning from around 9 AM to around 9:50 AM, some plugin updates (the ones delayed above) were advertised but could not be downloaded, most prominently by far checks-api.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants