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'
}


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
Was this page helpful?