- [FATAL] - Error [VOICE_CONNECTION_TIMEOUT]
Osprey010 opened this issue ยท 0 comments
Osprey010 commented
๐ Describe the Bug
When starting the bot after setting up the config it launches just fine but after 15 seconds it crashes do to not being able to establish a voice connection. In discord it connects to the voice chanel just fine.
โ๏ธ Steps to Reproduce
- Go to '/discord-music-24-7'
- Type 'npm start'
- See error...
๐ Expected Behavior
it should behave like expected since I haven't done any tinkering with the code yet.
๐ Log
osprey@gameserver1:~/Documents/discord-music-24-7$ npm start
> discord-music-24-7@4.2.1 start
> node ./src/app.js
(12:32:38 AM) - [INFO] - Registered Miscellaneous Commands (id: misc) command group.
(12:32:38 AM) - [INFO] - Registered Player Commands (id: player) command group.
(12:32:38 AM) - [INFO] - Registered help in Miscellaneous Commands.
(12:32:38 AM) - [INFO] - Registered skip in Player Commands.
(12:32:39 AM) - [INFO] - Refresh interval has been disabled.
(12:32:39 AM) - [INFO] - Connected to Discord! - Ready.
(12:32:39 AM) - [INFO] - Presence updated to: โผ Nothing to play
(12:32:39 AM) - [INFO] - Joined Streaming in Music streaming on radio.
(12:32:39 AM) - [INFO] - User Music player has joined Streaming.
(12:32:54 AM) - [FATAL] - Error [VOICE_CONNECTION_TIMEOUT]: Connection not established within 15 seconds.
at VoiceConnection.authenticateFailed (/home/osprey/Documents/discord-music-24-7/node_modules/discord.js/src/client/voice/VoiceConnection.js:303:26)
at /home/osprey/Documents/discord-music-24-7/node_modules/discord.js/src/client/voice/VoiceConnection.js:324:61
at Timeout.<anonymous> (/home/osprey/Documents/discord-music-24-7/node_modules/discord.js/src/client/BaseClient.js:83:7)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7) {
[Symbol(code)]: 'VOICE_CONNECTION_TIMEOUT'
}
๐ท Screenshots
โ Other Information
- Node Version:
v20.2.0
- The displayed / commands in the uper middle are from another bot that I used earlier.