Skip to content

Sudden increase in TOOMANYREQUESTS errors when downloading artifacts from GHCR #139074

Answered by schnatterer
knqyf263 asked this question in Packages
Discussion options

You must be logged in to vote

Easiest workaround at the moment, use the official mirror at AWS, e.g.

 trivy image \
  --db-repository public.ecr.aws/aquasecurity/trivy-db \
  --java-db-repository public.ecr.aws/aquasecurity/trivy-java-db \
  --scanners vuln \
  ghcr.io/cloudogu/gitops-playground:0.7.0

The upcoming release trivy 0.56 might fix this issue.

Found here: aquasecurity/trivy-action#389

BTW before I found that out, I create a GitHub Action that mirrors the trivy database automatically:
https://github.com/cloudogu/trivy-db-mirror/blob/12a100bc764e4efdf3f480866a9a2db0c89cdd57/.github/workflows/mirror-dbs.yml

It worked, but with an official mirror, there is no need for me to maintain this repo. It might be usefu…

Replies: 8 comments 15 replies

Comment options

You must be logged in to vote
5 replies
@sakky016
Comment options

@knqyf263
Comment options

@sakky016

This comment was marked as off-topic.

@knqyf263
Comment options

@sakky016

This comment was marked as off-topic.

Comment options

You must be logged in to vote
1 reply
@mmusenbr
Comment options

Comment options

You must be logged in to vote
4 replies
@hcguersoy-cg
Comment options

@kaiorafael
Comment options

@SahrulRD-Smatel
Comment options

@graham924
Comment options

Answer selected by queenofcorgis
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@codecook-start

This comment was marked as off-topic.

Comment options

You must be logged in to vote
3 replies
@jitendra42
Comment options

@jitendra42
Comment options

@knqyf263
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hairmare
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packages Host your dependencies, libraries, and production-ready code, right from your repository Product Feedback Share your thoughts and suggestions on GitHub features and improvements Question Ask and answer questions about GitHub features and usage