Self-signed Certificate error on Dedicated Server when using handleI18nRouting middleware #2019
Unanswered
AndreyPerunov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello community,
I am getting an
Internal Server Error
when I navigate to/
or/en
to the dev version of application.Error log:
Environment:
next.js v15.2.4
nginx
as reverse proxyDocker
next-auth v5.0.0-beta.29
for authenticationnext-intl v3.26.4
for internationalizationProblem isolation:
The app works fine until I add
handleI18nRouting
from next-intl middleware.handleI18nRouting(req)
to the top of the middleware chain, I immediately get the error.My middleware.ts:
Assumptions
First, I thought that the problem is with redirect, so I do this:
Result: I didn't get an error.
Question:
What could be causing this issue? Is there a known problem with combining
next-intl
middleware andauth.js
when using a self-signed certificate in development?Any guidance would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions