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

Retry when failure is caused by transient network problems loading the chocolatey feed #1853

Open
jayvdb opened this issue Jun 18, 2019 · 1 comment

Comments

@jayvdb
Copy link

jayvdb commented Jun 18, 2019

As noted at #1840 , fetches sometimes fail, even after successful ones have shown that the network is operational.

On a CI worker, failing for transient network problems is very undesirable.

It would be useful for choco to have an option to retry several times with reasonable backoff periods.

Sometimes the error message is quite obvious, like

[NuGet] An error occurred while loading packages from 'https://chocolatey.org/api/v2/': The operation has timed out.

Looking for https://chocolatey.org/api/v2/ in the error messages is probably sufficient to trigger a retry, if configured to not fail on the first sight of a network connection problem.

NuGet/Home#2269 upstream bug.

@quelixir
Copy link

Hi everybody. Has there been any update or further development on this?

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

2 participants