Retry downloads when failure is caused by transient network problems
As noted at https://github.com/chocolatey/choco/issues/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.
https://github.com/NuGet/Home/issues/2269 upstream bug.
Hi everybody. Has there been any update or further development on this?