[Audio] ScriptExtractionException: Must find sig function from script in Lavalink logs (Nothing found. This video cannot be loaded.) #6645
Labels
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
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot#6645
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
How can we reproduce this error?
python -m pip install -U Red-DiscordBot,redbot-setup,redbot <instance-name>)[p]load audio[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):
Anything else?
No response
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.logfile 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 logscan 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.
Here is the file: spring.log
Please do tell me whether this is a cipher signature issue.
Yes, this appears to be the cipher issue.
#6667 adds support for a built-in remote cipher server for the YouTube source plugin (used automatically when
Red-YT-Cipher-Solveris installed, which is now a dependency on supported platforms), which is meant to fix signature extraction errors like this one.