Playing YouTube videos causes an exception
See original GitHub issueI get the following exception:
[lava-daemon-pool-playback-1-thread-1] ERROR com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor - Error in playback of 2Vv-BfVoq4g
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:40)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:102)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:348)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Must find action functions from script: /yts/jsbin/player-vflBjp0_H/fr_FR/base.js
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.extractTokensFromScript(YoutubeSignatureCipherManager.java:185)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.getCipherKeyFromScript(YoutubeSignatureCipherManager.java:141)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.getValidUrl(YoutubeSignatureCipherManager.java:100)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:99)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:60)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:90)
... 4 more
Every single time I try and play a video, this exception gets thrown.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How to Fix “An Error Occurred Please Try Again Later” on ...
The error message usually appears when you try to play any YouTube video because what's causing it affects the entire platform.
Read more >47614 - Set cookie exception cause all youtube video failed to ...
Issue 47614: Set cookie exception cause all youtube video failed to play · 1. go in content settings->cookie and check Block sites from...
Read more >[Fix] 'Unhandled Exception has Occurred in your Application ...
Read More: https://appuals.com/how-to-fix-the-unhandled- exception -has-occurred-in-your-application-error- on -windows/
Read more >How to fix a fatal exception error - YouTube
When a program gives an exception which invalid or unknown, then you will see a fatal exception error in Windows. In this video,...
Read more >How to Fix the 'Unhandled Exception Has Occurred' Error In ...
Your browser can't play this video. ... Issues addressed in this tutorial: unhandled exception has occurred in your application unhandled ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed, update to
1.2.47
.Could be related to youtube changing sigs. https://github.com/fent/node-ytdl-core/issues/282