iv-org / invidious

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

[Bug] Could not check out a connection in 5.0 seconds (DB::PoolTimeout) #3484

Closed kitl000 closed 1 year ago

kitl000 commented 1 year ago

Title: Could not check out a connection in 5.0 seconds (DB::PoolTimeout) Date: 2022-12-11T03:42:38Z Route: /watch?v=N8Kqy_YCHHQ&autoplay=1&continue=1 Version: 2022.11.22-a8e7a805 @ master

Backtrace

``` Could not check out a connection in 5.0 seconds (DB::PoolTimeout) from lib/db/src/db/pool.cr:235:7 in 'checkout' from src/invidious/yt_backend/connection_pool.cr:39:14 in '_post_json' from src/invidious/videos/parser.cr:59:21 in 'extract_video_info:video_id' from src/invidious/videos.cr:366:10 in 'fetch_video' from src/invidious/videos.cr:362:10 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 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' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from src/invidious/helpers/handlers.cr:94:12 in 'call' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from src/invidious/helpers/handlers.cr:151:29 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 src/ext/kemal_static_file_handler.cr:106:36 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' from /usr/share/crystal/src/http/server/handler.cr:28: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:500:5 in '->' from /usr/share/crystal/src/fiber.cr:146:11 in 'run' from ??? ```

unixfox commented 1 year ago

Instance name?