getsentry / sentry-javascript

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

[@sentry/nextjs] v7.110.x locks @sentry/webpack-plugin to an outdated version causing project not found 404 error #11652

Closed ii-jj closed 4 months ago

ii-jj commented 6 months ago

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which SDK are you using?

@sentry/nextjs

SDK Version

7.110.0

Framework Version

next@13.5.6

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

Expected Result

The release should be created successfully.

Actual Result

A "project not found" error occurs.

image
lforst commented 6 months ago

Hi, what does your next.config.js look like? Did you set a project value?

ii-jj commented 6 months ago

Hi, what does your next.config.js look like? Did you set a project value?

Yes, I have set the project value, and the Sentry server version is 24.3.0

lforst commented 6 months ago

To confirm, the project matches the project you have configured in your self hosted instance?

Can you try and verify the following things:

Thanks!

ii-jj commented 6 months ago

To confirm, the project matches the project you have configured in your self hosted instance?

Can you try and verify the following things:

  • You set the correct org option.
  • You set the correct project option.
  • Rotate your auth token.

Thanks!

Absolutely! The project configured in my self-hosted instance definitely matches.

I've already double-checked the following:

And the configuration file was actually created by the sentry-wizard.

Despite these efforts, the issue persists.

lforst commented 6 months ago

Hm 🤔 would you mind sharing your project name? Maybe it includes unsupported characters or something? Also, would you mind base64 decoding the center part of your auth token when it is delimited by the _ characters? Maybe there is some funkyness encoded.

mydea commented 5 months ago

We've just released v8 of @sentry/nextjs which should use the current version of @sentry/webpack-plugin. Give it a try!

getsantry[bot] commented 4 months ago

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