Application crashes while navigating. (Error: Connection closed) #84400
Unanswered
Nayeem-XTREME
asked this question in
Help
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I was using nextjs 15.6.0-canary.21 in my large application, using the following config:
The problem is, staring from nextjs
15.6.0-canary.22
, I am getting the following error randomly, specially while navigatiing inside my app, and my app crashes:and in browser error log, I found error is happening from something like this:
The error is ONLY appearing after building my application, and no warning or error was printed in the dev mode. I tried toggling
clientSegmentCache
,cacheComponents
etc flags, and seems the issue only happens when both flag is enabled. Turning off any of the flag resolves the issue.Please note that the issue starts happening from
15.6.0-canary.22
. Still in latest canary, the issue remains.As my app is too big, it's difficult for me to share a reproduction URL. If anyone has any hint, why it may happen?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions