-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when uploading sourcemaps to Sentry (Error 413, request entity too large) #326
Comments
Hey, sorry for the late reply. Please be patient and bare with us 🍪 |
@HazAT Did I get it right, now we have to uninstall rn-sentry to be able to build an android app? |
@dmitrika as far as I could tell removing the upload gradle task from the |
@HazAT Hello! I see several PRs merged in context of this one. Is there any roadmap for everything related? It will be handy to be able to keep track of this. Thank you! |
So I tried to understand the work done on chunk uploading. Maybe even fix this. These are my notes in that process. sentry-cli has code for uploading chunks and assembling them: However, the I don't think I completely grasp everything, but what I suspect that the current chunk upload was especially made for dsyms (and related difs) and not for the JS sourcemaps since those use the release file upload. |
@se-bastiaan You are right! We still want to support chunk upload for source maps though. I can't give you an exact timeframe when this will happen but I have something other in mind. |
@SanderVerkuil sorry for the noob question: what exactly do you mean by
There is no
And to my understanding it is that script that is in charge of uploading the source map. Did you mean we should remove the |
Yes, the workaround of removing |
Yes, I made a mistake, it should've been |
Still no news about this issue ? In what way is the upload process different from the old way doing it all manually (when it was only raven-js) ? Is there any java code being sent too ? |
Still no news about that? |
I found a solution but it is only possible if you host your own sentry server. I had to allow a bigger max request body size in my nginx proxy settings |
ref: #488 |
Any updates? My sourcemap file was just 1.1M and this error happened too. |
I changed |
The newest version of |
@HazAT Hm...
sentry-cli 1.48.0 |
same here, SENTRY_WEB_OPTIONS = {
'limit-post': 20000000
} Also there is full debug log below. |
still having this issue using @sentry/react (version 5.20.1) |
I was hosting on prem on kubernetes with nginx ignress and had to set the following ingress annotations:
|
I solved this problem with the beforeBreadcrumb attribute
|
Thanks @davidpaley
this resolved the issue for me as well, although I don't understand the reason behind this and why suddenly I started to receive this 413 error since I'm using Sentry for long time and never experienced it before. |
+1, the same |
@krystofwoldrich I didn't upgrade to a new version, currently I'm on v4.8.0. |
OS:
Platform:
Output of
node -v && npm -v && npm ls --prod --depth=0
Config:
I have following issue:
The build fails for production when uploading the sourcemaps:
Output of
ls -lah android/app/build/intermediates/assets/release
:Steps to reproduce:
./gradlew assembleRelease
Actual result:
Expected result:
What is the maximal filesize of the sourcemaps?
The text was updated successfully, but these errors were encountered: