FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.13k stars 816 forks source link

Can't load certain videos #1438

Closed hcgrove closed 3 years ago

hcgrove commented 3 years ago

When I try to watch e.g.: https://youtu.be/bvybMVRaND0 or https://youtu.be/SlldJetZwcQ

I get the following three messages: "Local API Error (Click to copy): Error: Status code: 404" "Falling back to invidious API" "Invidious API Error (Click to copy): {"error":"Could not extract video info. Instance is likely blocked."}"

(and no video)

I couldn't find another report of this problem, but if one exists, point me to it and close this.

This is on Debian 10, fully upgraded. I just upgraded the freetube client to version 0.13.1 (over 0.11.3) from https://freetubeapp.io/#download (the x86 debian package) and succesfully reproduced this behaviour.

hcgrove commented 3 years ago

This might have been a temporary

hcgrove commented 3 years ago

It turns out that the problem was only gone on some videos, like the first one I mentioned above, now I got the same behavious on: https://youtu.be/GkgPIJp8_30 but it's not reproducible, when I try again, I only get the first two of the mentioned messages nd then the video starts.

7echLife commented 3 years ago

I'm having this issue now. I tried watching 2 videos and even 5 videos from history and they all failed to load.

jantomicky commented 3 years ago

I can't play any video right now, all failed to load.

axeII commented 3 years ago

Same here I am unfortunately unable to play any video 😞 . Did API change?

stpnwf commented 3 years ago

same issue here

ssnor commented 3 years ago

I have the same issue.

Yoss1960 commented 3 years ago

I too am seeing this behaviour.

In case my location matters; I'm in South West England.

Akruidenberg commented 3 years ago

Same here.

DrunkenBlyatHvH commented 3 years ago

same here in germany (linux)

johnno66 commented 3 years ago

Same here since this afternoon (Netherlands), both on Mac and Linux client.

Ralph2024cdnis commented 3 years ago

Same here in Hong Kong (Linux client)

thescheff commented 3 years ago

Change the invidius instance in the settings. invidious.snopyta.org is down. freetube

This works for me.

johnno66 commented 3 years ago

Change the invidius instance in the settings. invidious.snopyta.org is down.

Thanks, Invidious playback now works, but the original error ("Local API Error (Click to copy): Error: Status code: 404") still remains

ChunkyProgrammer commented 3 years ago

Pretty sure it has to do with this: https://github.com/fent/node-ytdl-core/issues/939

EvilGremlin commented 3 years ago

+1 Unable to play almost any video in last hours. Youtube definitely changed something.

rjdg14 commented 3 years ago

I've discovered that every video is now resulting in the 404 error. Age restricted videos began having this issue (after ytdl's fix a few weeks ago) several days back. Changing to the Cyberhost network semi-solves the problem, but as others have said, still brings up the text error while allowing videos to play. It also doesn't solve the issue that age restricted videos have been having, again, for several days, despite that issue only being fixed a couple of weeks ago.

UPDATE: After a few minutes of using the Cyberhost URL, it's no longer working for most videos, either.

May I ask if YouTube intentionally updates elements of their code on a regular basis to try and throttle third party clients such as FreeTube and the ytdl core, or do they do so simply for improvements to the functioning of their site? Until late last year, when they began a crackdown on the ability to view age restricted content, they'd done very little to affect the functioning of clients to my knowledge.

efb4f5ff-1298-471a-8973-3d47447115dc commented 3 years ago

Response from dev

Screenshot_20210623-100307.png

RastiGiG commented 3 years ago

Could you guys pls link the the issue here as well? Can't click a link in a picture sadly ;)

fantawttw commented 3 years ago

Could you guys pls link the the issue here as well? Can't click a link in a picture sadly ;)

I think this is the issue mentioned /fent/node-ytdl-core/issues/939 I think @ChunkyProgrammer mentioned it above so also credit to him

efb4f5ff-1298-471a-8973-3d47447115dc commented 3 years ago

Could you guys pls link the the issue here as well? Can't click a link in a picture sadly ;)

https://github.com/fent/node-ytdl-core/issues/939

https://github.com/fent/node-ytdl-core/pull/938

MattRGX commented 3 years ago

I'm not able to see any video from my subscription list right now. I tried to change the invidious instance but nothing change !

Here are my settings !

image

Ralph2024cdnis commented 3 years ago

I'm not able to see any video from my subscription list right now. I tried to change the invidious instance but nothing change !

Here are my settings !

image

yewtu.be doesn't work too, I tried.

I am using invidious.kavin.rocks

MattRGX commented 3 years ago

I'm not able to see any video from my subscription list right now. I tried to change the invidious instance but nothing change ! Here are my settings ! image

yewtu.be doesn't work too, I tried.

I am using invidious.kavin.rocks

yewtu.be is working on my side !

even with invidious.kavin.rocks i'm not able to see any video on my subscriptions list !

jilv220 commented 3 years ago

https://invidious.kavin.rocks working for me.

rebelga commented 3 years ago

No video working for me either. v0.13.1 Beta

KarkanAlzwayed commented 3 years ago

Change the invidius instance in the settings. invidious.snopyta.org is down. freetube

This works for me.

Thank you for this, it's fixed it for me. Any idea why the option to change the resolution is gone now? do I need to open a new issue for it, or is it being addressed?

efb4f5ff-1298-471a-8973-3d47447115dc commented 3 years ago

Thank you for this, it's fixed it for me. Any idea why the option to change the resolution is gone now? do I need to open a new issue for it, or is it being addressed?

The resolution problem ur facing is a WIP. U dont need to open an issue for this.

KarkanAlzwayed commented 3 years ago

Excuse my ignorance, what is WIP? @efb4f5ff-1298-471a-8973-3d47447115dc

realfraze commented 3 years ago

