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
It is possible that REST API calls to Azure SignalR service failed with intermittent 5xx errors, and retry can success. Customers using output binding has no easy way to retry sending by themselves, we could add retry logic into output binding for 5xx errors for better user experience.
The text was updated successfully, but these errors were encountered:
Add retry capability to REST client to handle transient errors. Tracking issue: Azure/azure-functions-signalrservice-extension#293
## Add two retry modes:
1. Fixed delay
3. Exponential backoff delay (Do we need to add jitter to the delay?)
## For message APIs:
Only the situations when HTTP status code > 500 are safe to retry.
For 500 error, runtime returns 500 when timeout, so it's not safe to retry.
## For non-message APIs:
The following situations are considered to be transient:
1. HTTP response status code 5xx or 408(Request timeout).
2. Request timeout with the timeout length configured as `ServiceManagerOptions.HttpClientTimeout`
It is possible that REST API calls to Azure SignalR service failed with intermittent 5xx errors, and retry can success. Customers using output binding has no easy way to retry sending by themselves, we could add retry logic into output binding for 5xx errors for better user experience.
The text was updated successfully, but these errors were encountered: