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

Cannot view channels or subscribe #963

Closed
m4teh opened this issue Dec 20, 2019 · 7 comments
Closed

Cannot view channels or subscribe #963

m4teh opened this issue Dec 20, 2019 · 7 comments
Labels
question Further information is requested

Comments

@m4teh
Copy link

m4teh commented Dec 20, 2019

  • Fresh install
  • Docker master 0.20.1-588fc6d
  • Everything builds and installs perfectly, included fix from Postgres: table privacy is created after being referenced in playlists #962 for database errors
  • Instance isn't banned, can watch videos fine via search function
  • When searching a channel name, clicking on it gives "Looks like you've found a bug in Invidious. Feel free to open a new issue here or send an email to [email protected]." with no log output
  • Importing subscriptions from json/opml doesn't work
  • Tested on multiple different IPs yielding identical results (one on a completely different range and which has never used Invidious before)
  • This probably explains Subscriptions not updating #927
  • Searching a video belonging to the same channel, hitting the 'Subscribe" on that page gives an error:

Exception: Could not extract channel info. Instance is likely blocked. (Exception)

from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???

2019-12-20 07:31:48 UTC 500 POST /subscription_ajax?action_create_subscription_to_channel=1&redirect=false&c=UCIYoc_redacted_cw 720.87ms

@unixfox
Copy link
Member

unixfox commented Jan 8, 2020

I've the same exact issue as you on my instance (https://yewtu.be), really strange error.
I still need to investigate if it's really a block from Google or the results that are different so Invidious can't parse them.
The thing is changing IP fixes the issue but it comes back after a few minutes.

@unixfox
Copy link
Member

unixfox commented Jan 20, 2020

Another log related to that issue:

invidious_1  | Exception: Unexpected char '<' at 1:1 (JSON::ParseException)
invidious_1  |   from ???
invidious_1  |   from ???
invidious_1  |   from ???
invidious_1  |   from ???
invidious_1  |   from ???
invidious_1  |   from ???
invidious_1  |   from ???
invidious_1  |   from ???
invidious_1  |   from ???
invidious_1  |   from ???

@Perflyst
Copy link
Contributor

Your IP is blocked quite sure. Please curl a youtube video url and grep for captcha

@unixfox
Copy link
Member

unixfox commented Jan 20, 2020

No it isn't. Videos load perfectly fine.
You can test on my instance: https://yewtu.be/
As you can see a video load fine: https://yewtu.be/watch?v=mhrkdHshb3E but not channels: https://yewtu.be/channel/spacexchannel

@Perflyst
Copy link
Contributor

okay, then this is something interested i also noticed
for example on my instance everything works except comments / likes

it looks like it is partly blocked only

@unixfox
Copy link
Member

unixfox commented Jan 21, 2020

Ok so after investigations I found out by MITM the connections of invidious that my instance is indeed partially blocked:
2020-01-21_10-47_1

The block appears to be only for this URL: https://www.youtube.com/browse_ajax?continuation. Other endpoint works just fine.

I guess Google is blocking instances pretty quick now.

@unixfox
Copy link
Member

unixfox commented Jan 27, 2020

I think it's safe to say that this issue can closed because it's related to Google blocking pretty quick if there are too many requests to their servers from the same IP.
The solution is to unfortunately using anti-captcha.

@omarroth omarroth added bug Something isn't working question Further information is requested and removed bug Something isn't working labels Feb 1, 2020
@omarroth omarroth closed this as completed Mar 4, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants