Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- [FATAL] - Error [VOICE_CONNECTION_TIMEOUT] #89

Open
Osprey010 opened this issue Jul 13, 2023 · 0 comments
Open

- [FATAL] - Error [VOICE_CONNECTION_TIMEOUT] #89

Osprey010 opened this issue Jul 13, 2023 · 0 comments
Labels
Type: Bug This is a bug report.

Comments

@Osprey010
Copy link

🐛 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

  1. Go to '/discord-music-24-7'
  2. Type 'npm start'
  3. 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

Screenshot (40)

❓ Other Information

  • Node Version: v20.2.0
  • The displayed / commands in the uper middle are from another bot that I used earlier.
@Osprey010 Osprey010 added the Type: Bug This is a bug report. label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug This is a bug report.
Projects
None yet
Development

No branches or pull requests

1 participant