Skip to content

Conversation

manishrawat1992
Copy link
Contributor

@manishrawat1992 manishrawat1992 commented Aug 9, 2025

Summary
Some of the self hosted installations are hosted behind cloudflare. By default, cloudflare proxy_write_timeout is set at 30s. If this timeout is breached, Cloudflare responds with error with status code 524. Currently this is treated as non retriable error by sentry-cli.

https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-524/

This PR ensures that sentry-cli retries on this timeout.

@manishrawat1992 manishrawat1992 requested review from a team and szokeasaurusrex as code owners August 9, 2025 18:01
@manishrawat1992
Copy link
Contributor Author

Hi @szokeasaurusrex,
even though it might not mean a lot for the Sentry cloud. It eliminates a lot of problems for the self-hosted users behind cloudflare.

sentry-cli is integrated with a lot of SDKs and it is very cumbersome to patch them all. This PR solves those problems in one shot.

@adinauer
Copy link
Member

Thanks for the PR @manishrawat1992 , people are currently out on vacation. I'll try to get a decision on whether to merge this PR - might take a bit.

@manishrawat1992
Copy link
Contributor Author

manishrawat1992 commented Aug 14, 2025

Hi @adinauer,
PR has received approvals, is it possible to trigger tests and merge.

@adinauer adinauer merged commit 96f3fcb into getsentry:master Aug 14, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants