Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
richcarleton opened this issue Nov 10, 2024 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@richcarleton
Copy link

Title: Could not check out a connection in 5.0 seconds (DB::PoolTimeout)
Date: 2024-11-10T23:38:50Z
Route: /watch?v=Gnnr7N9V0gw
Version: 2024.11.09-6f9cad7a @ unstable

Backtrace

Could not check out a connection in 5.0 seconds (DB::PoolTimeout)
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/lib/db/src/db/pool.cr:261:7 in 'wait_for_available'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/lib/db/src/db/pool.cr:127:35 in 'checkout'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/yt_backend/connection_pool.cr:17:5 in '_post_json'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/yt_backend/youtube_api.cr:506:12 in 'player:video_id:params:client_config:po_token:visitor_data'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/videos/parser.cr:107:3 in 'extract_video_info'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/videos.cr:327:3 in 'fetch_video'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/videos.cr:323:10 in 'get_video'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/videos.cr:297:1 in 'get_video:region:useremail'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/routes/watch.cr:58:15 in 'handle'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/routing.cr:159:19 in '->'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/lib/kemal/src/kemal/route.cr:12:26 in '->'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/helpers/handlers.cr:30:5 in 'process_request'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/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 /root/work/invidious-stack/remote-repos/invidious-mooleshacat/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 /root/work/invidious-stack/remote-repos/invidious-mooleshacat/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 /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/helpers/handlers.cr:157:5 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/helpers/handlers.cr:94:12 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/helpers/handlers.cr:146:5 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/helpers/handlers.cr:70:5 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/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 /root/work/invidious-stack/remote-repos/invidious-mooleshacat/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 /root/work/invidious-stack/remote-repos/invidious-mooleshacat/src/invidious/helpers/logger.cr:21:35 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from /root/work/invidious-stack/remote-repos/invidious-mooleshacat/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:143:11 in 'run'
  from /usr/share/crystal/src/fiber.cr:95:34 in '->'
  from ???

@richcarleton richcarleton added the bug Something isn't working label Nov 10, 2024
@unixfox unixfox closed this as not planned Won't fix, can't repro, duplicate, stale Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants