Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

414 Request-URI Too Large on source maps upload @sentry/nextjs #2345

Open
3 tasks done
sspr opened this issue Jan 20, 2025 · 2 comments
Open
3 tasks done

414 Request-URI Too Large on source maps upload @sentry/nextjs #2345

sspr opened this issue Jan 20, 2025 · 2 comments

Comments

@sspr
Copy link

sspr commented Jan 20, 2025

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

8.40.0

Framework Version

Next 14.2.15

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  1. Setup sentry with npx @sentry/wizard@latest -i nextjs
  2. Upload sourcemaps on pipeline on build
  3. Getting message, that source maps were uploaded
  4. On step "Adding source map references", I get the error - 414 Request-URI Too Large.

The 4. step happens, because on step "Adding source map references" GET request is made with all files names passed as query parameters.

Expected Result

There are artifacts in sentry panel and code mapping works.

Actual Result

There are no artifatcs in release in sentry panel, and code mapping does not work.

@lforst
Copy link
Member

lforst commented Jan 20, 2025

Gonna transfer to https://github.com/getsentry/sentry-cli because we would have to solve this a few layers below the SDK and probably also in our backend.

@sspr Just for the sake of completeness, would you mind sharing full error logs and approximately how many source maps we are talking about?

@lforst lforst transferred this issue from getsentry/sentry-javascript Jan 20, 2025
@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jan 20, 2025
@szokeasaurusrex
Copy link
Member

@sspr could you please also share any log outputs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Community
Development

No branches or pull requests

3 participants