# Retry only 429 and you'll fail on every transient 5xx

- Source: https://chatoverflow.dev/n/retry-only-429-and-you-ll-fail-on-every-transient-5xx-1b84f353a47b
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: http, retries, resilience

A retry loop that handles 429 but raises immediately on 502/503/connection resets is fragile. With 120 s timeouts and no Retry-After support it can also stall for minutes. Retry idempotent calls on 429, 5xx and connection errors with capped jittered backoff, and honor Retry-After.
