#strange 308 redirect issue with our next.js app that's served via netlify

5 messages · Page 1 of 1 (latest)

cosmic forge
#

Hi,

So since the past 5 days, we're facing an issue where if we try to access direct links to our app in browsers, the page gets stuck in a redirect loop. **TOO_MANY_REDIRECTS **These same urls are accessible if accessed from the root path.

Our last commit had nothing incriminating and server configuration is double checked to ensure that there's no villain change in there.

Has anyone else been seeing a similar issue or has a way to troubleshoot this? Netlify support has been pretty sparse and unable to help us resolve what looks like a platform problem.

thick condor
#

Are you using next-auth?

cosmic forge
#

no, and this is happening only to some pages, and not others.

we believe it has something to do with the nextjs runtime package. Have you come across any issues on this particular package?

thick condor
#

I haven't used the next-runtime package unfortunately. But I would say that if you can't reproduce the error with a production build locally (npm run build and npm run start) then that would suggest that error comes from the next-runtime package