what does this error mean?

C:\Users\SETUP GAME\Documents\project v6\VR community\node_modules\@discordjs\voice\dist\index.js:362
this.socket.once("close", () => reject(new Error("Cannot perform IP discovery - socket closed")));
^

Error: Cannot perform IP discovery - socket closed
at Socket.<anonymous> (C:\Users\SETUP GAME\Documents\project v6\VR community\node_modules\@discordjs\voice\dist\index.js:362:46)
at Object.onceWrapper (node:events:633:28)
at Socket.emit (node:events:531:35)
at socketCloseNT (node:dgram:770:8)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
Emitted 'error' event on VoiceConnection instance at:
at VoiceConnection.onNetworkingError (C:\Users\SETUP GAME\Documents\project v6\VR community\node_modules\@discordjs\voice\dist\index.js:1914:10)
at Networking.emit (node:events:519:28)
at C:\Users\SETUP GAME\Documents\project v6\VR community\node_modules\@discordjs\voice\dist\index.js:729:32
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
C:\Users\SETUP GAME\Documents\project v6\VR community\node_modules\@discordjs\voice\dist\index.js:362
this.socket.once("close", () => reject(new Error("Cannot perform IP discovery - socket closed")));
^

Error: Cannot perform IP discovery - socket closed
at Socket.<anonymous> (C:\Users\SETUP GAME\Documents\project v6\VR community\node_modules\@discordjs\voice\dist\index.js:362:46)
at Object.onceWrapper (node:events:633:28)
at Socket.emit (node:events:531:35)
at socketCloseNT (node:dgram:770:8)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
Emitted 'error' event on VoiceConnection instance at:
at VoiceConnection.onNetworkingError (C:\Users\SETUP GAME\Documents\project v6\VR community\node_modules\@discordjs\voice\dist\index.js:1914:10)
at Networking.emit (node:events:519:28)
at C:\Users\SETUP GAME\Documents\project v6\VR community\node_modules\@discordjs\voice\dist\index.js:729:32
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
1 Reply
d.js toolkit
d.js toolkit2mo 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!
Want results from more Discord servers?
Add your server