question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Playing YouTube videos causes an exception

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
sedmelluqcommented, Feb 7, 2018

Fixed, update to 1.2.47.

3reactions
Thewsomeguycommented, Feb 7, 2018

Could be related to youtube changing sigs. https://github.com/fent/node-ytdl-core/issues/282

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found