Skip to content

[Bug] player decryption broken in inv sig helper #5217

@erikboberg

Description

@erikboberg

Describe the bug
When trying to start invidious sig helper using docker compose, I get the following error:

[2025-03-24T22:01:32Z INFO  inv_sig_helper_rust] Fetching player
[2025-03-24T22:01:33Z INFO  inv_sig_helper_rust::player] Fetching player JS URL: https://www.youtube.com/s/player/643afba4/player_ias.vflset/en_US/base.js
[2025-03-24T22:01:33Z WARN  inv_sig_helper_rust::player] nsig function ending did not work: =\s*function(\(\w\)\s*\{[\S\s]*\{return.[a-zA-Z0-9_-]+_w8_.+?\}\s*return\s*\w+.join\(""\)\};)
[2025-03-24T22:01:33Z INFO  inv_sig_helper_rust::player] nsig_func returned with no fixup
thread 'main' panicked at src/player.rs:165:10:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The error suddenly started appearing today.
Now the whole system is not working.

Steps to Reproduce
Run invidious using docker compose. "latest" tags for invidious, invidious-sig-helper. Postgres 14 as db.

Logs
See above.

Thank you for assistance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions