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

[Bug Report] : Problematic YouTube player script /s/player/3bb1f723/player_ias.vflset/es_ES/base.js detected #1783

Open
3 tasks done
ericlruby opened this issue Dec 11, 2024 · 30 comments · May be fixed by #1772
Open
3 tasks done

Comments

@ericlruby
Copy link

Bug Description

When y try to play any song the bot connects to the channel but the doesent play anything

Steps to Reproduce

Play any song

Expected Result

Play songs

Debug Output

[ERROR] [SignatureCipherManager]: Problematic YouTube player script /s/player/3bb1f723/player_ias.vflset/es_ES/base.js detected (issue detected with script: no actions match). Dumped to C:\Users\eric\AppData\Local\Temp\lavaplayer-yt-player-script7268486632726946257.js
[19:09:14] [ERROR] [LocalAudioTrackExecutor]: Error in playback of wccRif2DaGs
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:45)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:121)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Must find action functions from script: /s/player/3bb1f723/player_ias.vflset/es_ES/base.js
at dev.lavalink.youtube.cipher.SignatureCipherManager.extractFromScript(SignatureCipherManager.java:235)
at dev.lavalink.youtube.cipher.SignatureCipherManager.getCipherScript(SignatureCipherManager.java:195)
at dev.lavalink.youtube.clients.skeleton.NonMusicClient.loadTrackInfoFromInnertube(NonMusicClient.java:74)
at dev.lavalink.youtube.clients.skeleton.StreamingNonMusicClient.loadFormats(StreamingNonMusicClient.java:35)
at dev.lavalink.youtube.track.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:183)
at dev.lavalink.youtube.track.YoutubeAudioTrack.processWithClient(YoutubeAudioTrack.java:109)
at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:71)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
... 4 common frames omitted
[19:09:14] [ERROR] [AudioHandler]: Track wccRif2DaGs has failed to play
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:45)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:121)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Must find action functions from script: /s/player/3bb1f723/player_ias.vflset/es_ES/base.js
at dev.lavalink.youtube.cipher.SignatureCipherManager.extractFromScript(SignatureCipherManager.java:235)
at dev.lavalink.youtube.cipher.SignatureCipherManager.getCipherScript(SignatureCipherManager.java:195)
at dev.lavalink.youtube.clients.skeleton.NonMusicClient.loadTrackInfoFromInnertube(NonMusicClient.java:74)
at dev.lavalink.youtube.clients.skeleton.StreamingNonMusicClient.loadFormats(StreamingNonMusicClient.java:35)
at dev.lavalink.youtube.track.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:183)
at dev.lavalink.youtube.track.YoutubeAudioTrack.processWithClient(YoutubeAudioTrack.java:109)
at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:71)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
... 4 common frames omitted

Additional Info

No response

Checklist

JMusicBot Version

0.4.3

@bkiela
Copy link

bkiela commented Dec 11, 2024

Got the same error while trying to play youtube urls but from what my very quick and not so thorough tests shown it works fine on SoundCloud, Bandcamp and twitch

@Kalmon
Copy link

Kalmon commented Dec 19, 2024

Same problem. I tested on the local Linux server and on the Windows desktop, without success.

@Djinnistorm
Copy link

Updating lavalink youtube source to latest (1.11.1) resolves this problem.

@darkseid4nk
Copy link

So I grabbed 2 different version from 2 different forks that had the version in the pom.xml updated to use 1.11.1 and it gives the same error.

@Dessolate
Copy link

I am also encountering the same error using the updated branch #1772, even with the change it still won't work.

@SeVile
Copy link

SeVile commented Dec 22, 2024

Works! But use lavalink 1.11.2

@waucey
Copy link

waucey commented Dec 23, 2024

Works! But use lavaplayer 1.11.2

How? I'm a Genuine noob lol

@SeVile
Copy link

SeVile commented Dec 23, 2024

Works! But use lavaplayer 1.11.2

How? I'm a Genuine noob lol

Compile with the specified changes using maven.

@SeVile
Copy link

SeVile commented Dec 23, 2024

Works! But use lavaplayer 1.11.2

How? I'm a Genuine noob lol

https://github.com/SeVile/MusicBot/releases/tag/0.4.3.2

@dani-nagy
Copy link

Works! But use lavaplayer 1.11.2

How? I'm a Genuine noob lol

https://github.com/SeVile/MusicBot/releases/tag/0.4.3.2

Thank you, this worked!

@waucey
Copy link

waucey commented Dec 23, 2024

Works! But use lavaplayer 1.11.2

How? I'm a Genuine noob lol

https://github.com/SeVile/MusicBot/releases/tag/0.4.3.2

Actually my hero, also finally figured out docker too in the process LOL

@Killstreaks-lab
Copy link

I think i did something wrong because the bot still isnt working with youtube and Ive installed docker, added the ytpotoken and ytvisitordata to the congig.txt and entered in the tokens that i got and its still not working. Anyone got a screenshot of how its supposed to look in the config.txt or like a video showing how to do it?

@FaNt4zMa
Copy link

FaNt4zMa commented Dec 26, 2024

@Killstreaks-lab You downloaded 0.4.3.2 from Sevile's fork? Mine works just fine. Heres what my config.txt looks like
image

I just added it to the end and everything worked right away

@Killstreaks-lab
Copy link

Has there been a small update because mine is just 0.4.3 not 0.4.3.2, mine could be slightly outdated I'll have to check when I get home

@FaNt4zMa
Copy link

No, 0.4.3.2 is a fork from another user in this thread. If you scrolled up a bit, the link is posted like 3 times already

