Skip to content

Allow to retry on server response with status code 502 or 503#315

Merged
iLLiCiTiT merged 1 commit intodevelopfrom
enhancement/retry_on_502_or_502_status_code
Mar 20, 2026
Merged

Allow to retry on server response with status code 502 or 503#315
iLLiCiTiT merged 1 commit intodevelopfrom
enhancement/retry_on_502_or_502_status_code

Conversation

@BigRoy
Copy link
Contributor

@BigRoy BigRoy commented Mar 20, 2026

Changelog Description

Allow to retry on server response with status code 502 or 503
Usually these mean, try later.

  • 502: returned by the proxy: nginx
  • 503: returned by the server: if no capacity

Additional review information

May help with server restarts during a long running operation or just bad luck with reaching the server in a state where server isn't ready yet but nginx is already responding.

Testing notes:

  1. No idea how to test :)

@BigRoy BigRoy requested review from iLLiCiTiT and martastain March 20, 2026 11:51
@BigRoy BigRoy self-assigned this Mar 20, 2026
@BigRoy BigRoy added the type: enhancement New feature or request label Mar 20, 2026
@iLLiCiTiT iLLiCiTiT merged commit 88aa879 into develop Mar 20, 2026
3 checks passed
@iLLiCiTiT iLLiCiTiT deleted the enhancement/retry_on_502_or_502_status_code branch March 20, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants