MusicBot icon indicating copy to clipboard operation
MusicBot copied to clipboard

None of the provided encryption modes are supported

Open Tluxxa opened this issue 1 month ago • 11 comments

Bug Description

["aead_aes256_gcm_rtpsize","aead_xchacha20_poly1305_rtpsize"] [17:38:10] [ERROR] [AudioWebSocket]: None of the provided encryption modes are supported

bot keeps joining and leaving the VC, doesnt play anything when not set to US West other regions the loop starts to happen, checked discord status just in case somethigs going on again but no everything seems fine

Steps to Reproduce

For me it suddenly started to happen, yesterday it was fine today its like this, the vc region was automatic (rotterdam) but when switching to brazil and others I expierenced the same issue I think its because the libarary of something isint up to date / deprecated and as discord upated their servers the bot starts to have issues

Expected Result

just play some music in a VC

Debug Output

System Properties: java.version = 11.0.29 java.vm.name = OpenJDK 64-Bit Server VM java.vm.specification.version = 11 java.runtime.name = OpenJDK Runtime Environment java.runtime.version = 11.0.29+7 java.specification.version = 11 os.arch = amd64 os.name = Windows 11

JMusicBot Information: Version = 0.4.3 Owner = 837019241152512031 Prefix = @mention AltPrefix = null MaxSeconds = 0 NPImages = true SongInStatus = true StayInChannel = true UseEval = false UpdateAlerts = true

Dependency Information: JDA Version = 4.4.1_353 JDA-Utilities Version = 3.0.5 Lavaplayer Version = 2.2.1

Runtime Information: Total Memory = 510 Used Memory = 99

Discord Information: ID = 1439836764737896580 Guilds = 1 Users = 2

Additional Info

No response

Checklist

JMusicBot Version

0.4.3

Tluxxa avatar Nov 17 '25 16:11 Tluxxa

I can also confirm playing something causes it to keep rejoining and keep retrying: [AudioWebSocket]: None of the provided encryption modes are supported: ["aead_aes256_gcm_rtpsize","aead_xchacha20_poly1305_rtpsize"]

Setting it from Automatic to US West did allow it to join and play audio.

SmilerRyan avatar Nov 17 '25 22:11 SmilerRyan

Same problem here and US West didn't fix it for me

ZIPender avatar Nov 18 '25 20:11 ZIPender

I was also experiencing this issue, even after restarting the bot. But after running apt update and a restart to the bot again it started working. Not sure if apt update actually was the fix for this though.

donnie58744 avatar Nov 20 '25 08:11 donnie58744

Keep in mind, that this affected almost every bot that streams. It happened to this bot:

https://github.com/manuel-rw/jellyfin-discord-music-bot/issues/457

He said that he had to upgrade the discord sdk

Solidkfc avatar Nov 21 '25 18:11 Solidkfc

I managed to find a fix, you can find it under my fork https://github.com/noxianwill/MusicBot/releases/tag/v0.4.3-fixed (Tested on Ubuntu 24.04 only).

What's fixed:

  • Bot no longer disconnects/reconnects repeatedly from voice channels
  • Fixed "None of the provided encryption modes are supported" error
  • Bot now shows correct online status (was stuck on Do Not Disturb in some cases)

Upgrade instructions:

  1. Stop your bot
  2. Replace your old JMusicBot JAR with this new one
  3. Start the bot: java -Dnogui=true -jar JMusicBot-0.4.3-fixed.jar

No config changes needed - your existing config.txt will work as-is.

noxianwill avatar Dec 03 '25 11:12 noxianwill

I managed to find a fix, you can find it under my fork https://github.com/noxianwill/MusicBot/releases/tag/v0.4.3-fixed (Tested on Ubuntu 24.04 only).

What's fixed:

* Bot no longer disconnects/reconnects repeatedly from voice channels

* Fixed "None of the provided encryption modes are supported" error

* Bot now shows correct online status (was stuck on Do Not Disturb in some cases)

Upgrade instructions:

1. Stop your bot

2. Replace your old JMusicBot JAR with this new one

3. Start the bot: `java -Dnogui=true -jar JMusicBot-0.4.3-fixed.jar`

No config changes needed - your existing config.txt will work as-is.

Works great!

dunny1g avatar Dec 06 '25 21:12 dunny1g

Logré encontrar una solución, puedes encontrarla en mi bifurcación https://github.com/noxianwill/MusicBot/releases/tag/v0.4.3-fixed (probado solo en Ubuntu 24.04) .

Graciaaaas!

BrunoGGM avatar Dec 07 '25 02:12 BrunoGGM

