IP discovery - socket closed

[Error_Handling] :: Unhandled Rejection
Error: Cannot perform IP discovery - socket closed
at Socket.<anonymous> (C:\Users\Administrator\Desktop\Jaz-ceo-Music\Desktop-edit\Jaz Music\node_modules\@discordjs\voice\dist\index.js:373:46)
at Object.onceWrapper (node:events:631:28)
at Socket.emit (node:events:529:35)
at socketCloseNT (node:dgram:766:8)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21) Promise {
<rejected> Error: Cannot perform IP discovery - socket closed
at Socket.<anonymous> (C:\Users\Administrator\Desktop\Jaz-ceo-Music\Desktop-edit\Jaz Music\node_modules\@discordjs\voice\dist\index.js:373:46)
at Object.onceWrapper (node:events:631:28)
at Socket.emit (node:events:529:35)
at socketCloseNT (node:dgram:766:8)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
}
[Error_Handling] :: Unhandled Rejection
Error: Cannot perform IP discovery - socket closed
at Socket.<anonymous> (C:\Users\Administrator\Desktop\Jaz-ceo-Music\Desktop-edit\Jaz Music\node_modules\@discordjs\voice\dist\index.js:373:46)
at Object.onceWrapper (node:events:631:28)
at Socket.emit (node:events:529:35)
at socketCloseNT (node:dgram:766:8)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21) Promise {
<rejected> Error: Cannot perform IP discovery - socket closed
at Socket.<anonymous> (C:\Users\Administrator\Desktop\Jaz-ceo-Music\Desktop-edit\Jaz Music\node_modules\@discordjs\voice\dist\index.js:373:46)
at Object.onceWrapper (node:events:631:28)
at Socket.emit (node:events:529:35)
at socketCloseNT (node:dgram:766:8)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
}
2 Replies
d.js toolkit
d.js toolkit5w ago
- What are your intents? GuildVoiceStates is required to receive voice data! - Show what dependencies you are using -- generateDependencyReport() is exported from @discordjs/voice. - Try looking at common examples: https://github.com/discordjs/voice-examples. - 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
Jazz
JazzOP5w ago
Yo guys i have this error on my cmd without this my bots work but sometime when i try to play a music the bot leave the channel then reconnect without this bots works perfectly

Did you find this page helpful?