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
{{ message }}
Repository navigation
Retry status_forcelist omits Cloudflare origin errors (520-524), so 522s from api.paddle.com are never retried #157
api.paddle.com is served through Cloudflare, which returns 520–524 for origin-side problems (522 = origin connection timeout). None of those are in status_forcelist, so they get zero retries even though they are exactly the transient class retries exist for — retry_count defaults to 3 but never applies.
Observed in production (SDK 1.15.0, Python 3.14) on a customer lookup:
Request failed: 522 Server Error: <none> for url: https://api.paddle.com/customers?email=...
The <none> reason phrase is itself a tell that the response came from Cloudflare rather than the Paddle application.
Expected: transient Cloudflare origin errors are retried with backoff like other transient failures.
Activity