why i am getting this and how to fix ?

0|sharded-client | (3:08:07 PM) - [WARN] - ----- Unhandled Rejection -----
0|sharded-client | (3:08:07 PM) - [ERROR] - Error: Cannot perform IP discovery - socket closed
0|sharded-client | at Socket.<anonymous> (file:///home/ubuntu/ST-Manager/node_modules/@discordjs/voice/dist/index.mjs:309:46)
0|sharded-client | at Object.onceWrapper (node:events:632:28)
0|sharded-client | at Socket.emit (node:events:530:35)
0|sharded-client | at socketCloseNT (node:dgram:765:8)
0|sharded-client | at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
0|sharded-client | (3:08:07 PM) - [WARN] - ----- Unhandled Rejection -----
0|sharded-client | (3:08:07 PM) - [ERROR] - Error: Cannot perform IP discovery - socket closed
0|sharded-client | at Socket.<anonymous> (file:///home/ubuntu/ST-Manager/node_modules/@discordjs/voice/dist/index.mjs:309:46)
0|sharded-client | at Object.onceWrapper (node:events:632:28)
0|sharded-client | at Socket.emit (node:events:530:35)
0|sharded-client | at socketCloseNT (node:dgram:765:8)
0|sharded-client | at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
10 Replies
d.js toolkit
d.js toolkit10mo 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!
Resident Of Prey
Resident Of Prey10mo ago
can you show your code
youngdragon77
youngdragon77OP10mo ago
whole code ?
Resident Of Prey
Resident Of Prey10mo ago
whatever part you get the err from do you have a command?
youngdragon77
youngdragon77OP10mo ago
no when i am starting the bot it is giving this err
Resident Of Prey
Resident Of Prey10mo ago
ok show your code in which you have used this
Resident Of Prey
Resident Of Prey10mo ago
use a .catch() on this line await ttsPlayer.voice.connect(memberChannel); and see if it tells anything different
youngdragon77
youngdragon77OP10mo ago
ok
0|sharded-client | (3:46:42 PM) - [WARN] - ----- Uncaught Exception Monitor -----
0|sharded-client | (3:46:42 PM) - [ERROR] - Error: getaddrinfo EAI_AGAIN hongkong1562.discord.media
0|sharded-client | at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
0|sharded-client | errno: -3001,
0|sharded-client | code: 'EAI_AGAIN',
0|sharded-client | syscall: 'getaddrinfo',
0|sharded-client | hostname: 'hongkong1562.discord.media'
0|sharded-client | }
0|sharded-client | (3:46:42 PM) - [WARN] - ----- Uncaught Exception -----
0|sharded-client | (3:46:42 PM) - [ERROR] - Error: getaddrinfo EAI_AGAIN hongkong1562.discord.media
0|sharded-client | at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
0|sharded-client | errno: -3001,
0|sharded-client | code: 'EAI_AGAIN',
0|sharded-client | syscall: 'getaddrinfo',
0|sharded-client | hostname: 'hongkong1562.discord.media'
0|sharded-client | }
0|sharded-client | (3:46:42 PM) - [WARN] - ----- Uncaught Exception Monitor -----
0|sharded-client | (3:46:42 PM) - [ERROR] - Error: getaddrinfo EAI_AGAIN hongkong1562.discord.media
0|sharded-client | at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
0|sharded-client | errno: -3001,
0|sharded-client | code: 'EAI_AGAIN',
0|sharded-client | syscall: 'getaddrinfo',
0|sharded-client | hostname: 'hongkong1562.discord.media'
0|sharded-client | }
0|sharded-client | (3:46:42 PM) - [WARN] - ----- Uncaught Exception -----
0|sharded-client | (3:46:42 PM) - [ERROR] - Error: getaddrinfo EAI_AGAIN hongkong1562.discord.media
0|sharded-client | at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
0|sharded-client | errno: -3001,
0|sharded-client | code: 'EAI_AGAIN',
0|sharded-client | syscall: 'getaddrinfo',
0|sharded-client | hostname: 'hongkong1562.discord.media'
0|sharded-client | }
0|sharded-client | (3:49:00 PM) - [ERROR] - Error: Cannot perform IP discovery - socket closed
0|sharded-client | at Socket.<anonymous> (file:///home/ubuntu/ST-Manager/node_modules/@discordjs/voice/dist/index.mjs:309:46)
0|sharded-client | at Object.onceWrapper (node:events:632:28)
0|sharded-client | at Socket.emit (node:events:530:35)
0|sharded-client | at socketCloseNT (node:dgram:765:8)
0|sharded-client | (3:49:00 PM) - [ERROR] - Error: Cannot perform IP discovery - socket closed
0|sharded-client | at Socket.<anonymous> (file:///home/ubuntu/ST-Manager/node_modules/@discordjs/voice/dist/index.mjs:309:46)
0|sharded-client | at Object.onceWrapper (node:events:632:28)
0|sharded-client | at Socket.emit (node:events:530:35)
0|sharded-client | at socketCloseNT (node:dgram:765:8)
new erros no i am using vps of oracle ashburn region
ThePedroo
ThePedroo10mo ago
Can you nslookup the Discord voice gw?
Want results from more Discord servers?
Add your server