Getting this error a lot on my self host PC

node:internal/process/promises:288 triggerUncaughtException(err, true /* fromPromise */); ^ ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (/home/hk/Disc/dbot.js/dbjs/dbjs/node_modules/undici/lib/core/connect.js:182:24) at /home/hk/Disc/dbot.js/dbjs/dbjs/node_modules/undici/lib/core/connect.js:129:46 at Immediate._onImmediate (/home/hk/Disc/dbot.js/dbjs/dbjs/node_modules/undici/lib/core/connect.js:170:9) at process.processImmediate (node:internal/timers:476:21) { code: 'UND_ERR_CONNECT_TIMEOUT' } idk how to mitigate it
10 Replies
d.js toolkit
d.js toolkit9mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
treble/luna
treble/luna9mo ago
thats a network issue
dragonn
dragonn9mo ago
it is hapenning frequently... not really a network issue...but like something is forcefully disconnecting it... for e.g i am working on it using commands and suddenly it shuts diwn...and when i check it is offlie/crashed coz of this error
treble/luna
treble/luna9mo ago
its not djs related though
dragonn
dragonn9mo ago
normally it doesnt disconnect even when i lose internet and if i am nit wrong it tries to re-connect before actually shutting itself off...but with this error it jut shuts down randomly and quickly wuth no warning also tell what error it signifies or where should i go to correct it
treble/luna
treble/luna9mo ago
this error points to a network issue or dns issue
dragonn
dragonn9mo ago
i have used traceroute function with apt repository and 8.8.8.8 and it was successfull... i also put cybrary and it tookme there... how to check dns issue more correctly
treble/luna
treble/luna9mo ago
#other-js-ts #useful-servers
godashun
godashun9mo ago
hi
treble/luna
treble/luna9mo ago
Keep chatting to #general , dont just join random threads