-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error: Failed to download vulnerability DB - Trivy v0.24.2 #1908
Comments
I think I'm getting the same type of issue $ trivy i rancher/k3s |
I guess GHCR was down for a while or your network was just slow. Could you try again with |
It says 500, so I guess it was a temporal issue. Are you still facing it? |
I am facing same issue on Mac OS
|
This issue is stale because it has been labeled with inactivity. |
2022-03-30T21:41:44Z [INFO] [/pkg/scan/job.go:167]: Report mime types: [application/vnd.security.vulnerability.report; version=1.1] 2022-03-30T21:41:44Z [INFO] [/pkg/scan/job.go:222]: Get report for mime type: application/vnd.security.vulnerability.report; version=1.1 2022-03-30T21:41:46Z [INFO] [/pkg/scan/job.go:243]: Report with mime type application/vnd.security.vulnerability.report; version=1.1 is not ready yet, retry after 5 seconds 2022-03-30T21:41:51Z [ERROR] [/pkg/scan/job.go:292]: check scan report with mime type application/vnd.security.vulnerability.report; version=1.1: running trivy wrapper: running trivy: exit status 1: 2022-03-30T21:41:48.778Z �[34mINFO�[0m Need to update DB 2022-03-30T21:41:48.778Z �[34mINFO�[0m Downloading DB... 2022-03-30T21:41:49.012Z �[31mFATAL�[0m DB error: failed to download vulnerability DB: OCI artifact error: OCI artifact error: OCI repository error: Get "https://ghcr.io/v2/": read tcp 172.20.6.8:53678->140.82.113.34:443: read: connection reset by peer : general response handler: unexpected status code: 500, expected: 200
We have recently update Trivy from 20.2 to 24.2 under the guise it would fix a previous DB download issue. now we are getting this new one. We have opened all of the requested URLs but still getting the same error. I have ran:
# oras pull ghcr.io/aquasecurity/trivy-db:2 -a
and it still failed. has anyone else experienced this?The text was updated successfully, but these errors were encountered: