iv-org / invidious

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

[Bug] Missing JSON element "results" (BrokenTubeException) #3215

Closed Raffles727 closed 2 years ago

Raffles727 commented 2 years ago

While attempting to open the URL below with Invidious, I was prompted to post this error, please see below

Title: Missing JSON element "results" (BrokenTubeException) Date: 2022-07-21T23:25:32Z Route: /watch?v=LKsWIKl-wng Version: 2022.07.21-d7177bd @ master

Backtrace

``` Missing JSON element "results" (BrokenTubeException) from /usr/lib/crystal/core/json/any.cr:102:10 in 'extract_video_info:video_id' from /usr/lib/crystal/core/hash.cr:1185:13 in 'fetch_video' from src/invidious/videos.cr:1099:13 in 'get_video:region' from src/invidious/routes/watch.cr:63:15 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:28:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:28: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:28:7 in 'call_next' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next' from src/ext/kemal_static_file_handler.cr:167:15 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next' from lib/kemal/src/kemal/init_handler.cr:12:7 in 'process' from /usr/lib/crystal/core/http/server.cr:500:5 in '->' from /usr/lib/crystal/core/fiber.cr:146:11 in 'run' from /src/boringssl/src/google-boringssl-251b516/ssl/internal.h:334:8 in '??' ```

unixfox commented 2 years ago

Thanks for reporting.

It's a duplicate of https://github.com/iv-org/invidious/issues/3014