hmes98318 / Music-Disc

A Discord music bot, supports YouTube, Spotify, SoundCloud, Deezer streams and web dashboard.
https://musicdisc.ggwp.tw
MIT License
107 stars 105 forks source link

Receiving the following error after attempting to play music: [LavaShark] Error on node #32

Closed WingZeroh closed 1 year ago

WingZeroh commented 1 year ago

Describe the bug After Music-Disc v1.4.2 I am receiving [LavaShark] Error on node whenever attempting to play music.

[2023/09/01 16:44:25] [LavaShark] Error on node "Node 1": An error occurred while updating stats: Unable to connect to the node
[2023/09/01 16:44:26] Unhandled promise rejection: Error: No connected nodes!
    at LavaShark.bestNode (/bot/node_modules/lavashark/dist/src/lib/LavaShark.js:155:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async LavaShark.search (/bot/node_modules/lavashark/dist/src/lib/LavaShark.js:255:22)
    at async Object.execute (/bot/dist/src/commands/play.js:27:17)

To Reproduce Steps to reproduce the behavior:

  1. Install latest Music-Disc version (ie. v2.0.2)
  2. Open Discord and play any music
  3. Bot does not return any message
  4. Bot console logs return the [LavaShark] Error on node message

Expected behavior The bot should play music after the command,

Additional context No issues with v1.4.2

WingZeroh commented 1 year ago

I missed the new Lavalink node configuration. I did not notice the setup has been revamped until reviewing it again today.