lavaplayer icon indicating copy to clipboard operation
lavaplayer copied to clipboard

Lavaplayer completely stopped working without giving any errors

Open MrPotatoezzz opened this issue 10 months ago • 10 comments

Lavaplayer completely stopped playing music. I get no errors in console, so it's basically impossible to debug. Sorry that I can't provide more information, but it is all the information I have.

MrPotatoezzz avatar Mar 30 '24 18:03 MrPotatoezzz

~~Do you log track exception events?~~ Edit: Just seen you're a Lavalink user. You can configure debug logging via your application.yml

devoxin avatar Mar 30 '24 18:03 devoxin

Sorry. I thought I was using lavalink, but I'm using Lavaplayer. I do not log track events. Lavaplayer worked perfectly fine for the past few months. It only broke once when it needed to be updated, but it doesn't seem like there is a newer version available right now This is the maven dependency I use:

<dependency>
       <groupId>dev.arbjerg</groupId>
       <artifactId>lavaplayer</artifactId>
       <version>2.1.1</version>
     </dependency>
```` .

MrPotatoezzz avatar Mar 30 '24 20:03 MrPotatoezzz

I do not log track events

You should. If there's an error, it'll tell you.

Lavaplayer worked perfectly fine for the past few months. It only broke once when it needed to be updated

This doesn't matter. Lavaplayer's scraping nature means stuff will break with no notice.

it doesn't seem like there is a newer version available right now

There is, it's on the use-web-client branch.

devoxin avatar Mar 30 '24 20:03 devoxin

I am also experiencing some issues, I do not get a stacktrace, but the friendly exception does give me some info: Could not load track: Video returned by YouTube isn't what was requested

JustRed23 avatar Mar 30 '24 21:03 JustRed23

I am also experiencing some issues, I do not get a stacktrace, but the friendly exception does give me some info: Could not load track: Video returned by YouTube isn't what was requested

#84, #89

devoxin avatar Mar 30 '24 21:03 devoxin

Unfortunately, I also encountered a similar problem with launching tracks from Youtube. Everything was working great, but a couple of weeks ago my bot would sometimes stop playing tracks, throwing a FriendlyException. After the release of version 2.1.1, I immediately updated LavaPlayer and the problem went away for a while, but now it has returned again and for the second day any track from Youtube returns FriendlyException with the COMMON severity type. I will be glad if you can find a solution to this problem or at least a workaround

Korolz avatar Mar 31 '24 15:03 Korolz

Unfortunately, I also encountered a similar problem with launching tracks from Youtube. Everything was working great, but a couple of weeks ago my bot would sometimes stop playing tracks, throwing a FriendlyException. After the release of version 2.1.1, I immediately updated LavaPlayer and the problem went away for a while, but now it has returned again and for the second day any track from Youtube returns FriendlyException with the COMMON severity type. I will be glad if you can find a solution to this problem or at least a workaround

And those exceptions are usually accompanied with a message and possibly a stacktrace. What you have provided is everything but and basically impossible to diagnose any errors from as there are so many COMMON severity FriendlyExceptions.

If I had to guess, you're experiencing the same issue as everyone else in the thread.

#84 #89

devoxin avatar Mar 31 '24 18:03 devoxin

For anyone else who was struggling to find the dependency that fixes this:

  <repository>
  	<id>arbjergDev-snapshots</id>
  	<name>Lavalink Repository</name>
  	<url>https://maven.lavalink.dev/snapshots</url>
  </repository>

<dependency>
  <groupId>dev.arbjerg</groupId>
  <artifactId>lavaplayer</artifactId>
  <version>0eaeee195f0315b2617587aa3537fa202df07ddc-SNAPSHOT</version>
</dependency>

JamesEArnold avatar Apr 03 '24 19:04 JamesEArnold

Any bump ups on the branch? Since its 4 commits behind with a few quality of life changes.

DxsSucuk avatar May 03 '24 16:05 DxsSucuk

Use https://github.com/lavalink-devs/youtube-source/

topi314 avatar May 03 '24 16:05 topi314