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

Recoverable I/O exception for https://services.nvd.nist.gov/ #6645

Closed
fmarot opened this issue May 6, 2024 · 5 comments
Closed

Recoverable I/O exception for https://services.nvd.nist.gov/ #6645

fmarot opened this issue May 6, 2024 · 5 comments
Labels

Comments

@fmarot
Copy link
Contributor

fmarot commented May 6, 2024

Hello all,

since nearly a week (may the 2nd) I get the following exceptions when running the dependency-check Maven plugin (update-only goal). And the job never reaches completion.
Is it expected ? Is it a problem on my setup ?

I have an NVD API token which, I think, is correctly configured.

INFO: Finished configuration in 54 ms.
[INFO] Checking for updates
[INFO] Recoverable I/O exception (java.io.IOException) caught when processing request to {s}->[https://services.nvd.nist.gov:443](https://services.nvd.nist.gov/)
[INFO] Recoverable I/O exception (java.io.IOException) caught when processing request to {s}->[https://services.nvd.nist.gov:443](https://services.nvd.nist.gov/)
[INFO] Recoverable I/O exception (java.io.IOException) caught when processing request to {s}->[https://services.nvd.nist.gov:443](https://services.nvd.nist.gov/)
[INFO] Recoverable I/O exception (java.io.IOException) caught when processing request to {s}->[https://services.nvd.nist.gov:443](https://services.nvd.nist.gov/)
[WARNING] NVD API request failures are occurring; retrying request for the 5 time
[WARNING] NVD API request failures are occurring; retrying request for the 5 time
[INFO] Recoverable I/O exception (java.io.IOException) caught when processing request to {s}->[https://services.nvd.nist.gov:443](https://services.nvd.nist.gov/)
[WARNING] NVD API request failures are occurring; retrying request for the 6 time
[WARNING] NVD API request failures are occurring; retrying request for the 6 time
[INFO] Recoverable I/O exception (java.io.IOException) caught when processing request to {s}->[https://services.nvd.nist.gov:443](https://services.nvd.nist.gov/)
[WARNING] NVD API request failures are occurring; retrying request for the 7 time
[WARNING] NVD API request failures are occurring; retrying request for the 7 time

Any help or hint is appreciated.

@fmarot fmarot added the question label May 6, 2024
@jeremylong
Copy link
Owner

Sometimes the NVD API, not owned by this project, will throttle requests and/or have bandwidth issues. We highly recommend either mirroring the NVD or keeping the data directory in tact between scans. See:

@fmarot
Copy link
Contributor Author

fmarot commented May 6, 2024

Thanks @jeremylong.
In fact this is my mirroring job ("update-only" goal of the Maven plugin) which has been failing for nearly a week. This job updates a PGSQL Database. The analyze jobs using the DB in read-only only do not fail.
Usually, when problems do not come from my side, I see here other people complaining but as I see no-one but myself complaining right now, I fear I have a problem.

@jeremylong
Copy link
Owner

jeremylong commented May 6, 2024 via email

@fmarot
Copy link
Contributor Author

fmarot commented May 6, 2024

Validate your api key is still valid.

it is... I tested it with the curl command and I got correct answer, while if I change any character in the key I got "invalid key" (or similar).
I'm missing something but what ?...

@fmarot
Copy link
Contributor Author

fmarot commented May 7, 2024

Problem solved, sorry, this was a problem with my company's firewall (Palo alto) which auto updated and was refusing the connection to nvd.nist.gov because it detected something...
My Dependency Track instance suffered from the same problem silently...
Beware the firewalls... :/
Thanks for your support Jeremy and sorry for the false problem.

@fmarot fmarot closed this as completed May 7, 2024
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

2 participants