question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Retry network errors

See original GitHub issue

In 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:closed
  • Created 2 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

0reactions
pakrymcommented, Nov 22, 2021

Looking at builds it seems to always fail during the ResourceManager.Network generation.

@AlexanderSher can we pick up the latest Autorest?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found