Open Guntur123 opened 3 months ago
Hi, I see this when the NVD API is having connection issues. Don't purge. Once the issue resolves, rerun the task and the process will finish normally. I made the mistake of purging last week, then had to wait for all the data to download again. When it happened again this week, I eventually cancelled another task which was in a reconnect loop, then restarted the tasks and they finished normally.
@Guntur123 I would expect an earlier error in your logs with a bit more detail on the exact error connecting to the database. If not, retry your build adding a --log
option configured to output the verbose log to a file (e.g. within the job workspace) that you can access to examine after the failure to have more information to debug your issue.
[DependencyCheck] Picked up JAVA_TOOL_OPTIONS: -Djavax.net.ssl.trustStore=/etc/pki/ca-trust/extracted/java/cacerts [DependencyCheck] [ERROR] One or more fatal errors occurred [DependencyCheck] [ERROR] Unable to connect to the database - if this error persists it may be due to a corrupt database. Consider running
purge
to delete the existing database