Sentry-cli: 413 caused by: sentry reported an error: unknown error (http status: 413)

Created on 6 Dec 2018  路  5Comments  路  Source: getsentry/sentry-cli

413

Most helpful comment

Indeed, the information you give is very limited. Maybe i can help you. I just fixed an issue where two of three uploads of debug symbols worked with sentry-cli. The non working got a error 413 -> Payload too large.
I run a self hosted instance of sentry with nginx in front for https.
In my case nginx was the one who threw the 413. To fix that, just increase the setting client_max_body_size in your nginx.conf in the http section to e.g. 100m
Hope this help someone.

All 5 comments

Could you provide more detail on what you did, what you were expecting to happen and what happened instead?

Indeed, the information you give is very limited. Maybe i can help you. I just fixed an issue where two of three uploads of debug symbols worked with sentry-cli. The non working got a error 413 -> Payload too large.
I run a self hosted instance of sentry with nginx in front for https.
In my case nginx was the one who threw the 413. To fix that, just increase the setting client_max_body_size in your nginx.conf in the http section to e.g. 100m
Hope this help someone.

Closing the issue, as it seems like the original issue has been resolved.
Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it.
Cheers!

nginx.conf

I have the same issue.
My error message is:

error: API request failed
caused by: sentry reported an error: unknown error (http status: 413)

Where did i find this nginx.conf file to make the change you mentioned?

nginx configuration is used in our onpremise instances - https://github.com/getsentry/onpremise/blob/master/nginx/nginx.conf

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ramyma picture ramyma  路  5Comments

tclindner picture tclindner  路  3Comments

BioPhoton picture BioPhoton  路  3Comments

fungilation picture fungilation  路  4Comments

alexregier picture alexregier  路  4Comments