NextJS Econnrefused while working on development in appDir
Unanswered
English Angora posted this in #help-forum
English AngoraOP
TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11576:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async invokeRequest (/home/onur/Documents/GitHub/minifutbolturkiye-app/nodemodules/.pnpm/next@13.4.19@babel+core@7.22.9_react-dom@18.2.0_react@18.2.0_sass@1.64.2/node_modules/next/dist/server/lib/server-ipc/invoke-request.js:17:12)
at async invokeRender (/home/onur/Documents/GitHub/minifutbolturkiye-app/nodemodules/.pnpm/next@13.4.19@babel+core@7.22.9_react-dom@18.2.0_react@18.2.0_sass@1.64.2/node_modules/next/dist/server/lib/router-server.js:254:29)
at async handleRequest (/home/onur/Documents/GitHub/minifutbolturkiye-app/nodemodules/.pnpm/next@13.4.19@babel+core@7.22.9_react-dom@18.2.0_react@18.2.0_sass@1.64.2/node_modules/next/dist/server/lib/router-server.js:447:24)
at async requestHandler (/home/onur/Documents/GitHub/minifutbolturkiye-app/nodemodules/.pnpm/next@13.4.19@babel+core@7.22.9_react-dom@18.2.0_react@18.2.0_sass@1.64.2/node_modules/next/dist/server/lib/router-server.js:464:13)
at async Server.<anonymous> (/home/onur/Documents/GitHub/minifutbolturkiye-app/nodemodules/.pnpm/next@13.4.19@babel+core@7.22.9_react-dom@18.2.0_react@18.2.0_sass@1.64.2/node_modules/next/dist/server/lib/start-server.js:117:13) {
cause: Error: connect ECONNREFUSED ::1:44995
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 44995
}
}
6 Replies
English AngoraOP
I get econnrefused sometimes while working on development, restarting the application resolves the issue but getting this error 15 times in a day...
European sprat
it happens, i don't know why
hopefully vercel fixes it
English AngoraOP
Also, in development mode seems like my project is a bit slow in appDir.
Will these issues get fixed in the future, or am i the issue?
Will these issues get fixed in the future, or am i the issue?
European sprat
The slowness is expected to a degree
It rerenders the pages as you navigate