[10:43:06] [ERROR] [SignatureCipherManager]: Problematic YouTube player script /s/player/4e11051b/player_ias.vflset/de_DE/base.js detected (issue detected with script: must find sig function). Dumped to /tmp/lavaplayer-yt-player-script17794075841930184472.js (Source version: 1.13.3)
[10:43:07] [ERROR] [LocalAudioTrackExecutor]: Error in playback of LWroH8y9bmA
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:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: dev.lavalink.youtube.cipher.ScriptExtractionException: Must find sig function from script: /s/player/4e11051b/player_ias.vflset/de_DE/base.js
        at dev.lavalink.youtube.cipher.SignatureCipherManager.scriptExtractionFailed(SignatureCipherManager.java:292)
        at dev.lavalink.youtube.cipher.SignatureCipherManager.extractFromScript(SignatureCipherManager.java:268)
        at dev.lavalink.youtube.cipher.SignatureCipherManager.getCipherScript(SignatureCipherManager.java:213)
        at dev.lavalink.youtube.clients.skeleton.NonMusicClient.loadTrackInfoFromInnertube(NonMusicClient.java:131)
        at dev.lavalink.youtube.clients.skeleton.StreamingNonMusicClient.loadFormats(StreamingNonMusicClient.java:35)
        at dev.lavalink.youtube.track.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:211)
        at dev.lavalink.youtube.track.YoutubeAudioTrack.processWithClient(YoutubeAudioTrack.java:148)
        at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:94)
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
        ... 4 common frames omitted
        Suppressed: dev.lavalink.youtube.ClientInformation: 
  yts.version: 1.13.3
  client.identifier: WEB_EMBEDDED_PLAYER
  client.options: ClientOptions{playback=true, playlistLoading=true, videoLoading=true, searching=true}
[10:43:07] [ERROR] [AudioHandler]: Track LWroH8y9bmA 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:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: dev.lavalink.youtube.cipher.ScriptExtractionException: Must find sig function from script: /s/player/4e11051b/player_ias.vflset/de_DE/base.js
        at dev.lavalink.youtube.cipher.SignatureCipherManager.scriptExtractionFailed(SignatureCipherManager.java:292)
        at dev.lavalink.youtube.cipher.SignatureCipherManager.extractFromScript(SignatureCipherManager.java:268)
        at dev.lavalink.youtube.cipher.SignatureCipherManager.getCipherScript(SignatureCipherManager.java:213)
        at dev.lavalink.youtube.clients.skeleton.NonMusicClient.loadTrackInfoFromInnertube(NonMusicClient.java:131)
        at dev.lavalink.youtube.clients.skeleton.StreamingNonMusicClient.loadFormats(StreamingNonMusicClient.java:35)
        at dev.lavalink.youtube.track.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:211)
        at dev.lavalink.youtube.track.YoutubeAudioTrack.processWithClient(YoutubeAudioTrack.java:148)
        at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:94)
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
        ... 4 common frames omitted
        Suppressed: dev.lavalink.youtube.ClientInformation: 
  yts.version: 1.13.3
  client.identifier: WEB_EMBEDDED_PLAYER
  client.options: ClientOptions{playback=true, playlistLoading=true, videoLoading=true, searching=true}

I got this error with the fix, when playing a song, he joins then leaves instantly

ZIPender avatar Dec 07 '25 10:12 ZIPender

I managed to find a fix, you can find it under my fork https://github.com/noxianwill/MusicBot/releases/tag/v0.4.3-fixed (Tested on Ubuntu 24.04 only).

What's fixed:

  • Bot no longer disconnects/reconnects repeatedly from voice channels
  • Fixed "None of the provided encryption modes are supported" error
  • Bot now shows correct online status (was stuck on Do Not Disturb in some cases)

Upgrade instructions:

  1. Stop your bot
  2. Replace your old JMusicBot JAR with this new one
  3. Start the bot: java -Dnogui=true -jar JMusicBot-0.4.3-fixed.jar

No config changes needed - your existing config.txt will work as-is.

Awesome. Works well on Windows 11 25H2. I was wondering if you could make Jadua's fork work since that one is also outdated. I use Spotify as my main music source and its easier for me to paste music/playlist url. I don't need Spotify support, just that it would extract its name and play it from different (YT) source.

darekdani avatar Dec 07 '25 17:12 darekdani

I managed to find a fix, you can find it under my fork https://github.com/noxianwill/MusicBot/releases/tag/v0.4.3-fixed (Tested on Ubuntu 24.04 only).

What's fixed:

  • Bot no longer disconnects/reconnects repeatedly from voice channels
  • Fixed "None of the provided encryption modes are supported" error
  • Bot now shows correct online status (was stuck on Do Not Disturb in some cases)

Upgrade instructions:

  1. Stop your bot
  2. Replace your old JMusicBot JAR with this new one
  3. Start the bot: java -Dnogui=true -jar JMusicBot-0.4.3-fixed.jar

No config changes needed - your existing config.txt will work as-is.

working perfectly in windows 11 thanks

trigao avatar Dec 09 '25 22:12 trigao

+1 on this issue

https://github.com/noxianwill/MusicBot/releases/tag/v0.4.3-fixed

temp fix works great

promise avatar Dec 10 '25 16:12 promise

@noxianwill sorry for the @ but I didnt know how to ask else where but I get this prompt whille using the bot the bot works now thankfull but idk if the prompt would become more of an issue

Image

69isnotfunny avatar Dec 14 '25 02:12 69isnotfunny