-
Notifications
You must be signed in to change notification settings - Fork 77
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
unable to check for vulnerability database update #197
Comments
Hi @erhan- is this a problem that just started or has it happened for multiple runs? Can you maybe just re-run the workflow to fix it? This error happens if Grype is unable to download the latest database. I don't see a problem with this happening locally, so the latest database is definitely available and working. Maybe it was a network hiccup on GitHub's side? |
I am using this yesterday for the first time and have no comparison. It might be a network issue but it would be nice if that error would indicate that I think. I will try again these days and rerun the workflow. Thanks for your help! |
One other question: which version are you using? Could you share your action config for this? |
Hey @erhan- I'm going to close this one, as I think it was probably just a network hiccup and haven't heard otherwise. Please reopen if this continues to be an issue! |
Sorry for not responding. I had not checked my notifications and also have not worked with this for a while. If I get back to this and it does not occur, I will edit this comment as well to confirm the potential network hiccup as well. |
@kzantow Hey, I had time to test around again and I can confirm that it is not a connectivity issue. I added a curl step after it to check if the Internet works and it does: We are using Github enterprise. Unfortunately I can not reopen this issue. We are using a proxy for the Internet. The env variables are set correctly and can also be echoed out in the actions. Edit: Still reading around but I think Nodejs ignores the http_proxy env variables. There are some issues on it: Found this issue then and saw that the variables used are lowercase. Testing that now: |
Aha! This explains a lot more. I suspect the proxy is not allowing access to the grype db. Can you CURL the latest database from the action?
|
Ok, I'm pretty sure I know what the problem is here -- we're providing an environment to the We need to make sure to pass in at least the This should be a pretty simple thing to get fixed 👍 |
Good catch! |
Thanks for your help on this one @erhan- -- new release published, so if you're using |
No problem. All for security for the people. Are the three dots okay which I commented? |
@erhan- I don't know what you mean about "the three dots which I commented"? |
Ahh -- that's the spread operator -- it is used to copy all the properties of an object to another object or all the entries in a list to another list. I did this because I've seen strange things when modifying |
Hey everyone,
I have the following problem at the moment which blocks me for scanning for vulnerabilities:
Does someone have or had this problem as well?
Thanks for your help.
Best regards,
Erhan
The text was updated successfully, but these errors were encountered: