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] [ERROR] [SignatureCipherManager]: Problematic YouTube player script #1694

Closed
3 tasks done
thelavagodreborn opened this issue Sep 24, 2024 · 26 comments
Closed
3 tasks done

Comments

@thelavagodreborn
Copy link

Bug Description

Bot joins call but fails to play audio when prompted.

Steps to Reproduce

  1. Launch bot with command character and youtube link
  2. 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] [JMusicBot]: JMusicBot
[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
Copy link

Eggrens commented Sep 24, 2024

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
Copy link

Same issue here, unraid docker.

@alanman87
Copy link

same issue here, ubuntu 22.04 docker

@Phishing-Fish
Copy link

Same here!

@Strophie
Copy link

Same here, on Kubuntu 24.04.1

@Ashnard
Copy link

Ashnard commented Sep 25, 2024

same here, xubuntu

@memomomode
Copy link

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

@saamimansoor
Copy link

same issue here, windows 10 pro

@Kajek777
Copy link

same here

@Kalium919
Copy link

same here

@ThePowerOfElectricity
Copy link

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
Copy link

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
Copy link

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

@TheeSkengdo
Copy link

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
Copy link

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

@Callumpy
Copy link

Callumpy commented Sep 28, 2024

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
Copy link

Same on Kubernetes

@neercsys
Copy link

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

@dudefoxlive
Copy link

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
Copy link
Collaborator

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:

@MichailiK MichailiK closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2024
@lainq
Copy link

lainq commented Dec 26, 2024

I got it working after I updated lavaplayer and lavalink-youtube-source in pom.xml to the latest version.

@Zer0o2
Copy link

Zer0o2 commented Feb 5, 2025

@lainq can u give us a tuturial how to do it, that would be awsome

@dudefoxlive
Copy link

Just download the latest jar file from the discord. saves you a lot of time and a headache

@Zer0o2
Copy link

Zer0o2 commented Feb 5, 2025

do you mybe have the discord link?

@dudefoxlive
Copy link

do you mybe have the discord link?

Its in the readme page but here is the link https://discord.com/invite/0p9LSGoRLu6Pet0k

@Zer0o2
Copy link

Zer0o2 commented Feb 5, 2025

Legend

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