-
Notifications
You must be signed in to change notification settings - Fork 27.1k
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
Rewrites failing after deployment #21642
Comments
I feel like this PR might be fixing it: #21410, but need to test it still. |
Reverting back to 10.0.3 fixed this issue. Would be great to look at this though because we wanted to use the optimizations to next/image! |
Hi, can you narrow in on a more specific version or provide additional details as this is hard to investigate without a reproduction and such a wide version bump since lots of changes are made between |
@ijjk You mean testing if it also happens in 10.0.4? I could also check if it has perhaps been fixed in latest already. |
If you could narrow it down to a specific canary that would help the most as it would narrow down the changes a lot, also checking the latest version would definitely be good 👍 |
Seems like it works again in the last canary. I guess I'll leave it up to you guys why 10.0.5 is broken, might be smart to deprecate that version because for us it was quite critical as you can see in the graphs. |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What version of Next.js are you using?
10.0.5
What version of Node.js are you using?
15
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
K8S
Describe the Bug
Each time after deploying we have a small blip of rewrites failing. It looks like next.js is redirecting users to the rewritten URL which then causes a 404.
Expected Behavior
For users never to be redirected to the rewritten URL's.
To Reproduce
I'm not sure how to reproduce this yet, working on that case. But our rewrites look something like:
ELB logs of people going to the pages that yield a 404 (/legacy/funnel-fragment/plans) and all other pages that have a rewrite enabled. As you can see it started happening on Jan 21, which is when we upgraded from [email protected] to [email protected].
The text was updated successfully, but these errors were encountered: