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

Constant timeouts when using CredProvider #178

Closed
pieandcakes opened this issue Apr 1, 2020 · 3 comments
Closed

Constant timeouts when using CredProvider #178

pieandcakes opened this issue Apr 1, 2020 · 3 comments

Comments

@pieandcakes
Copy link

pieandcakes commented Apr 1, 2020

nugetpluginlog.txt

Dotnet sdk 3.1.100
Seeing a lot of timeouts such as:

The HTTP request to 'GET <URL>' has timed out after 100000ms.
and
[CredentialProvider]Timed out waiting for plug-in operations to complete

I've attached a log showing a section of these. This is an internal project so please contact me if more information is needed.

@satbai
Copy link
Contributor

satbai commented Apr 15, 2020

I can see from the logs that there are a lot of parallel requests and that nuget 5.4.0.3 is being used. There were some bug fixes in nuget around this area and the latest fixes are in nuget 5.5.x. Could you try updating the nuget version and see if it resolves the timeouts?

Also, I'm not sure if either of these timeout variables will help, but it may be worth a try if updating nuget doesn't fix this. Set these nuget environment variables to 20 seconds, for example.
NUGET_PLUGIN_HANDSHAKE_TIMEOUT_IN_SECONDS
NUGET_PLUGIN_REQUEST_TIMEOUT_IN_SECONDS

@pieandcakes
Copy link
Author

@satbai how important do you think the Nuget 5.5.x will be in this scenario? This is an online environment that I don't control so I don't know if I can get the updated Nuget version on there.

I will change the timeouts and see if that improves the experience.

@satbai
Copy link
Contributor

satbai commented Apr 15, 2020

There's a threadpool starvation issue fix on nuget 5.5. Version 5.4 already has some fixes NuGet/Home#8528 (comment)

@edgarrs edgarrs closed this as completed Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants