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

Timeout when fetching license information #584

Open
erri120 opened this issue May 27, 2024 · 0 comments
Open

Timeout when fetching license information #584

erri120 opened this issue May 27, 2024 · 0 comments
Labels
await community interest Looking for further community engagement on this topic before further action

Comments

@erri120
Copy link

erri120 commented May 27, 2024

The timeout of 30 seconds is a bit too short for larger projects:

##[debug]Retrieving license information for 500 components...
##[warning]Error encountered while fetching license information from API, resulting SBOM may have incomplete license information: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing.

Would it be possible to increase the timeout or have a configuration option?

private const int ClientTimeoutSeconds = 30;

httpClient.Timeout = TimeSpan.FromSeconds(ClientTimeoutSeconds);

@sfoslund sfoslund added needs triage Default status upon issue submission await community interest Looking for further community engagement on this topic before further action and removed needs triage Default status upon issue submission labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
await community interest Looking for further community engagement on this topic before further action
2 participants