Skip to content

Conversation

@amogh-jahagirdar
Copy link
Contributor

Bad gateway or gateway timeouts should be able to be safely retried. A bad gateway could be caused by a load balancer or proxy between the client and the actual server, when there's some network partition between the LB and server. A retry in this case could route the request to another server.

A gateway timeout could occur when the LB/proxy is waiting for a response from the actual server, but it takes too long. in this case a retry could be performed again to increase the chance of hitting a more available server.

@github-actions github-actions bot added the core label Mar 6, 2024
@amogh-jahagirdar amogh-jahagirdar changed the title Core: Mark 502 and 504 failures as retryable to the exponential retry strategy Core: Mark 502 and 504 statuses as retryable to the REST exponential retry strategy Mar 7, 2024
@amogh-jahagirdar
Copy link
Contributor Author

Thanks for the review @nastra !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants