how to fix error "Cannot performIP discovery socket closed"

Hello, I am getting the error below when connecting to a voice channel for a while. I don't know if there is any way to fix it?
Unhandled promise rejection: Error: Cannot perform
IP discovery socket closed
at Socket.<anonymous> (/home/container/node_mo dules/@discordjs/voice/dist/index.js:364: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: int ernal/process/task_queues:81:21)
Unhandled promise rejection: Error: Cannot perform
IP discovery socket closed
at Socket.<anonymous> (/home/container/node_mo dules/@discordjs/voice/dist/index.js:364: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: int ernal/process/task_queues:81:21)
3 Replies
d.js toolkit
d.js toolkit13mo 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!
๖ۣۜEris 🎃
๖ۣۜEris 🎃OP13mo ago
I use host node free That's right. My bot has been stuck in the voice channel for a while oh. Let me try contacting the hosting side again
dzlandis
dzlandis13mo ago
Can you elaborate on how you got to this conclusion? I'm having a similar error. Also, is it possible that this could cause a full bot crash even if the error is being 'handled'? I just checked and I don't think I have any firewalls so UDP ports should be allowed. That said, I still get this error every now and again
Want results from more Discord servers?
Add your server