#TypeError: fetch failed

42 messages · Page 1 of 1 (latest)

cosmic stone
#
TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11600:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async invokeRequest (/home/neon/dev/portfolio/node_modules/next/dist/server/lib/server-ipc/invoke-request.js:17:12)
    at async invokeRender (/home/neon/dev/portfolio/node_modules/next/dist/server/lib/router-server.js:254:29)
    at async handleRequest (/home/neon/dev/portfolio/node_modules/next/dist/server/lib/router-server.js:447:24)
    at async requestHandler (/home/neon/dev/portfolio/node_modules/next/dist/server/lib/router-server.js:464:13)
    at async Server.<anonymous> (/home/neon/dev/portfolio/node_modules/next/dist/server/lib/start-server.js:117:13) {
  cause: Error: connect ECONNREFUSED ::1:42933
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16) {
    errno: -111,
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '::1',
    port: 42933
  }
}

I get this error randomly while wokring on my project

true kindleBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

simple ledge
#

Seems you are trying to connect to other server which is blocked or not accessible

terse forge
cosmic stone
cosmic stone
#

it's just a static client-side portfolio site, with some threejs stuff

simple ledge
#

Wel I thought you were going to do the connection thing

terse forge
#

at least show a screen share, an error message is not enough to help you

cosmic stone
#

and i have to restart

#

It's also pretty hard to reproduce, as it randomly appears sometimes when I reload the website

terse forge
cosmic stone
#

Nope

terse forge
#

does this error happen locally

cosmic stone
terse forge
#

delete node modules and do npm install again

cosmic stone
#

btw im using yarn, is that somehow might be an issue

#

also, I say let's leave this thread open for a while, as I can't confirm right away if the issue is fixed or not.

terse forge
#

try wiht npm wont hurt

cosmic stone
stark verge
#

there is a GitHub issue where at least one person says it persists...

cosmic stone
#

I have upgraded, let's see how things go

stark verge
#

fingers crossed... I think someone mentioned running out of memory and a worker thread crashing

#

and the requests get sent to a crashed worker so econnrefused?

rigid shuttle
#

yes either 13.5.1 or 13.4.12 should work

#

try 13.5.1 first

#

if it doesn't work then go to 13.4.12 where it will definitely work

stark verge
#

memory usage is very high though, my issue might be memory related..

#

next dev server uses 3gb+ ram

rigid shuttle
#

high memory usage is common to everyone and to every version, we have to live with it here

stark verge
#

yeah

#

cries in 8gb

rigid shuttle
#

lol i have 16 GB RAM and still feel it's not enough

cosmic stone