Fetch failed, i have to restart nextjs
Answered
Sun bear posted this in #help-forum
Sun bearOP
TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11457:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async invokeRequest (C:\Users\mikhe\OneDrive\Documents\GitHub\reviews-website\node_modules\.pnpm\next@13.4.19_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\server\lib\server-ipc\invoke-request.js:17:12)
at async invokeRender (C:\Users\mikhe\OneDrive\Documents\GitHub\reviews-website\node_modules\.pnpm\next@13.4.19_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\server\lib\router-server.js:254:29)
at async handleRequest (C:\Users\mikhe\OneDrive\Documents\GitHub\reviews-website\node_modules\.pnpm\next@13.4.19_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\server\lib\router-server.js:447:24)
at async requestHandler (C:\Users\mikhe\OneDrive\Documents\GitHub\reviews-website\node_modules\.pnpm\next@13.4.19_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\server\lib\router-server.js:464:13)
at async Server.<anonymous> (C:\Users\mikhe\OneDrive\Documents\GitHub\reviews-website\node_modules\.pnpm\next@13.4.19_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\server\lib\start-server.js:117:13) {
cause: Error: connect ECONNREFUSED ::1:50641
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 50641
}
}
15 Replies
I have this issue as well and the only solution I've found is downgrading to 13.4.2 :/
Sun bearOP
i dont have time for that
Slender-billed Curlew
I'm also facing the same issue in the development build .
I have to restart the server to fix it
I have to restart the server to fix it
Sun bearOP
i have to finish my project in 3 days i dont want to mess up
xD
Slender-billed Curlew
Yeah ðŸ‘, but it is quite irritating all the time
To restart it
yeah, my laptop is really slow
dev server takes 40 or so seconds (with turbopack) to render hello world from running
next dev
so restarting all the time is quite a waste of timeSun bearOP
i have gaming laptop but it still cannot handle web dev
🤣
@Excigma I have this issue as well and the only solution I've found is downgrading to 13.4.2 :/
I don't believe there were [m]any breaking changes - downgrading just worked for me
obviously telling people to downgrade isn't great :( I don't know if any solutions and if you search
maybe you'll lose out on some bug fixes and performance improvements but I take it over the random
obviously telling people to downgrade isn't great :( I don't know if any solutions and if you search
econnrefused
it has been going on since August - in fact I was searching this to see if it had been fixedmaybe you'll lose out on some bug fixes and performance improvements but I take it over the random
econnrefused
which happens in production for me as wellSun bearOP
for self project i will try other framework
Answer
:/