iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.47k stars 1.86k forks source link

[Bug] Missing hash key: "streamingData" (KeyError) #4915

Closed iGerman00 closed 2 months ago

iGerman00 commented 2 months ago

Describe the bug

This video as of now is a premiere. Previously, premieres returned information okay on Invidious, but now it's a fatal error

Steps to Reproduce

  1. Open watch?v=acdYs9tPLko (and maybe other upcoming premieres)
  2. Observer error

Logs

Title: Missing hash key: "streamingData" (KeyError) Date: 2024-09-12T19:01:20Z Route: /watch?v=acdYs9tPLko Version: 2024.08.26-4782a67 @ (HEAD detached at v2.20240825.2)

Backtrace

``` Missing hash key: "streamingData" (KeyError) from src/invidious/helpers/helpers.cr:188 in 'dig' from /usr/lib/crystal/core/json/any.cr:261:3 in 'adaptive_fmts' from src/invidious/routes/watch.cr:123:5 in 'handle' from lib/kemal/src/kemal/route.cr:13:9 in '->' from lib/kemal/src/kemal/config.cr:92:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next' from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next' from src/invidious/helpers/handlers.cr:94:12 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next' from /usr/lib/crystal/core/string.cr:3075:20 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/request_processor.cr:51:11 in 'handle_client' from /usr/lib/crystal/core/fiber.cr:146:11 in 'run' from ??? ```

Additional info This is a private instance I host for myself. It's running the quay.io/invidious/invidious:master-arm64 image. Pussthecat's instance has the same error, I made sure to check.

github-actions[bot] commented 2 months ago

Hello, your issue is a duplicate of this/these issue(s):

If this is a mistake please explain why and ping @\unixfox, @\SamantazFox and @\TheFrenchGhosty.

Please refrain from opening new issues, it won't help in solving your problem.