fix: restore Sentry tunnel route to bypass ad blockers#17285
Merged
fix: restore Sentry tunnel route to bypass ad blockers#17285
Conversation
Re-adds `tunnelRoute: '/monitoring'` which was accidentally removed in #9152 during the changelog domain switch. Without it, ad blockers silently block all Sentry requests (errors, feedback, replays) from reaching ingest.sentry.io. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
chargome
reviewed
Apr 9, 2026
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 0aea4c5. Configure here.
…15/16 The tunnel route exclusion docs only referenced proxy.ts, which is the Next.js 16 filename. Users on Next.js 15 need middleware.ts instead. Clarify both filenames since the page covers Next.js 15+. Co-Authored-By: Claude <noreply@anthropic.com>
logaretm
approved these changes
Apr 9, 2026
Member
logaretm
left a comment
There was a problem hiding this comment.
Like Charly said, this is a whack-a-mole game but we have no real solution for it so 🤷♂️
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

DESCRIBE YOUR PR
Re-adds
tunnelRoute: '/monitoring'towithSentryConfiginnext.config.ts. This was removed in #9152 during the changelog domain switch and never restored.Without it, ad blockers silently block all browser-side Sentry requests (errors, replays, user feedback) from reaching
ingest.sentry.io. The tunnel routes these through our own origin at/monitoring, bypassing ad blockers.This also fixes the User Feedback widget (
DocFeedbackcomponent) silently failing — users see "Thanks for your feedback" but nothing is delivered when an ad blocker is active.IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST