jagrosh / MusicBot

🎶 A Discord music bot that's easy to set up and run yourself!
https://jmusicbot.com
Apache License 2.0
5.39k stars 2.58k forks source link

[Bug Report] [ERROR] [SignatureCipherManager]: Problematic YouTube player script #1694

Closed thelavagodreborn closed 1 month ago

thelavagodreborn commented 2 months ago

Bug Description

Bot joins call but fails to play audio when prompted.

Steps to Reproduce

1) Launch bot with command character and youtube link 3) Bot fails to join and produces error in console

Expected Result

I expected the bot to queue and play audio when prompted.

Debug Output

Console Dump: [18:01:32] [INFO] [JMusicBot]: Loaded config from S:\Admin\Documents\JMusicBot\config.txt [18:01:33] [INFO] [JDA]: Login Successful! [18:01:33] [INFO] [WebSocketClient]: Connected to WebSocket

[18:01:33] [INFO] [JDA]: Finished Loading! [18:01:49] [ERROR] [SignatureCipherManager]: Problematic YouTube player script /s/player/c9dd45ed/player_ias.vflset/en_US/base.js detected (issue detected with script: no n function match). Dumped to C:\Users\Admin\AppData\Local\Temp\lavaplayer-yt-player-script13360609526194135674.js [18:01:51] [ERROR] [LocalAudioTrackExecutor]: Error in playback of aByspCEjdV4 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(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: java.lang.RuntimeException: Not success status code: 403 at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.validateStatusCode(PersistentHttpStream.java:88) at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.attemptConnect(PersistentHttpStream.java:124) at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.connect(PersistentHttpStream.java:106) at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.internalRead(PersistentHttpStream.java:158) at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.read(PersistentHttpStream.java:174) at java.base/java.io.DataInputStream.readUnsignedByte(DataInputStream.java:295) at java.base/java.io.DataInputStream.readByte(DataInputStream.java:275) at com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaEbmlReader.readEbmlInteger(MatroskaEbmlReader.java:39) at com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaFileReader.readNextElement(MatroskaFileReader.java:47) at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaStreamingFile.readFile(MatroskaStreamingFile.java:94) at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaAudioTrack.loadMatroskaFile(MatroskaAudioTrack.java:52) at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaAudioTrack.process(MatroskaAudioTrack.java:35) at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:25) at dev.lavalink.youtube.track.YoutubeAudioTrack.processStatic(YoutubeAudioTrack.java:148) at dev.lavalink.youtube.track.YoutubeAudioTrack.processWithClient(YoutubeAudioTrack.java:116) 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 [18:01:51] [ERROR] [AudioHandler]: Track aByspCEjdV4 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(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: java.lang.RuntimeException: Not success status code: 403 at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.validateStatusCode(PersistentHttpStream.java:88) at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.attemptConnect(PersistentHttpStream.java:124) at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.connect(PersistentHttpStream.java:106) at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.internalRead(PersistentHttpStream.java:158) at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.read(PersistentHttpStream.java:174) at java.base/java.io.DataInputStream.readUnsignedByte(DataInputStream.java:295) at java.base/java.io.DataInputStream.readByte(DataInputStream.java:275) at com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaEbmlReader.readEbmlInteger(MatroskaEbmlReader.java:39) at com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaFileReader.readNextElement(MatroskaFileReader.java:47) at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaStreamingFile.readFile(MatroskaStreamingFile.java:94) at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaAudioTrack.loadMatroskaFile(MatroskaAudioTrack.java:52) at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaAudioTrack.process(MatroskaAudioTrack.java:35) at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:25) at dev.lavalink.youtube.track.YoutubeAudioTrack.processStatic(YoutubeAudioTrack.java:148) at dev.lavalink.youtube.track.YoutubeAudioTrack.processWithClient(YoutubeAudioTrack.java:116) 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

S drive used as partition from C drive where I run my OS. I've had no issues with this previously. Curious if this may be an issue with different java versions installed as I have multiple for various programs.

Checklist

JMusicBot Version

0.4.3

Eggrens commented 2 months ago

Having the same issue here on Xubuntu. Was working fine a couple days ago but now won't play anything because of this error

livehifi commented 2 months ago

Same issue here, unraid docker.

alanman87 commented 2 months ago

same issue here, ubuntu 22.04 docker

Phishing-Fish commented 2 months ago

Same here!

Strophie commented 2 months ago

Same here, on Kubuntu 24.04.1

Ashnard commented 2 months ago

same here, xubuntu

memomomode commented 2 months ago

any chance you were trying to play episode three of the talk tuah podcast?

saamimansoor commented 2 months ago

same issue here, windows 10 pro

Kajek777 commented 2 months ago

same here

Kalium919 commented 2 months ago

same here

ThePowerOfElectricity commented 2 months ago

same here but this fixed it for me. just re jar it afterwards and use it instead 33b91f9

For the folks who have no idea what you did to get it working... How do we work your magic?

TheeSkengdo commented 2 months ago

same here but this fixed it for me. just re jar it afterwards and use it instead 33b91f9

Which folder is the pom file located in?

Kajek777 commented 2 months ago

can someone just send the jar that actually works? i don't know how to use maven and all that stuff

TheeSkengdo commented 2 months ago

can someone just send the jar that actually works? i don't know how to use maven and all that stuff

https://github.com/xPrinny/MusicBot/releases

derDeidra commented 2 months ago

Using the above fixed it for me, hopefully can get updated in the main repo soon

Callumpy commented 1 month ago

Dockerised version using xPrinny's fork for fellow lazy people: https://hub.docker.com/r/callumpy/discord-musicbot

latest has their forked jar file.

DaanSelen commented 1 month ago

Same on Kubernetes

neercsys commented 1 month ago

I have the same problem. I'm using jmusicbot via a docker craumix/jmusicbot

dudefoxlive commented 1 month ago

So is there not going to just be a new release of the jar file? I am using yojoshb/jmusicbot-docker for my docker container and it simply just querys for the latest version and downloads the jar on each launch. I would prefer to just keep things as they are.

MichailiK commented 1 month ago

As this is a duplicate of #1682 & for consodilation purposes, we will continue tracking this issue there. Additionally, a fix for this & a similar issue is currently in the works: