-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDK
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
7.105
Framework Version
12.2.2
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
New DSNs have .us
in the host. This causes the tunnelRoute option in next.config.js not to run.
Workaround is to remove the .us
from the DSN
Ex. change the .ingest.us.sentry.io
portion of the DSN to .ingest.sentry.io
Expected Result
tunnelRoute should be rewriting DSNs that have the .us
Actual Result
Sentry.init({
dsn: "https://[email protected]/4504089864830976",
})
sentry: {
tunnelRoute: "/monitoring"
}

Removing the .us -
Sentry.init({
dsn: "https://[email protected]/4504089864830976",
})
sentry: {
tunnelRoute: "/monitoring"
}

Metadata
Metadata
Assignees
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDK
Type
Projects
Status
No status