Sourcemap upload failing when file size more than 20MB

I have solved this issue. As below:

--- a/sentry.conf.py
+++ b/sentry.conf.py
@@ -247,6 +247,7 @@ SENTRY_WEB_HOST = '0.0.0.0'
 SENTRY_WEB_PORT = 9000
 SENTRY_WEB_OPTIONS = {
     # 'workers': 3,  # the number of web workers
+    'limit-post': 1024 * 1024 * 1024 * 2
 }

Refer: https://github.com/getsentry/onpremise/issues/44

1 Like