-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
Self-Hosted Version
24.5.1
CPU Architecture
x86_64
Docker Version
26.1.4
Docker Compose Version
2.27.1
Steps to Reproduce
Setup an angular project and webapp.
- create artifact bundle
- create error in app
- check unminified stacktrace
Expected Result
The stacktrace should be unminified according to the provided sourcemaps.
Actual Result
The "help popup" shows this:
and this
The "new" way of tagging the artifact bundles seems to work but the tagged release might interfere with this?
The corresponding chunk is definitely in the bundle:
The .map files are removed from the deployed production build.
As you can see the project is hosted in an subfolder "handheld". Thus the sourcemaps are uploaded with the corresponding command parameters: --strip-common-prefix --url-prefix '~/handheld' --release "$VERSION"
I already tried various things (changed prefix, re-uploaded, with or without release) but it seems sentry is not able to properly find the sourcemaps.
This is an followup of an already created issue which got moved to the sentry project itself. WIth the help of @loewenheim I could narrow it down to a problem with the hosted symbolicator instance. For whatever reason it cannot access the artifact bundles via an API call:
symbolicator-1 | 2024-06-17T13:25:39.930109859Z DEBUG symbolicate_js:fetch_minified_and_sourcemap:get_file: symbolicator_js::api_lookup: Fetching list of Sentry JS artifacts from https://MY_SENTRY_URL/api/0/projects/MY_PROJECT/ns-handheld/artifact-lookup/?release=ns-handheld%40202406.1052&debug_id=01d33779-9938-5755-9b48-2d80ca400016 debug_id=Some(DebugId { uuid: "01d33779-9938-5755-9b48-2d80ca400016", appendix: 0 }) abs_path=http://192.168.1.220:8095/handheld/chunk-PYO3DOQH.js key=SourceMap { abs_path: None, debug_id: Some(DebugId { uuid: "01d33779-9938-5755-9b48-2d80ca400016", appendix: 0 }) }
symbolicator-1 | 2024-06-17T13:25:39.989372583Z WARN fetch_sentry_json: symbolicator_service::download::sentry: Sentry API returned status code 401 Unauthorized
symbolicator-1 | 2024-06-17T13:25:40.063524481Z WARN fetch_sentry_json: symbolicator_service::download::sentry: Sentry API returned status code 401 Unauthorized
symbolicator-1 | 2024-06-17T13:25:40.13831356Z WARN fetch_sentry_json: symbolicator_service::download::sentry: Sentry API returned status code 401 Unauthorized
I've already tried to adjust some things, like mentioned in getsentry/self-hosted#1970 and getsentry/self-hosted#2632 and getsentry/self-hosted#3114
Furthermore in the config.yml
I had the system.url-prefix
configured. This is removed now, but it did not help.
Related sentry issue: #72569
Event ID
No response
Metadata
Metadata
Assignees
Projects
Status
Status