LavaPlayer "Unexpected response from YouTube"
ericyoondotcom opened this issue ยท 0 comments
Around this week, LavaPlayer has been producing "Unexpected response from YouTube" errors more frequently; now, it is to the point where no tracks are able to be played.
Stack Trace
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: [MinecraftManhunt] Load track intro failed: Received unexpected response from YouTube.
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Received unexpected response from YouTube.
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.load(DefaultYoutubeTrackDetailsLoader.java:76)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadDetails(DefaultYoutubeTrackDetailsLoader.java:26)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadTrackWithVideoId(YoutubeAudioSourceManager.java:200)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.track(YoutubeAudioSourceManager.java:224)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.track(YoutubeAudioSourceManager.java:220)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromUrlWithVideoId(DefaultYoutubeLinkRouter.java:96)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromMainDomain(DefaultYoutubeLinkRouter.java:61)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.route(DefaultYoutubeLinkRouter.java:39)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:188)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:127)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:437)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:419)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:218)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.tools.OrderedExecutor$ChannelRunnable.executeQueue(OrderedExecutor.java:98)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.tools.OrderedExecutor$ChannelRunnable.run(OrderedExecutor.java:87)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at java.lang.Thread.run(Thread.java:745)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: Caused by: java.lang.RuntimeException: Failed to parse: [
(a large blob of the actual content of the fetched page is here)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: {"page":"watch","timing":{"info":{"st":301}}}]
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]:
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: ... 19 more
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: Caused by: java.lang.RuntimeException: No player info block.
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.load(DefaultYoutubeTrackDetailsLoader.java:62)
[11:07:22] [lava-daemon-pool-info-loader-2-thread-1/WARN]: ... 18 more
Attempted Fixes
- Tried using a VPN; didn't work. The error response doesn't seem to be due to an IP ban.
- Tried reenabling loading all tracks on startup. Did not fix, meaning the bug was not introduced in e87ba4d