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] #2578

Closed realCr1me closed 2 years ago

realCr1me commented 2 years ago

Title: Could not check out a connection in 5.0 seconds (DB::PoolTimeout) Date: 2021-11-12T11:07:12Z Route: /search?q=MaxGraph+-+c%D0%B0%D0%B9%D1%82%D1%8B+%D0%BA%D0%B0%D0%BA+%D1%81%D1%82%D1%80%D0%B0%D1%81%D1%82%D1%8C Version: 2021.11.12-4f09430 @ master

Backtrace

``` Could not check out a connection in 5.0 seconds (DB::PoolTimeout) from /usr/lib/crystal/core/mutex.cr:47:9 in 'checkout' from src/invidious/yt_backend/connection_pool.cr:34:7 in '_post_json' from src/invidious/search.cr:36:11 in 'search' from src/invidious/search.cr:227:20 in 'search' from /usr/lib/crystal/core/primitives.cr:266:3 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/invidious/helpers/static_file_handler.cr:167:15 in 'call' from lib/kemal/src/kemal/exception_handler.cr:8: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/primitives.cr:266:3 in 'run' from /src/boringssl/src/google-boringssl-251b516/ssl/internal.h:334:8 in '??' ```

thansk commented 2 years ago

An issue already exists, check before submitting.

2577