-
Notifications
You must be signed in to change notification settings - Fork 28.5k
rewrite
to sentry.io causes HTTP400 on Vercel
#27118
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
Comments
Please verify that your issue can be recreated with Why was this issue marked with the
|
Surprisingly it appears to work now if I remove the |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Uh oh!
There was an error while loading. Please reload this page.
What version of Next.js are you using?
10.2.3
What version of Node.js are you using?
14
What browser are you using?
firefox
What operating system are you using?
ubuntu
How are you deploying your application?
vercel
Describe the Bug
(Not sure if this should be posted in the vercel repo or nextjs)
I'm using the
rewrite
functionality innext.config.js
to proxy requests using sentry's tunnel option. This works fine in development, but on Vercel I'm getting HTTP400 Bad Request. However, there's no logs in Vercel for me to debug it.I tried to make a request directly using wget, this is the output
and the response headers in my browser from a sentry request:
Expected Behavior
Should proxy requests to sentry when deployed on vercel
To Reproduce
In both of my sentry configs I also provide the
tunnel: "/sentry"
optionThe text was updated successfully, but these errors were encountered: