You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2025. It is now read-only.
In DoRetryWithStatusCodes, we retry for a list of status codes and also retry on temporary network errors. However, I am seeing transient network errors not being retried.
E.g. compute.DisksClient#List: Failure sending request: StatusCode=0 -- Original Error: Get https://management.azure.com/subscriptions/13979c32-3382-46f7-8f3a-ef86b8270227/providers/Microsoft.Compute/disks?api-version=2018-09-30: read tcp 10.28.1.65:56094-u003e13.91.242.34:443: read: connection reset by peer
It looks to me that "connection reset by peer" error is not treated as temporary by IsTemporaryNetworkError. Is there anyway I can enable retry on it for all autorest call (other than doing it in my application code itself)?