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] The video returned by YouTube isn't the requested one. (Android client) (VideoNotAvailableException) #4498

Closed
an00bo opened this issue Mar 28, 2024 · 58 comments · Fixed by #4552
Labels
bug Something isn't working type:youtube-change Google changed something (again)

Comments

@an00bo
Copy link

an00bo commented Mar 28, 2024

The Invidious team is aware of the issue. Please only comment if you have new things to add to the subject.

This post will be updated with relevant infos as needed.


Title: The video returned by YouTube isn't the requested one. (Android client) (VideoNotAvailableException)
Date: 2024-03-28T20:32:59Z
Route: /watch?v=SoHyj8i8Ywo&list=PLfGibfZATlGonwDMXhmHWWchf4_QN5chy&index=1
Version: 2024.03.28-3749a34 @ master

Backtrace

The video returned by YouTube isn't the requested one. (Android client) (VideoNotAvailableException)
  from /usr/lib/crystal/core/hash.cr:1080:49 in 'try_fetch_streaming_data'
  from src/invidious/videos/parser.cr:112:10 in 'extract_video_info:video_id'
  from /usr/lib/crystal/core/hash.cr:1185:13 in 'fetch_video'
  from src/invidious/videos.cr:379: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 lib/kemal/src/kemal/config.cr:92:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:32: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:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:94:12 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next'
  from src/ext/kemal_static_file_handler.cr:106:14 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/request_processor.cr:51:11 in 'handle_client'
  from /usr/lib/crystal/core/fiber.cr:146:11 in 'run'
  from ???

@an00bo an00bo added the bug Something isn't working label Mar 28, 2024
@UltraBlackLinux

This comment has been minimized.

@cutiness

This comment has been minimized.

@tusharhero

This comment has been minimized.

@d4g

This comment has been minimized.

@Delikt

This comment has been minimized.

@JacenBoy

This comment has been minimized.

@net00-1

This comment has been minimized.

@lyczak
Copy link

lyczak commented Mar 29, 2024

Edit: poking around a bit more and it looks like this is a duplicate of #3822 but TLDR: try changing your server's public ip and consider setting up IPv6 rotating IPs

@syeopite
Copy link
Member

As noted in the matrix channel this is probably caused by the fact that YouTube changed their integrity check again which Invidious currently does not meet.

@monkeyboy537

This comment has been minimized.

@xprnio

This comment has been minimized.

@unixfox
Copy link
Member

unixfox commented Mar 29, 2024

Please do not create duplicated comments.

@UltraBlackLinux

This comment has been minimized.

@stonerl

This comment has been minimized.

@krim404
Copy link

krim404 commented Mar 29, 2024

If you use an older modified youtube app, then you see the same result - youtube replaces the video with a fake video displaying that this app is not supported anymore.

This started the same day as invidious started this issue. So i assume, that this has something to do with it

@sonnysighedup

This comment has been minimized.

@xprnio

This comment has been minimized.

@unixfox
Copy link
Member

unixfox commented Mar 29, 2024

This is not related to the device that you are using. It affects the invidious software as a whole regardless of the device.

@sonnysighedup
Copy link

@unifox - does the "...(Android client)..." in the error title have any significance?

@WizardOfWor1969

This comment has been minimized.

@unixfox
Copy link
Member

unixfox commented Mar 30, 2024

@unifox - does the "...(Android client)..." in the error title have any significance?

This is just related to the fact that invidious emulate the android app for YouTube in order to go the data from YouTube.

@tl87

This comment has been minimized.

@RubberDuck01

This comment was marked as outdated.

@gripped

This comment has been minimized.

@techmetx11
Copy link
Contributor

I didn't know this was an issue, I made a workaround PR that makes invidious use the HTML5 client if the Android client fails #4549

@CommandLord

This comment has been minimized.

@AceDenghar

This comment has been minimized.

@ThaDaVos

This comment has been minimized.

@ashley0143

This comment has been minimized.

@doc75

This comment has been minimized.

@ThaDaVos

This comment has been minimized.

@a7maadf

This comment has been minimized.

@Ex0danify

This comment has been minimized.

@a7maadf

This comment has been minimized.

@shrapnelnet

This comment has been minimized.

@iv-org iv-org locked and limited conversation to collaborators Apr 2, 2024
@unixfox
Copy link
Member

unixfox commented Apr 2, 2024

Locking the issue for now because some people are getting offtopic and the issue has been solved in the latest version.

@unixfox unixfox unpinned this issue Apr 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working type:youtube-change Google changed something (again)
Projects
None yet
Development

Successfully merging a pull request may close this issue.