@Killstreaks-lab
Copy link

Thanks alot I'm gonna grab it today when I get home and see if that works appreciate the help

@Killstreaks-lab
Copy link

No, 0.4.3.2 is a fork from another user in this thread. If you scrolled up a bit, the link is posted like 3 times already

Yo thanks man that worked really appreciate the help

@MilanTheMan
Copy link

I set it up locally in Docker and it was working perfectly fine but when I deployed it to AWS im getting to following error: com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video requires login

@Neferiouscorte
Copy link

Works! But use lavaplayer 1.11.2

How? I'm a Genuine noob lol

https://github.com/SeVile/MusicBot/releases/tag/0.4.3.2

There is have any video how to do it? I just tried it but its not worked. I should be do something wrong.

@Killstreaks-lab
Copy link

Works! But use lavaplayer 1.11.2

How? I'm a Genuine noob lol

https://github.com/SeVile/MusicBot/releases/tag/0.4.3.2

There is have any video how to do it? I just tried it but its not worked. I should be do something wrong.

Did you download 0.4.3.2 from that link? Because for me I was still trying to use 0.4.3, if your still using that one even if you add the new code it still won't work

@Neferiouscorte
Copy link

Works! But use lavaplayer 1.11.2

How? I'm a Genuine noob lol

https://github.com/SeVile/MusicBot/releases/tag/0.4.3.2

There is have any video how to do it? I just tried it but its not worked. I should be do something wrong.

Did you download 0.4.3.2 from that link? Because for me I was still trying to use 0.4.3, if your still using that one even if you add the new code it still won't work

Yes mate i just removed it and installed new one, which is 0.4.3.2 its working rn. I hope bot never break down again.

@garv-shah
Copy link

garv-shah commented Dec 28, 2024

I set it up locally in Docker and it was working perfectly fine but when I deployed it to AWS im getting to following error: com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video requires login

I have the same issue, not sure how to fix it. Namely:

[04:27:13] [INFO] [YoutubeAccessTokenTracker]: Updating YouTube visitor id succeeded, new one is XXXX, next update will be after 600 seconds.
[04:27:16] [WARN] [LocalAudioTrackExecutor]: Suspicious exception for playback of XXXX
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video requires login.
        at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:104)
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:831)
[04:27:16] [ERROR] [AudioHandler]: Track XXXX has failed to play
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video requires login.
        at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:104)
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:831)

@Neferiouscorte
Copy link

Neferiouscorte commented Dec 28, 2024

Jar File not opening anymore is anybody had this issue before?

@SeVile
Copy link

SeVile commented Dec 28, 2024

I set it up locally in Docker and it was working perfectly fine but when I deployed it to AWS im getting to following error: com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video requires login

I have the same issue, not sure how to fix it. Namely:

[04:27:13] [INFO] [YoutubeAccessTokenTracker]: Updating YouTube visitor id succeeded, new one is XXXX, next update will be after 600 seconds.
[04:27:16] [WARN] [LocalAudioTrackExecutor]: Suspicious exception for playback of XXXX
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video requires login.
        at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:104)
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:831)
[04:27:16] [ERROR] [AudioHandler]: Track XXXX has failed to play
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video requires login.
        at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:104)
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:831)

Try this
https://github.com/SeVile/MusicBot/releases/tag/0.4.3.4

@BlitzsBeast
Copy link

I set it up locally in Docker and it was working perfectly fine but when I deployed it to AWS im getting to following error: com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video requires login

I have the same issue, not sure how to fix it. Namely:

[04:27:13] [INFO] [YoutubeAccessTokenTracker]: Updating YouTube visitor id succeeded, new one is XXXX, next update will be after 600 seconds.
[04:27:16] [WARN] [LocalAudioTrackExecutor]: Suspicious exception for playback of XXXX
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video requires login.
        at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:104)
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:831)
[04:27:16] [ERROR] [AudioHandler]: Track XXXX has failed to play
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video requires login.
        at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:104)
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:831)

Try this https://github.com/SeVile/MusicBot/releases/tag/0.4.3.4

doesnt fix "this video requires login" issue.

@CelluloidRacer2
Copy link

Try this https://github.com/SeVile/MusicBot/releases/tag/0.4.3.4

@SeVile your repo doesn't a section for issues, would you be able to turn it on? I understand if not

@SeVile
Copy link

SeVile commented Dec 30, 2024

Try this https://github.com/SeVile/MusicBot/releases/tag/0.4.3.4

@SeVile your repo doesn't a section for issues, would you be able to turn it on? I understand if not

done

@MaximBayer
Copy link

Тут вже виправлена проблема з програванням музики з YouTube просто завантажте та запустіть, більше нічого робити не треба.
https://github.com/MaximBayer/JMusicBot_UKR/releases
P.S Музичний бот переведено на Українську мову

@etas94
Copy link

etas94 commented Jan 1, 2025

Тут вже виправлена проблема з програванням музики з YouTube простотзаван бне треа。 https://github.com/MaximBayer/JMusicBot_UKR/releases PS Музичний бот переведено на Українську мовуно на Українську мову

It works! Is there non-translated version?

@MaximBayer
Copy link

MaximBayer commented Jan 1, 2025

Тут вже виправлена проблема з програванням музики з YouTube простотзаван бне треа。 https://github.com/MaximBayer/JMusicBot_UKR/releases PS Музичний бот переведено на Українську мовуно на Українську мову

It works! Is there non-translated version?

На жаль немає, но я думаю що розробники цього проєкту побачать це виправлення, і викладуть обнову у себе англійською мовою.

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

Successfully merging a pull request may close this issue.