SudhanPlayz / Discord-MusicBot

An advanced discord music bot, supports Spotify, Soundcloud, YouTube with Shuffling, Volume Control and Web Dashboard with Slash Commands support!
https://musicbot.darrenofficial.com
Other
2.99k stars 2.9k forks source link

The music immediately ended after the music began #1251

Closed LINKlang closed 1 year ago

LINKlang commented 1 year ago

Please describe the problem you are having in as much detail as possible:

The music immediately ended after the music began image image

Essentials:

Relevant client options:

iseeface commented 1 year ago

i recommend you to using v5 version

LINKlang commented 1 year ago

i recommend you to using v5 version

Actually I can't find where Replit switched to v5

LINKlang commented 1 year ago

By the way, I also saw this error on Replit image

LINKlang commented 1 year ago

Try to use Replit to build your own Lavalink server, but there is still a problem image

DarrenOfficial commented 1 year ago

By the way, I also saw this error on Replit image

This is because of incompatible lavalink version for that specific client you are using. In this case, it's erelajs fault. That project is dead, that's why we are moving away from it in v5. It's in this version FYI https://github.com/wtfnotavailable/Discord-MusicBot/tree/feature/DJSv14

theLucasAntunes commented 1 year ago

Exact same error as OP when hosting my own Lavalink server through Replit, running on v5.

By the way, I also saw this error on Replit image

This is because of incompatible lavalink version for that specific client you are using. In this case, it's erelajs fault. That project is dead, that's why we are moving away from it in v5. It's in this version FYI https://github.com/wtfnotavailable/Discord-MusicBot/tree/feature/DJSv14

So should we ignore the CDN? (https://cdn.darrennathanael.com/jars/cogs/Lavalink.jar)

Because the older Lavalink versions had the 403 YouTube error, and the newest ones don't work, so the CDN isn't helping there. Several SSL servers from the official list are also broken, and I suspect they also depend on the latest 3.7.8 Lavalink, which simply doesn't work with MusicBot.

I found only two SSL public servers working but they sometimes are down, so I wanted to host my own, but I didn't find any documentation/issue mentioning a working Lavalink.jar. Probably a modified one is needed?