[Audio] ScriptExtractionException: Must find sig function from script in Lavalink logs (Nothing found. This video cannot be loaded.) #6645

Closed
opened 2025-12-28 22:37:47 +01:00 by mathieucaroff · 4 comments
mathieucaroff commented 2025-12-28 22:37:47 +01:00 (Migrated from github.com)

If you are experiencing issues with Audio, please read

Issues with Audio are tracked in #4505. For the most up to date information, please join our support server at https://discord.gg/red


What Red version are you using?

3.5.22

Cog name

Audio

Command name

play

What did you expect to happen?

I expected the bot to play the audio of the video in the channel them and I was in.

What actually happened?

The bot did not played any audio and produced an error message in the discord channel where I issued the command. The error message is:

Nothing found.
This video cannot be loaded.

How can we reproduce this error?

  1. (Install, configure and start red: python -m pip install -U Red-DiscordBot, redbot-setup, redbot <instance-name>)
  2. Enable the Audio cog: [p]load audio
  3. Wait for Lavalink to be installed and connected
  4. Join an audio channel in the server and have the bot play some music: [p]sing (or [p]play https://www.youtube.com/watch?v=f9O2Rjn1azc)

The bot does not play any music and errors with "Nothing found. This video cannot be loaded."

Note: Environment (fresh install):

$ lsb_release -cd
Description:    Ubuntu 24.04.3 LTS
Codename:       noble

Anything else?

No response

# ***If you are experiencing issues with Audio, please read*** *Issues with Audio are tracked in #4505. For the most up to date information, please join our support server at https://discord.gg/red* --- ### What Red version are you using? 3.5.22 ### Cog name Audio ### Command name play ### What did you expect to happen? I expected the bot to play the audio of the video in the channel them and I was in. ### What actually happened? The bot did not played any audio and produced an error message in the discord channel where I issued the command. The error message is: ``` Nothing found. This video cannot be loaded. ``` ### How can we reproduce this error? 1. (Install, configure and start red: `python -m pip install -U Red-DiscordBot`, `redbot-setup`, `redbot <instance-name>`) 2. Enable the Audio cog: `[p]load audio` 3. Wait for Lavalink to be installed and connected 4. Join an audio channel in the server and have the bot play some music: `[p]sing` (or `[p]play https://www.youtube.com/watch?v=f9O2Rjn1azc`) The bot does not play any music and errors with "Nothing found. This video cannot be loaded." Note: Environment (fresh install): ``` $ lsb_release -cd Description: Ubuntu 24.04.3 LTS Codename: noble ``` ### Anything else? _No response_
Flame442 commented 2026-01-02 20:49:43 +01:00 (Migrated from github.com)

You are likely getting hit by the cipher issue currently affecting Lavalink. YT frequently changes their cipher signature, which breaks Lavalink. If you want to confirm that this is the issue, you can post the spring.log file from your Lavalink server, which contains the information needed to diagnose this kind of issue. If you are using a managed Lavalink server (the default), [p]audioset logs can be used to easily retrieve the logs.

If you are experiencing this issue, it means that the signature Youtube is serving you is one Lavalink does not know how to handle. The fix for right now requires running/connecting to an external service to decipher the new sigs. you either host yourself or use a public one. Some instructions can be found here.
https://github.com/lavalink-devs/youtube-source?tab=readme-ov-file#using-a-remote-cipher-server
We provided the Lavalink.jar and application.yml files, so you just need to run that specific JAR and make the required changes to the .yml file (note, you will need to update the youtube-source plugin version to the latest version as the one we use does not support the yt-cipher script)

When/if there is a better solution from upstream, we will implement it. If you need any more help, consider joining our support server.

You are likely getting hit by the cipher issue currently affecting Lavalink. YT frequently changes their cipher signature, which breaks Lavalink. If you want to confirm that this is the issue, you can post the `spring.log` file from your Lavalink server, which contains the information needed to diagnose this kind of issue. If you are using a managed Lavalink server (the default), `[p]audioset logs` can be used to easily retrieve the logs. If you are experiencing this issue, it means that the signature Youtube is serving you is one Lavalink does not know how to handle. The fix for right now requires running/connecting to an external service to decipher the new sigs. you either host yourself or use a public one. Some instructions can be found here. https://github.com/lavalink-devs/youtube-source?tab=readme-ov-file#using-a-remote-cipher-server We provided the Lavalink.jar and application.yml files, so you just need to run that specific JAR and make the required changes to the .yml file (note, you will need to update the youtube-source plugin version to the latest version as the one we use does not support the yt-cipher script) When/if there is a better solution from upstream, we will implement it. If you need any more help, consider joining [our support server](discord.gg/red).
mathieucaroff commented 2026-01-02 22:06:45 +01:00 (Migrated from github.com)

Here is the file: spring.log

Please do tell me whether this is a cipher signature issue.

Here is the file: [spring.log](https://github.com/user-attachments/files/24411808/spring.log) Please do tell me whether this is a cipher signature issue.
Flame442 commented 2026-01-02 22:17:37 +01:00 (Migrated from github.com)

Caused by: dev.lavalink.youtube.cipher.ScriptExtractionException: Must find sig function from script

Yes, this appears to be the cipher issue.

> `Caused by: dev.lavalink.youtube.cipher.ScriptExtractionException: Must find sig function from script` Yes, this appears to be the cipher issue.
Owner

#6667 adds support for a built-in remote cipher server for the YouTube source plugin (used automatically when Red-YT-Cipher-Solver is installed, which is now a dependency on supported platforms), which is meant to fix signature extraction errors like this one.

#6667 adds support for a built-in remote cipher server for the YouTube source plugin (used automatically when `Red-YT-Cipher-Solver` is installed, which is now a dependency on supported platforms), which is meant to fix signature extraction errors like this one.
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#6645
No description provided.