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 it10 Replies
- 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 staffthats a network issue
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
its not djs related though
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
this error points to a network issue
or dns issue
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
#other-js-ts #useful-servers
hi
Keep chatting to #general , dont just join random threads