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

trivy-db:2 too many requests #10

Open
jon-nfc opened this issue Oct 29, 2024 · 1 comment
Open

trivy-db:2 too many requests #10

jon-nfc opened this issue Oct 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jon-nfc
Copy link
Member

jon-nfc commented Oct 29, 2024

getting error


Running Trivy with options: trivy fs requirements.txt
2024-10-29T12:15:43Z	INFO	[vulndb] Need to update DB
2024-10-29T12:15:43Z	INFO	[vulndb] Downloading vulnerability DB...
2024-10-29T12:15:43Z	INFO	[vulndb] Downloading artifact...	repo="ghcr.io/aquasecurity/trivy-db:2"
2024-10-29T12:15:44Z	ERROR	[vulndb] Failed to download artifact	repo="ghcr.io/aquasecurity/trivy-db:2" err="OCI repository error: 1 error occurred:\n\t* GET https://ghcr.io/v2/aquasecurity/trivy-db/manifests/2: TOOMANYREQUESTS: retry-after: 1.2[240](https://github.com/nofusscomputing/centurion_erp/actions/runs/11571082913/job/32216125023#step:5:250)7ms, allowed: 44000/minute\n\n"
2024-10-29T12:15:44Z	FATAL	Fatal error	init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source
Error: Process completed with exit code 1.

Links

@jon-nfc jon-nfc added the bug Something isn't working label Oct 29, 2024
@jon-nfc jon-nfc self-assigned this Oct 29, 2024
@jon-nfc
Copy link
Member Author

jon-nfc commented Oct 29, 2024

To Test

env:
  TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2

jon-nfc added a commit to nofusscomputing/action_docker that referenced this issue Oct 29, 2024
jon-nfc added a commit that referenced this issue Oct 29, 2024
jon-nfc added a commit that referenced this issue Nov 7, 2024
jon-nfc added a commit that referenced this issue Nov 7, 2024
jon-nfc added a commit that referenced this issue Nov 7, 2024
jon-nfc added a commit that referenced this issue Nov 7, 2024
jon-nfc added a commit that referenced this issue Nov 7, 2024
jon-nfc added a commit that referenced this issue Nov 7, 2024
jon-nfc added a commit that referenced this issue Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant