getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
7.85k stars 1.55k forks source link

Source maps exist but not applied #12917

Closed Gordienko-RU closed 1 month ago

Gordienko-RU commented 1 month ago

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which SDK are you using?

@sentry/react

SDK Version

8.17.0

Framework Version

24.5.1

Link to Sentry event

No response

SDK Setup/Reproduction Example

Configurations:

Steps to Reproduce

After build and deploy of such app next things can be observed:

And contains meta information for source-map mapping: image

NOTE: Used in meta debug-ids have entrances in mentioned above artifact: image image

Expected Result

Since we have source-maps uploaded and event meta has entries with correct debug ids for all files which listed in stack trace - I would expect to see source-code on event page.

Actual Result

Stack trace points to minified files: image

NOTE: When I hover over file in stack-trace - I see the full path in a tooltip which exactly match file path in event meta: image

I've read throught bunch of docs articles and issues, but still no luck.

Everything seems to be ok, so any suggestions on how I can debug it?

lforst commented 1 month ago

Hi, can you please check the logs of the symbolicator service in your self-hosted instance? Thanks!

Gordienko-RU commented 1 month ago

Hi, can you please check the logs of the symbolicator service in your self-hosted instance? Thanks!

This service is disabled by default. Do we need to enable it?

lforst commented 1 month ago

@Gordienko-RU yes, it is essential for sourcemaps.

Gordienko-RU commented 1 month ago

@Gordienko-RU yes, it is essential for sourcemaps.

Thx, source maps are working after enabling it.