Jonny
Jonny
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Jonny on 5/12/2024 in #djs-questions
Connection Timed Out
Just uploaded my bot to a vps after rewriting it entirely in ts. Not a single issue locally but now on the vps I get this error.
/root/Sailor-Moon/node_modules/undici/lib/core/connect.js:190
util.destroy(socket, new ConnectTimeoutError(message))
^
ConnectTimeoutError: Connect Timeout Error (attempted addresses: 162.159.137.232:443)
at onConnectTimeout (/root/Sailor-Moon/node_modules/undici/lib/core/connect.js:190:24)
at /root/Sailor-Moon/node_modules/undici/lib/core/connect.js:133:46
at Immediate._onImmediate (/root/Sailor-Moon/node_modules/undici/lib/core/connect.js:174:9)
at processImmediate (node:internal/timers:478:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
[nodemon] app crashed - waiting for file changes before starting...
/root/Sailor-Moon/node_modules/undici/lib/core/connect.js:190
util.destroy(socket, new ConnectTimeoutError(message))
^
ConnectTimeoutError: Connect Timeout Error (attempted addresses: 162.159.137.232:443)
at onConnectTimeout (/root/Sailor-Moon/node_modules/undici/lib/core/connect.js:190:24)
at /root/Sailor-Moon/node_modules/undici/lib/core/connect.js:133:46
at Immediate._onImmediate (/root/Sailor-Moon/node_modules/undici/lib/core/connect.js:174:9)
at processImmediate (node:internal/timers:478:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
[nodemon] app crashed - waiting for file changes before starting...
2 replies