Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord.js v14 ConnectTimeoutError: Connect Timeout Error (attempted addresses: 162.159.136.232:443) #3949

Open
parkerline opened this issue Dec 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@parkerline
Copy link

NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: destroy
NET 160410: close
NET 160410: close handle
[ERROR] ConnectTimeoutError: Connect Timeout Error (attempted addresses: 162.159.138.232:443)
ConnectTimeoutError: Connect Timeout Error (attempted addresses: 162.159.138.232:443)
at onConnectTimeout (/home/lunacy/moderation/node_modules/@discordjs/rest/node_modules/undici/lib/core/connect.js:190:24)
at /home/lunacy/moderation/node_modules/@discordjs/rest/node_modules/undici/lib/core/connect.js:133:46
at Immediate._onImmediate (/home/lunacy/moderation/node_modules/@discordjs/rest/node_modules/undici/lib/core/connect.js:174:9)
at process.processImmediate (node:internal/timers:491:21)
NET 160410: pipe false undefined
NET 160410: connect: find host discord.com
NET 160410: connect: dns options { family: undefined, hints: 32 }
NET 160410: connect: autodetecting
NET 160410: pipe false undefined
NET 160410: connect: find host discord.com
NET 160410: connect: dns options { family: undefined, hints: 32 }
NET 160410: connect: autodetecting
NET 160410: _read - n 16384 isConnecting? true hasHandle? true
NET 160410: _read wait for connection
NET 160410: _read - n 16384 isConnecting? true hasHandle? true
NET 160410: _read wait for connection
NET 160410: emit close
NET 160410: connect/multiple: will try the following addresses [
{ address: '162.159.136.232', family: 4 },
{ address: '162.159.135.232', family: 4 },
{ address: '162.159.128.233', family: 4 },
{ address: '162.159.137.232', family: 4 },
{ address: '162.159.138.232', family: 4 }
]
NET 160410: connect/multiple: attempting to connect to 162.159.136.232:443 (addressType: 4)
NET 160410: connect/multiple: setting the attempt timeout to 250 ms
NET 160410: connect/multiple: will try the following addresses [
{ address: '162.159.128.233', family: 4 },
{ address: '162.159.138.232', family: 4 },
{ address: '162.159.137.232', family: 4 },
{ address: '162.159.135.232', family: 4 },
{ address: '162.159.136.232', family: 4 }
]
NET 160410: connect/multiple: attempting to connect to 162.159.128.233:443 (addressType: 4)
NET 160410: connect/multiple: setting the attempt timeout to 250 ms
NET 160410: connect/multiple: connection attempt to 162.159.136.232:443 completed with status 0
NET 160410: afterConnect
NET 160410: _read - n 16384 isConnecting? false hasHandle? true
NET 160410: Socket._handle.readStart
NET 160410: connect/multiple: connection attempt to 162.159.128.233:443 completed with status 0
NET 160410: afterConnect
NET 160410: _read - n 16384 isConnecting? false hasHandle? true
NET 160410: Socket._handle.readStart
NET 160410: _read - n 16384 isConnecting? false hasHandle? true
NET 160410: _read - n 16384 isConnecting? false hasHandle? true
NET 160410: _read - n 16384 isConnecting? false hasHandle? true
NET 160410: pipe false undefined
NET 160410: connect: find host discord.com
NET 160410: connect: dns options { family: undefined, hints: 32 }
NET 160410: connect: autodetecting
NET 160410: _read - n 16384 isConnecting? true hasHandle? true
NET 160410: _read wait for connection
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: connect/multiple: will try the following addresses [
{ address: '162.159.128.233', family: 4 },
{ address: '162.159.137.232', family: 4 },
{ address: '162.159.138.232', family: 4 },
{ address: '162.159.136.232', family: 4 },
{ address: '162.159.135.232', family: 4 }
]
NET 160410: connect/multiple: attempting to connect to 162.159.128.233:443 (addressType: 4)
NET 160410: connect/multiple: setting the attempt timeout to 250 ms
NET 160410: connect/multiple: connection attempt to 162.159.128.233:443 completed with status 0
NET 160410: afterConnect
NET 160410: _read - n 16384 isConnecting? false hasHandle? true
NET 160410: Socket._handle.readStart
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 16384 isConnecting? false hasHandle? true
NET 160410: _read - n 16384 isConnecting? false hasHandle? true
[ERROR] Ошибка Discord.js: DiscordAPIError[10062]: Unknown interaction
at handleErrors (/home/lunacy/moderation/node_modules/@discordjs/rest/dist/index.js:727:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async BurstHandler.runRequest (/home/lunacy/moderation/node_modules/@discordjs/rest/dist/index.js:831:23)
at async _REST.request (/home/lunacy/moderation/node_modules/@discordjs/rest/dist/index.js:1272:22)
at async ChatInputCommandInteraction.reply (/home/lunacy/moderation/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:115:5)
at async CustomClient. (/home/lunacy/moderation/src/handlers/loadCommands.js:104:25)
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
^C[WARN] Получен сигнал завершения работы...
[WARN] Отключение от Discord...
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: _final: not ended, call shutdown()
NET 160410: _read - n 65536 isConnecting? false hasHandle? true
NET 160410: afterShutdown destroyed=false
NET 160410: destroy
NET 160410: close
NET 160410: close handle
NET 160410: emit close

@parkerline parkerline added the bug Something isn't working label Dec 15, 2024
@metcoder95
Copy link
Member

Can you provide an
Minimum Reproducible Example to be able to support you?

From small review of your logs, it just seems the host is not reachable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants