Retry-on-failures (Section)#

Path: /facilities/http/client{id}/retry-on-failures

Enables retry after a network error (while connecting, reading, writing on the socket) or a temporary HTTP error: 502 (Bad Gateway), 503 (Service Unavailable), 504 (Gateway Timeout). A configurable delay, (one second by default) is awaited before each retry. By default, a single retry is attempted.Note: When enabling retries, it is advised to reduce the Connect and Socket timeouts to decrease the time the user is waiting for an error in case of long lasting network problem.

Parameters#

NameTypeRequiredDefaultDescription
max-retriesuint8optional1The maximum number of retries that are attempted. A value of 0 means that a single request is attempted, with no retries.
retry-intervaluint16optional1000The time interval before retrying the request, in milliseconds

Was this helpful?