UND_ERR_CONNECT_TIMEOUT

My bot was fine before, but starting today I made 1 small update and recieved this:
/home/container/node_modules/undici/lib/core/connect.js:182
util.destroy(socket, new ConnectTimeoutError())
^
ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout (/home/container/node_modules/undici/lib/core/connect.js:182:24)
at /home/container/node_modules/undici/lib/core/connect.js:129:46
at Immediate._onImmediate (/home/container/node_modules/undici/lib/core/connect.js:170:9)
at processImmediate (node:internal/timers:478:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
/home/container/node_modules/undici/lib/core/connect.js:182
util.destroy(socket, new ConnectTimeoutError())
^
ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout (/home/container/node_modules/undici/lib/core/connect.js:182:24)
at /home/container/node_modules/undici/lib/core/connect.js:129:46
at Immediate._onImmediate (/home/container/node_modules/undici/lib/core/connect.js:170:9)
at processImmediate (node:internal/timers:478:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
My code was fine before, but it started recently. My client code is just this: https://raw.githubusercontent.com/FortressBot/fortress/beta/src/structures/Client.ts
2 Replies
d.js toolkit
d.js toolkit11mo 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 OP
monbrey
monbrey11mo ago
This is a connection issue, not really discord.js related Will be an issue with your host networking
Want results from more Discord servers?
Add your server