lavalink-devs / lavaplayer

Lavaplayer fork maintained by Lavalink
Apache License 2.0
187 stars 51 forks source link

YouTube auth tokens can't be retrieved #95

Closed pbzdok closed 7 months ago

pbzdok commented 7 months ago

Lavaplayer stopped working for me. I'm using version 2.1.1.

After restarting my application and trying to play the first track I notice following logs:

[lava-daemon-pool-info-loader-2-thread-1] WARN com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAccessTokenTracker - YouTube auth tokens can't be retrieved because email and password is not set in YoutubeAudioSourceManager, age restricted videos will throw exceptions.
[lava-daemon-pool-info-loader-2-thread-1] INFO com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAccessTokenTracker - Updating YouTube visitor id (current is null).
[lava-daemon-pool-info-loader-2-thread-1] INFO com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAccessTokenTracker - Updating YouTube visitor id succeeded, new one is <redacted>, next update will be after 600 seconds.

Following this my AudioLoadResultHandler runs the function loadFailed(FriendlyException exception). Unfortunately I do not log the exception. I will try to provide more info when I got time.

This might be related to https://github.com/lavalink-devs/lavaplayer/issues/90 but not sure.

devoxin commented 7 months ago

This is not an error.

You are also using an outdated version of Lavaplayer. Update using the snapshot repository with the artifact ID afec211f05c9dcf0b6ee44276a02f0316ea2458a-SNAPSHOT.

Duplicate of #84 #89

pbzdok commented 7 months ago

I see, thanks for the fast response! Sorry for not checking the closed issues.