Excuse my ignorance, what is WIP? @efb4f5ff-1298-471a-8973-3d47447115dc

unless i'm very mistaken, he just means "work in progress"

KarkanAlzwayed commented 3 years ago

@realfraze makes sense. It was there last week. I was able to change the video resolution while the video is playing, but now I can't. The option is completely gone

efb4f5ff-1298-471a-8973-3d47447115dc commented 3 years ago

@realfraze makes sense. It was there last week. I was able to change the video resolution while the video is playing, but now I can't. The option is completely gone

What u can do tho is post ur comment about resolution here https://github.com/FreeTubeApp/FreeTube/issues/595 for visibility.

trych commented 3 years ago

I can't load any video either. Doesn't even seem to matter what I put in Invidious Instance.

MattRGX commented 3 years ago

I can't load any video either. Doesn't even seem to matter what I put in Invidious Instance.

the same for me ! Whatever instance i put, loads of video doesn't work

precession25920 commented 3 years ago

Change the invidius instance in the settings. invidious.snopyta.org is down.

Works for me too.

unsungNovelty commented 3 years ago

I can't load any video either. Doesn't even seem to matter what I put in Invidious Instance.

I can't load any video either. Doesn't even seem to matter what I put in Invidious Instance.

the same for me ! Whatever instance i put, loads of video doesn't work

@MattRGX @trych - After you change the invidious instance, you need to refresh the video from subscription page to reload the whole thing. If you haven't, you should.

image

trych commented 3 years ago

After you change the invidious instance, you need to refresh the video from subscription page to reload the whole thing. If you haven't, you should.

Nope. Doesn't change a thing unfortunately. Restarting the app doesn't help either. I cannot play a single video, no matter what.

efb4f5ff-1298-471a-8973-3d47447115dc commented 3 years ago

Could you guys pls link the the issue here as well? Can't click a link in a picture sadly ;)

https://github.com/fent/node-ytdl-core/issues/939

https://github.com/fent/node-ytdl-core/pull/938

Quick update: the upstream issue has been resolved and merged. Now its just a matter of time for Freetube to fix the issue on their end.

trych commented 3 years ago

Seems to work again for most videos! But I still seem to be able to play age restricted videos (which usually is FreeTube's most useful feature for me).

efb4f5ff-1298-471a-8973-3d47447115dc commented 3 years ago

But I still seem to be able to play age restricted videos (which usually is FreeTube's most useful feature for me).

IIRC age restricted videos were already broken before this issue occurred. Its a known problem and is been worked on.

Capture

This reply was 24/06 The first two sentences are not related to age restricted content.

trych commented 3 years ago

Ah, ok. Thanks for the info!

robguthm commented 3 years ago

I can't load any video either. Doesn't even seem to matter what I put in Invidious Instance.

I can't load any video either. Doesn't even seem to matter what I put in Invidious Instance.

the same for me ! Whatever instance i put, loads of video doesn't work

@MattRGX @trych - After you change the invidious instance, you need to refresh the video from subscription page to reload the whole thing. If you haven't, you should.

image

refreshing worked for me. still getting error text but video will play after fallback using https:/yt.cyberhost.uk

Thanks

efb4f5ff-1298-471a-8973-3d47447115dc commented 3 years ago

Hotfix update is available to download:

https://github.com/FreeTubeApp/FreeTube/releases/tag/v0.13.2-beta

https://freetubeapp.io/#download

This should resolve this issue.

arrowgent commented 3 years ago

https://api.invidious.io/

go here and verify a current node is working set it to your freetube invidious done deal.

ON THIS NOTE it would be good if freetube could query this api and tell the user if certain Invidious instances are good/down/etc

SECONDLY would it be possible to allow updating (locally) the freetube Local invidious instance? without needing to wait for a freetube patch update?

Kreyren commented 3 years ago

Proposing to use random instance on each try with configurable retry attempts

Option to blacklist instances that are getting blocked too often e.g. snopyta.org should also be integrated so that the load can be distributed evenly

-- https://github.com/FreeTubeApp/FreeTube/issues/1472

Kreyren commented 3 years ago

IIRC age restricted videos were already broken before this issue occurred. Its a known problem and is been worked on. @efb4f5ff-1298-471a-8973-3d47447115dc

See https://github.com/FreeTubeApp/FreeTube/issues/1296

arrowgent commented 3 years ago

Proposing to use random instance on each try with configurable retry attempts

Option to blacklist instances that are getting blocked too often e.g. snopyta.org should also be integrated so that the load can be distributed evenly

-- #1472

creating a blocklist and/or using a random selection list creates a new hash of problems and errors

instead of attempting to automate this process; better Error messaging can be displayed instead of a large block of text with a 404 at the end, give a minor popup requesting to use an alternative Invidious api instance

a block selection if automated Servers: -> Selected server 1 -> no server 2 -> yes (selected) server 3 -> yes (selected) server 4 -> no clicking left/right arrow to move server to NotSelected : Selected boxes. ex

i specifically choose US based instances due to Latency/ping

Kreyren commented 3 years ago

Latency up to to 1000ms is irelevant while playing videos as they get preloaded in a buffer and doesn't require any real time input.

Agree with better messaging, but disagree with automatization as the more auomated this is the better since all videos on invidious now require me to use redirect.invidious.io and go through instances which is pita.

Also in the world where all instances works pressing the button is still annoying

GilgusMaximus commented 3 years ago

I am going to close this, as the original problem was solved with the hotfix and better error displays are on our list anyways and discussed in many other issues as well

zh54tg234f commented 1 year ago

@GilgusMaximus please think about reopening since the issue is back and there is no serious fallback to utilize invidious. (which is better maintained and quicker updated, no offense)

https://github.com/FreeTubeApp/FreeTube/issues/1296