Retry network errors
See original GitHub issueIn the .NET repo we run a lot of instances of autorest in parallel.
SOmetimes they fail with
EXEC : error : read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20)
We should retry errors like these as they are often transient.
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Retrying failed network requests automatically on Android
Retrying failed network requests automatically on Android · If the error is network related, RetryableExecutor calls onNetworkException() method ...
Read more >Support retries on certain network failures · Issue #185
In poor network conditions network requests may fail in weird ways. Ky supports retrying on predictable errors (ie, based on response codes) ...
Read more >Error retries and exponential backoff in AWS
Configure retry settings in the client application when errors occur and use an exponential backoff algorithm for better flow control.
Read more >Transient fault handling - Azure
Learn how to handle transient faults when connecting to resources, caused by loss of network connectivity, temporary unavailability, ...
Read more >Retry Link - Apollo GraphQL Docs
Attempt an operation multiple times if it fails due to network or server errors.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We might want to remove https://github.com/Azure/autorest/blob/6f0751d1f83617375d212411c5674d670bb9ffa0/packages/apps/autorest/entrypoints/app.js#L40 then
Looking at builds it seems to always fail during the ResourceManager.Network generation.
@AlexanderSher can we pick up the latest Autorest?