Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem appeared again: Video returned by YouTube isn't what was requested #97

Closed
Arskamann opened this issue Apr 11, 2024 · 9 comments
Closed

Comments

@Arskamann
Copy link

So this had already been fixed in 727959e-SNAPSHOT

but it appeared again, any solutions? All youtube tracks fail.

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Video returned by YouTube isn't what was requested
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.load(DefaultYoutubeTrackDetailsLoader.java:59)
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadDetails(DefaultYoutubeTrackDetailsLoader.java:36)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadTrackWithVideoId(YoutubeAudioSourceManager.java:230)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.track(YoutubeAudioSourceManager.java:254)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.track(YoutubeAudioSourceManager.java:250)
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromUrlWithVideoId(DefaultYoutubeLinkRouter.java:103)
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromMainDomain(DefaultYoutubeLinkRouter.java:68)
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.route(DefaultYoutubeLinkRouter.java:46)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:218)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:149)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:412)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:394)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.loadItemSync(DefaultAudioPlayerManager.java:156)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$loadItem$0(DefaultAudioPlayerManager.java:175)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.IllegalStateException: {"responseContext":{"serviceTrackingParams":[{"service":"GFEEDBACK","params":[{"key":"ipcc","value":"0"},{"key":"is_viewed_live","value":"False"},{"key":"is_alc_surface","value":"false"},{"key":"logged_in","value":"0"},{"key":"e","value":"23858058,23888717,23946420,23966208,23983296,23998056,24004644,24036947,24077241,24078649,24080738,24117491,24120820,24135310,24135943,24143331,24166867,24181174,24187377,24230811,24232551,24241378,24265964,24267186,24290971,24299875,24377598,2439798

@devoxin
Copy link
Member

devoxin commented Apr 11, 2024

Are you using IP rotation?

@Arskamann
Copy link
Author

Arskamann commented Apr 11, 2024

Are you using IP rotation?

I don't think so. My friend also has this problem now and he does not use it either

@Arskamann
Copy link
Author

Are you using IP rotation?

Nice, I switched my bot to another ip and it works. Youtube has blocked my main IP :DDD

@l-landgraf
Copy link

I have the same problem. Im getting this error on the server as well as on my development-machine. i have tried using a vpn on my development machine (proton-vpn), still does not work.

@duncte123
Copy link
Contributor

I have the same problem. Im getting this error on the server as well as on my development-machine. i have tried using a vpn on my development machine (proton-vpn), still does not work.

Join the lavalink discord server, we have patch that you can include

@l-landgraf
Copy link

yep that works, thanks!

@DisruptionSystemsINC
Copy link

I have the same problem. Im getting this error on the server as well as on my development-machine. i have tried using a vpn on my development machine (proton-vpn), still does not work.

Join the lavalink discord server, we have patch that you can include

Will there be a fix merged into the maven repo?

@devoxin
Copy link
Member

devoxin commented Apr 20, 2024

No. The built-in youtube source will be getting deprecated and phased out in favour of https://github.com/lavalink-devs/youtube-source.

@devoxin
Copy link
Member

devoxin commented Apr 22, 2024

Users still experiencing this issue after upgrading to the new Lavaplayer jar or to youtube-source are advised to enable IP rotation as this issue stems from being detected as bot, and blocked.

If you continue to encounter this problem even with IP rotation, please track this under issue #90.

Closing due to duplication/issue consolidation.

@devoxin devoxin closed this as completed Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants