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
NVD Mirroring Connection Hangs, needs timeout #1431
Comments
Thanks for the report. I should be able to include support for user configurable timeout settings globally for all HTTP client connections. |
I have an important defect that's been fixed, so I'll be releasing 4.4.1 shortly. I'll try to get this in there. |
DependencyTrack/dependency-track#1431 Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
DependencyTrack/dependency-track#1431 Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us> (cherry picked from commit d3d4187)
Signed-off-by: Steve Springett <steve@springett.us>
In Dependency-Track v4.4.2, you'll be able to set these properties using:
The first two are likely the ones you'll care about. The last one is a timeout for the pool of available HttpClient objects, which can be tweaked if the server is under heavy load doing a lot of inbound/outbound tasks. |
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Mirroring started having issues for us on February 25th. Initially a NistMirrorTask hung after logging "Downloading... " This task was still hung March 2nd.
When restarting the containers from docker-compose, a handful of years hung just after the previous log "Initiating download of {...}"
HttpClient should specify a timeout
dependency-track/src/main/java/org/dependencytrack/tasks/NistMirrorTask.java
Lines 206 to 239 in 10d9446
The text was updated successfully, but these errors were encountered: