self-hosted
self-hosted copied to clipboard
sentry-cli upload ios dSYM get 413 Request Entity Too Large error
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Version
22.7.0
Steps to Reproduce
sentry-cli --url https://{server}/ --auth-token {token} upload-dif --org sentry --project {project} xxx.dSYM
Expected Result
sucess
Actual Result
And I changed nginx.conf client_max_body_size from 100m to 1000m. But It did not work.
Routing to @getsentry/team-mobile for triage. ⏲️
Hello @feeops, what version of the sentry-cli are you running?
Hello @feeops, what version of the sentry-cli are you running?
2.5.2
Transferred to this repo as it's related to sentry-cli.
It has nothing to do with Nginx. The maximum file size for dsym uploads is configured via system.maximum-file-size - https://develop.sentry.dev/self-hosted/#configuration
It has nothing to do with Nginx. The maximum file size for dsym uploads is configured via
system.maximum-file-size- https://develop.sentry.dev/self-hosted/#configuration
I check the source code
https://github.com/getsentry/sentry/blob/master/src/sentry/options/defaults.py
system.maximum-file-size default=2**31
I changed it to 10*2**31
But it do not work
Transfering this issue to self-hosted, as this CLI is not in control o this behavior. It only outputs what server is returning for the request.
@feeops Have you restarted nginx container after making the changes?
Also https://github.com/getsentry/self-hosted/issues/937#issuecomment-828371053 ? :smile:
@feeops Have you restarted nginx container after making the changes?
Also #937 (comment) ? 😄
Yes.I had restart nginx and web
docker restart sentry-self-hosted-web-1
docker restart sentry-self-hosted-nginx-1
Seems pretty strange that this error is occuring even after restarting nginx and editing the client_max_body_size. The only thing I can think of is that the value of client_max_body_size still isn't high enough
Relay and sentry both have upload limits as well, you might want to check your settings for that: https://docs.sentry.io/product/relay/options/#size-limits
Relay and sentry both have upload limits as well, you might want to check your settings for that: https://docs.sentry.io/product/relay/options/#size-limits
It do not work.
Sorry, and just to make sure, you restarted the relevant containers after editing the relay config file?
Sorry, and just to make sure, you restarted the relevant containers after editing the relay config file?
yes
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