You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Steve, I am using finding api: "/api/v1/finding?severity=critical,high&pageSize=23029&pageNumber=1" to collect all findings for a lot of repositories, I am filtering with only the data that I need but the api is not returning a such amount of large data, is that a known issue or should I take another approach ?
Steps to Reproduce
Call the finding api with a json that have a huge amount of findings
That's a very old version you're using - I highly recommend updating, since (which is relevant for your case) there were some improvements for retrieving the findings in 4.12.
Do you see anything in the server logs like stacktraces or error messages? I think there should be a stack trace. Have you tried reducing the page size?
net::ERR_FAILED 504 (Gateway Timeout), if I am modifying the pageSize parameter it is working with less than 5000 but with more than that, no
I have also tried to use this way:
const PAGE_SIZE = 500; // Adjust to reduce large response issues
const MAX_PAGES = 20; // Limit to avoid excessive requests
That's not an issue with DT per se, that HTTP error comes from the reverse proxy in front of it. Increasing the timeout in the reverse proxy should resolve that issue.
Current Behavior
Hi Steve, I am using finding api: "/api/v1/finding?severity=critical,high&pageSize=23029&pageNumber=1" to collect all findings for a lot of repositories, I am filtering with only the data that I need but the api is not returning a such amount of large data, is that a known issue or should I take another approach ?
Steps to Reproduce
Call the finding api with a json that have a huge amount of findings
Expected Behavior
The api will crash due to large size
Dependency-Track Version
4.12.6
Dependency-Track Distribution
Executable WAR, Container Image
Database Server
PostgreSQL
Database Server Version
No response
Browser
Google Chrome
Checklist
The text was updated successfully, but these errors were encountered: