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] Unexpected char '<' at line 1, column 1 (JSON::ParseException) #5039

Closed
NOisgodly opened this issue Oct 30, 2024 · 5 comments
Closed
Labels
bug Something isn't working

Comments

@NOisgodly
Copy link

Title: Unexpected char '<' at line 1, column 1 (JSON::ParseException)
Date: 2024-10-30T01:04:40Z
Route: /watch?v=3VWviQJlez8
Version: 2024.10.28-cec3cfba @ nerdvpn

Backtrace

Unexpected char '<' at line 1, column 1 (JSON::ParseException)
  from /usr/share/crystal/src/json/lexer.cr:331:5 in 'raise'
  from /usr/share/crystal/src/json/lexer.cr:327:5 in 'unexpected_char'
  from /usr/share/crystal/src/json/lexer.cr:326:11 in 'unexpected_char'
  from /usr/share/crystal/src/json/lexer/io_based.cr:11:21 in 'consume_number'
  from /usr/share/crystal/src/json/lexer.cr:63:7 in 'next_token'
  from /usr/share/crystal/src/json/parser.cr:13:12 in '_post_json'
  from src/invidious/videos/parser.cr:58:21 in 'extract_video_info'
  from src/invidious/videos.cr:381:10 in 'fetch_video'
  from src/invidious/videos.cr:369:13 in 'get_video:region'
  from src/invidious/routes/watch.cr:55: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:30:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30: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:30:7 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'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from src/ext/kemal_static_file_handler.cr:106:14 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
  from /usr/share/crystal/src/http/server/request_processor.cr:51:11 in 'handle_client'
  from /usr/share/crystal/src/fiber.cr:141:11 in 'run'
  from ???

@NOisgodly NOisgodly added the bug Something isn't working label Oct 30, 2024
@m4teh
Copy link

m4teh commented Oct 30, 2024

Just started on all videos here too.
:(

@Chopium
Copy link

Chopium commented Oct 30, 2024

I've been getting this for every video.

I'm also getting frequent "you're offline" errors from the regular youtube clients that share my IP (everyone is complaining)
For more context, I just run a private invidious instance for myself.
Curious if anyone else is seeing those.

Could they be ip banning?

@m4teh
Copy link

m4teh commented Oct 30, 2024

Yeah I'm getting the same thing intermittently on their official web UI. I just assumed they were up to more anti-adblock shenanegans and didn't bother looking into it more since videos are still (barely) loading there.

@Sommerwiesel
Copy link

Sommerwiesel commented Oct 30, 2024

Seems to be an IP ban, if I rotate the proxies on my instance, it immediately works again.

@unixfox
Copy link
Member

unixfox commented Oct 30, 2024

#5032

@unixfox unixfox closed this as not planned Won't fix, can't repro, duplicate, stale Oct 30, 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

5 participants