Open monika-agg opened 1 month ago
Sadly we have very little information in this issue. Since version 2.11.0 is already quite old (assuming you mean 22.11.0
) I would try upgrading Sentry as a first step and also look into the logs of the symbolicator
container/service.
symbolicator sorry, for the version mistake. and Yes, the version is 22.11.0.
do i have to update sentry, even with the approach of publically hosting the sourcemap ?
Isn't there anything i can do on v22.11.0 only?
@monika-agg you don't have to upgrade when publicly hosting the sourcemaps but it will likely be easier to debug and you can also use newer methods of uploading source maps.
Isn't there anything i can do on v22.11.0 only?
The troubleshooting part is unfortunately up to you. Since you are self-hosted I can't give you much guidance simply because I have no insight into your setup. As I said, I recommend looking in the symbolicator
logs.
I am also having issues with uploading sourcemaps to sentry. I am using the following packages
"@sentry/cli": "2.32.1",
"@sentry/webpack-plugin": "2.18.0",
"@swc/core": "1.6.1",
[!CAUTION] ERROR failed to read input source map: failed to parse inline source map URL ./bmSWWllS1.map Caused by: relative URL without a base
The error does not happen on @swc/core@1.4.x
@MateuszGroth Ok that seems unrelated to the plugin though. I recommend opening an issue in the SWC repo.
@lforst I decided to start the conversation here since the sourcemaps seem to be generated correctly
But swc trips and not our plugin right? I don't quite see the connection yet 😄
The sentry vite plugin seems to work with that swc core version ;/
The Sentry vite plugin does not use SWC when building.
Vite on top of swc with the plugin works
@MateuszGroth can you please elaborate. None of this makes sense to me.
The question is, why Vite, using the swc bundler (1.6.1 @swc/core) works correctly with the@sentry/vite-plugin
and the webpack + swc + @sentry/webpack-plugin configuration does not
Let me add that there are no errors when the @sentry/webpack-plugin
plugin is not used.
I strongly recommend to share reproduction so we can look at this more closely.
I dont know if its a bug or i am doing something wrong, but i am trying to upload the sourcemaps.
Using self-hosted sentry version v2.11.0
i have first tried the legacy uploading methods But that did not work as well.
Then found another way by hosting publically all js files have the sourcemap URLs, But still no source maps are getting loaded or applied to the errors.
sentry project settings are as follows
can someone help and tell ma what i am doing wrong, why are the sourcemap not loading even after hosting publically?