ECONNREFUSED with errno `-111`- Standalone output and run on Docker
Unanswered
Brown bear posted this in #help-forum
Brown bearOP
Hey folks, I have an issue some days ago with the following log from my docker console:
Unfortunately I can't provide the
- Next:
- Node:
- Output:
So what could possibly go wrong guys? My production server has been running so well for past couple months but it just happened now.
First we suspect about the memory usage that almost reach my pod limit (256MB), we're not sure yet. Now we run with 512MB but the actual memory usage still sit around ~200MB which is fine and seems normal to us. I probably perform load test in the future to see how it goes.
I have searched through the issues in Next GitHub repo for similar issues but not sure enough which one is the right answer. I hope one of you guys could help me, thanks in advance!
2023-11-20 13:36:23 port: 35829
2023-11-20 13:36:23 address: '10.101.12.188',
2023-11-20 13:36:23 syscall: 'connect',
2023-11-20 13:36:23 code: 'ECONNREFUSED',
2023-11-20 13:36:23 errno: -111,
2023-11-20 13:36:23 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
2023-11-20 13:36:23 Error: connect ECONNREFUSED 10.101.12.188:35829Unfortunately I can't provide the
next info for some access limitation to my server. But here's some info based on my DockerFile and package.json:- Next:
^13.4.8- Node:
node:18-alpine- Output:
standalone (in my next.config.js)So what could possibly go wrong guys? My production server has been running so well for past couple months but it just happened now.
First we suspect about the memory usage that almost reach my pod limit (256MB), we're not sure yet. Now we run with 512MB but the actual memory usage still sit around ~200MB which is fine and seems normal to us. I probably perform load test in the future to see how it goes.
I have searched through the issues in Next GitHub repo for similar issues but not sure enough which one is the right answer. I hope one of you guys could help me, thanks in advance!
1 Reply
Satin Angora
Hey have you found any solution to this?