Skip to content

Setting nvdApiResultsPerPage to something other than 2000 results in downloading more than 100% #6866

@deennyy

Description

@deennyy

Describe the bug
Hello, when I set nvdApiResultsPerPage to something other than 2000, say 1000, I get messages reporting that I have downloaded more than 100%. I need to set it to ~1000, because when it's at the default 2000 my requests get a "connection reset" sometimes.

Version of dependency-check used
The problem occurs using version 10.0.3 of the maven plugin.

Log file
gist

To Reproduce
Steps to reproduce the behavior:

  1. Set nvdApiResultsPerPage to something other than 2000
  2. Run mvn -DnvdApiResultsPerPage=1000 -DnvdApiKey=... verify
  3. Wait and see logs about more than 100% being downloaded

Expected behavior
It would stop downloading at 100% and continue with the checking.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions