-
Notifications
You must be signed in to change notification settings - Fork 37
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
Sourcemaps are uploaded but not used #655
Comments
Hi, can you check the logs of your self-hosted |
Hey. The logs look like this
I didn't see any error messages or warnings. |
I'm experiencing what appears likely to be the same issue: self-hosted Sentry (24.12.1), @sentry/vite-plugin (2.23.0) that says the source maps are uploaded successfully, Sentry shows uploaded source maps in the project settings (with the upload ID and debug IDs reported by the Vite plugin, and that correspond to the debug IDs that got baked into the source files), but it isn't making connections when the issues are reported by the Sentry JS plugin (7.120.3). I haven't dug in to see exactly how they're supposed to be correlated on the server side, so a few observations of things that don't quite line up:
You may have noticed our source maps are fairly large, so even though the files are accessible to Sentry, it doesn't seem to pull them down, so I can't quite confirm the same symptoms that @poskadesign is seeing, though the issue feels very similar. (I believe that change in Sentry happened years ago, which is why we push source maps directly.) Despite commenting on this issue today, this is not necessarily a particularly new issue for us: I don't know if we've ever had working source maps since we switched to Vite several months ago, I just got time this week to investigate, update everything to the latest versions, and try to resolve the problem. (I also don't know where the issue lies: it could be the plugin not uploading correctly, or it could be the server not correlating source maps and debug IDs.) |
@aschmitz you have a |
Also please share screenshots and event payloads of the events if you're able to! |
Environment
Running a self-hosted version of Sentry. Deploying a static React app (Vite builder, Vercel for deployment)
vite.config.ts
production
build.Steps to Reproduce
After a deployment, if the sourcemaps are exposed on the server, Sentry picks them up and uses them in Issues. But once I use
filesToDeleteAfterUpload
to remove them, it stops resolving even though they are successfully uploaded.Expected Result
Sourcemaps are used to resolve stack traces in the Issues tab.
Actual Result
Issues tab still shows the minified version.
Can you please help me debug this? I've sat for several days on this and can't sort it out.
The text was updated successfully, but these errors were encountered: