Open bar24 opened 1 year ago
I encountered the same problem. I noticed that this error occurs on age restricted videos
Also encountered this.
Title: Nil assertion failed (NilAssertionError)
Date: 2023-10-01T17:11:56Z
Route: /watch?v=ATtYqvv-h4M
Version: 2023.09.18-bb14f794 @ master
``` Nil assertion failed (NilAssertionError) from /usr/share/crystal/src/nil.cr:113:7 in 'not_nil!' from /usr/share/crystal/src/nil.cr:109:3 in 'not_nil!' from /usr/share/crystal/src/indexable.cr:574:11 in 'fetch_decrypt_function' from src/invidious/helpers/signatures.cr:14:11 in 'fetch_decrypt_function' from src/invidious/helpers/signatures.cr:62:9 in 'decrypt_signature' from src/invidious/videos.cr:106:36 in 'fmt_stream' from src/invidious/routes/watch.cr:128:5 in 'handle' from src/invidious/routing.cr:146: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/share/crystal/src/http/server/handler.cr:30:7 in 'call_next' from lib/kemal/src/kemal/websocket_handler.cr:13:14 in 'call' from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next' from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call' from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/handlers.cr:212:5 in 'call' from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/handlers.cr:94:12 in 'call' from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/handlers.cr:145:12 in 'call' from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/handlers.cr:70:5 in 'call' from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next' from src/ext/kemal_static_file_handler.cr:162:16 in 'call' from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next' from lib/kemal/src/kemal/exception_handler.cr:8:7 in 'call' from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/logger.cr:17:35 in 'call' from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next' from lib/kemal/src/kemal/init_handler.cr:12:7 in 'call' from /usr/share/crystal/src/http/server/request_processor.cr:51:11 in 'process' from /usr/share/crystal/src/http/server.cr:521:5 in 'handle_client' from /usr/share/crystal/src/http/server.cr:451:5 in '->' from /usr/share/crystal/src/fiber.cr:146:11 in 'run' from /usr/share/crystal/src/fiber.cr:98:34 in '->' from ??? ```
I've also experienced this bug
Title: Nil assertion failed (NilAssertionError)
Date: 2023-10-01T23:08:10Z
Route: /watch?v=8KhQ1ut6cV4
Version: 2023.09.18-bb14f79 @ master
``` Nil assertion failed (NilAssertionError) from src/invidious/helpers/signatures.cr:14:11 in 'fetch_decrypt_function' from src/invidious/helpers/signatures.cr:62:9 in 'decrypt_signature' from /usr/lib/crystal/core/string.cr:5288:5 in 'fmt_stream' from src/invidious/routes/watch.cr:128:18 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 /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 ??? ```
This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.
Title:
Nil assertion failed (NilAssertionError)
Date:2023-09-29T12:30:27Z
Route:/watch?v=mj1dd0Kcq8A
Version:2023.09.18-bb14f79 @ master
Backtrace
``` Nil assertion failed (NilAssertionError) from /usr/share/crystal/src/nil.cr:108:5 in 'not_nil!' from src/invidious/helpers/signatures.cr:14:11 in 'fetch_decrypt_function' from src/invidious/helpers/signatures.cr:62:9 in 'decrypt_signature' from src/invidious/videos.cr:106:52 in 'fmt_stream' from src/invidious/routes/watch.cr:128:18 in 'handle' from lib/kemal/src/kemal/route.cr:13:9 in '->' from src/invidious/helpers/handlers.cr:30:37 in 'call' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from lib/kemal/src/kemal/init_handler.cr:12:7 in 'process' from /usr/share/crystal/src/http/server.cr:500:5 in '->' from /usr/share/crystal/src/fiber.cr:146:11 in 'run' from ??? ```