sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

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

Open ii-jj opened this issue 1 year ago • 6 comments

Is there an existing issue for this?

  • [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
  • [X] I have reviewed the documentation https://docs.sentry.io/
  • [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases

How do you use Sentry?

Self-hosted/on-premise

Which SDK are you using?

@sentry/nextjs

SDK Version

7.110.0

Framework Version

[email protected]

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

  • Install @sentry/nextjs
  • config next.config.js
  • run yarn build in ci

Expected Result

The release should be created successfully.

Actual Result

A "project not found" error occurs.

image

ii-jj avatar Apr 17 '24 12:04 ii-jj

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

lforst avatar Apr 17 '24 12:04 lforst

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

ii-jj avatar Apr 17 '24 13:04 ii-jj

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!

lforst avatar Apr 17 '24 13:04 lforst

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:

  • The org option is set correctly.
  • The project option is also accurate.
  • I've even rotated the auth token for good measure.

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

Despite these efforts, the issue persists.

ii-jj avatar Apr 17 '24 14:04 ii-jj

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.

lforst avatar Apr 17 '24 14:04 lforst

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

mydea avatar May 15 '24 14:05 mydea

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 🥀

getsantry[bot] avatar Jun 06 '24 07:06 getsantry[bot]