NextJS 13 returns fetch failed with UND_ERR_CONNECT_TIMEOUT after running in production mode for a day #57384
Unanswered
prunusnira
asked this question in
Help
Replies: 3 comments 4 replies
-
Next.js 14 removes undici. Try upgrading. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Hi, My Next.js version 14.2.3 and Node v20.11.1 but still getting the error,
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Me too. We are using Vercel, in the logs I see that some request go through without errors. Others have one or two of these "next": "14.1.2"
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Environment
next 13.4
node 18.16.0
running with pm2
Problem
Sometimes nextjs freezes and stop responding. (on production mode, we found that after running for 23 hours)
it returns 500 Internal Server Error on browser, and UND_ERR_CONNECT_TIMEOUT on server.
for me, it does not look like memory leak problem because pm2 says it uses memory under 100MB
When this happens, even pm2 does not restart automatically. it detects nextjs as status: online
Check additional information for detailed server error
is there someone who have same problem? or any workaround on this?
I can't post code because it is already too big code bases and security issue
Additional information
detailed error
environment
Beta Was this translation helpful? Give feedback.
All reactions