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.85k forks source link

[Bug] “Looks like you found a bug in invidious” #5053

Closed WuShufei closed 3 weeks ago

WuShufei commented 3 weeks ago

Describe the bug

The YouTube page doesn’t load.

Steps to Reproduce

try to load it, it gets the error message and a debug dump.

Logs

Screenshots

Additional context

Title: (DB::PoolRetryAttemptsExceeded) Date: 2024-11-02T22:56:04Z Route: /watch?v=T8h3j7kA0eQ&listen=false Version: 2024.10.08-2a2768d4 @ master

Backtrace

``` (DB::PoolRetryAttemptsExceeded) from lib/db/src/db/pool.cr:190:7 in 'query:args' from lib/db/src/db/query_methods.cr:46:7 in 'query:args' from lib/db/src/db/query_methods.cr:61:7 in 'query_one?:as' from src/invidious/database/sessions.cr:62:5 in 'select_email' from src/invidious/routes/before_all.cr:83:10 in 'handle' from src/invidious.cr:189:3 in '->' from lib/kemal/src/kemal/filter_handler.cr:82:62 in '->' from lib/kemal/src/kemal/filter_handler.cr:86:16 in 'call' from lib/kemal/src/kemal/filter_handler.cr:58:23 in 'call_block_for_path_type' from lib/kemal/src/kemal/filter_handler.cr:16:7 in 'call' from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/handlers.cr:157: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:146:5 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:141:11 in 'run' from /usr/share/crystal/src/fiber.cr:93:34 in '->' from ??? ```

I tried to refresh several times, waiting several minutes between intervals. This was on Ggtyler.dev. Cal1 has been fine until now… Thanks.