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

Response#body_io cannot be nil (NilAssertionError) #2632

Closed
Pentaphon opened this issue Nov 18, 2021 · 2 comments
Closed

Response#body_io cannot be nil (NilAssertionError) #2632

Pentaphon opened this issue Nov 18, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@Pentaphon
Copy link

Logs
Title: HTTP::Client::Response#body_io cannot be nil (NilAssertionError)
Date: 2021-11-18T00:06:37Z
Route: /feed/trending
Version: 2021.11.17-f5bc3bc @ master

Backtrace

HTTP::Client::Response#body_io cannot be nil (NilAssertionError)
  from src/invidious/yt_backend/connection_pool.cr:25:3 in '_post_json'
  from src/invidious/trending.cr:19:14 in 'trending'
  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 /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/primitives.cr:266:3 in 'run'
  from /src/boringssl/src/google-boringssl-251b516/ssl/internal.h:334:8 in '??'

@Pentaphon Pentaphon added the bug Something isn't working label Nov 18, 2021
@thebiblelover7
Copy link

thebiblelover7 commented Nov 18, 2021

@Pentaphon Let's close this issue and talk in #2633 as it seems to be the same issue.

@unixfox
Copy link
Member

unixfox commented Nov 18, 2021

Sorry on yewtu.be only a patch from the pull request #2623 was applied and it broke invidious.

It got reverted and this is now fixed.

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

3 participants