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: "adaptiveFormats" (KeyError) #4899

Closed CixoDevelop closed 2 months ago

CixoDevelop commented 2 months ago

Describe the bug I can not watch video on invidious

Steps to Reproduce

  1. Go to: "https://invidious.cixoelectronic.pl/watch?v=cUEgZuNSRCk"

Additional context

Log Title: Missing hash key: "adaptiveFormats" (KeyError) Date: 2024-09-04T23:07:17Z Route: /watch?v=cUEgZuNSRCk Version: 2024.08.26-4782a670 @ master

Backtrace

``` Missing hash key: "adaptiveFormats" (KeyError) from /usr/lib/crystal/hash.cr:1148:11 in '[]' from /usr/lib/crystal/json/any.cr:115:7 in '[]' from /usr/lib/crystal/json/any.cr:156:5 in 'dig' from /usr/lib/crystal/hash.cr:1200:14 in 'dig' from src/invidious/videos.cr:156:18 in 'adaptive_fmts' from src/invidious/routes/watch.cr:121:5 in 'handle' from src/invidious/routing.cr:159:19 in '->' from lib/kemal/src/kemal/route.cr:12:26 in '->' from src/invidious/helpers/handlers.cr:30:5 in 'process_request' from lib/kemal/src/kemal/route_handler.cr:17:7 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from lib/kemal/src/kemal/websocket_handler.cr:13:14 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/handlers.cr:157:5 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/handlers.cr:94:12 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/handlers.cr:146:5 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/handlers.cr:70:5 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from src/ext/kemal_static_file_handler.cr:162:16 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from lib/kemal/src/kemal/exception_handler.cr:8:7 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/logger.cr:17:35 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from lib/kemal/src/kemal/init_handler.cr:12:7 in 'call' from /usr/lib/crystal/http/server/request_processor.cr:51:11 in 'process' from /usr/lib/crystal/http/server.cr:521:5 in 'handle_client' from /usr/lib/crystal/http/server.cr:451:5 in '->' from /usr/lib/crystal/fiber.cr:143:11 in 'run' from /usr/lib/crystal/fiber.cr:95:34 in '->' from ??? ```

unixfox commented 2 months ago

https://github.com/iv-org/invidious/issues/4734