Piped icon indicating copy to clipboard operation
Piped copied to clipboard

/videoplayback 403 - Piped not playing videos

Open probatschool2 opened this issue 2 years ago • 60 comments

Official Instance

Describe the bug

For some reason the videos dont load and I cant watch piped. I primarily use piped cause youtube is blocked and this piped link is just about one of the only ones not blocked. If someone can please help me with this it would be much appriciated! Screenshot 2023-08-14 11 17 01 PM

To Reproduce

i honestly dont know how to reproduce this bug

Expected behavior

I expected to be able to watch the youtube videos I want to.

Logs/Errors

No response

Browser, and OS with Version.

I use google and i think I may use chrome os beacuse Im on my school chrome book and use it.

Additional context

No response

probatschool2 avatar Aug 15 '23 04:08 probatschool2

same issue here; mine is reproducible on the lastest libretube client of fdroid with the instance piped.yt my suspicious is that instances are being bot-blocked correct me if the case. Unrelated to the bug, how can i run an instance for my people if theres an article for this please link it to me.

Edit: changing instance seems fruitless , does load thumbnails cover art and personalized feed (A.k.a. subscriptions), selecting a video loads description title and comments, No playback whatsoever. i'm running libretube v0.16.1 on a modified samsung s9 running lineageOS 20 (Android 13), no gapps installed, still, if i'm somewhat usefull, tell me.

Edit 2: I take the changing instance seems fruitless back, instance whatever.social fuctions normally, However If you try my solution please spread out so we don't acidentally DDoS the working instances.

alejandro-alzate avatar Aug 15 '23 05:08 alejandro-alzate

The same issue with my ytapi.dc09.ru instance.

Proxy returns 403 Forbidden on every video stream request. I mean previews and channel avatars are succesfully loaded, but URLs from videoStreams and audioStreams are not.

I'll update API and proxy, and then edit this comment if anything changed.
Upd: bug still exists in the latest version.

DarkCat09 avatar Aug 15 '23 05:08 DarkCat09

Found the same issue in Invidious repo, and it have been already fixed: https://github.com/iv-org/invidious/issues/4045#issuecomment-1674373088

DarkCat09 avatar Aug 15 '23 05:08 DarkCat09

Fix in NewPipeExtractor: https://github.com/TeamNewPipe/NewPipeExtractor/pull/1084

DarkCat09 avatar Aug 15 '23 05:08 DarkCat09

This bug still exists even on the latest Piped-Backend commit.

DarkCat09 avatar Aug 15 '23 06:08 DarkCat09

no instance work right now. For example: GET https://watchproxy-nl.whatever.social/videoplayback returns 403.

fahim44 avatar Aug 15 '23 07:08 fahim44

I dont know all these terms yall use like instances and stuff like that i m only in 9th grade just trying to find a unblocked youtube to use

probatschool2 avatar Aug 15 '23 14:08 probatschool2

@probatschool2 To put it simply, YouTube has blocked access to Piped proxy from connecting to YouTube and thus not being able to play videos as far as I know.

ReduxFlakes avatar Aug 15 '23 14:08 ReduxFlakes

https://api.piped.projectsegfau.lt It works

Qaz-6 avatar Aug 15 '23 15:08 Qaz-6

instance whatever.social broke, i migrated to [REDACTED] but broke as well WHILE writing this down

alejandro-alzate avatar Aug 15 '23 15:08 alejandro-alzate

@FireMasterK, could you update your Extractor fork? https://github.com/TeamNewPipe/NewPipeExtractor/pull/1084

DarkCat09 avatar Aug 15 '23 17:08 DarkCat09

sadly the website https://api.piped.projectsegfau.lt/ is blocked and not working for me they have it blocked by category on my computer. Btw if yall can please give me links to any other fake youtubes for things that may be unblocked it would be much appriciated thank you

probatschool2 avatar Aug 15 '23 18:08 probatschool2

@FireMasterK, could you update your Extractor fork? TeamNewPipe/NewPipeExtractor#1084

This is unrelated and we already have this commit.

FireMasterK avatar Aug 15 '23 18:08 FireMasterK

Now all instances are working.Sometimes it still doesn't work.

Qaz-6 avatar Aug 15 '23 18:08 Qaz-6

Cannot confirm this. Tested the offical, piped.adminforge.de and piped.smnz.de and they all don't work.

smol-loli avatar Aug 15 '23 19:08 smol-loli

Still doesn't work

lmenale avatar Aug 16 '23 07:08 lmenale

yes still broken. I think google blocked again. piped.adminforge.de is now running with privoxy/wireguard vpn and it works but the performance is realy bad.

Dominion0815 avatar Aug 16 '23 07:08 Dominion0815

piped.mha.fi and project segfault work.

I don't know how, but if Google actually banned proxy IPs, I can request other address from my hoster for dc09.ru instance. Will it help?

DarkCat09 avatar Aug 16 '23 10:08 DarkCat09

The official libre instance works

LavellanDWR avatar Aug 16 '23 11:08 LavellanDWR

@n-ce if Google is straight away banning IP addresses of ytproxy servers is it really worth? It may just be a matter of time before those servers get banned too, if they use static addresses (unless this was a one-off stunt from their side). Maybe it'd be more helpful to compile a list of instances that will start adopting rotating IP addresses, if it really turns out that Google is blacklisting requests on an IP basis.

As a Piped instance admin I think I'm pretty much done from my side - I've played this cat-and-mouse game with Google for too long and I don't want to invest time to give my server a dynamic IP because that server is also used for other stuff. But I'm happy to support anyone who embarks into this new challenge.

blacklight avatar Aug 16 '23 11:08 blacklight

@BlackLight, if I understood everything correctly, Google detected IPs by the deprecated API requests. Your IP address will be blocked only if something like #2487 or #2809 happen again.

DarkCat09 avatar Aug 16 '23 11:08 DarkCat09

This is informative and unfortunate...

giselle-campos avatar Aug 16 '23 15:08 giselle-campos

YouTube has blocked access to Piped proxy from connecting to YouTube

Have they though? Do youtube videos work in a browser on the same server, or is there something more to it? (~~EDIT: there is something more to it, at least according to https://github.com/yt-dlp/yt-dlp/issues/7860#issuecomment-1681243045~~ nevermind, they were using an outdated version of yt-dlp)

gamer191 avatar Aug 17 '23 01:08 gamer191

Hello, For me, no video is readable, I saw those messages in console on video page (e.g. https://piped.kavin.rocks/watch?v=S-OgkNgxm3k) :

Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.
Blocage d’une requête multiorigine (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://static.cloudflareinsights.com/beacon.min.js/v8b253dfea2ab4077af8c6f58422dfbfd1689876627854. Raison : échec de la requête CORS. Code d’état : (null).
Aucun des hachages « sha512 » de l’attribut « integrity » ne correspond au contenu de la sous-ressource. Le hachage calculé est « z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg== ». watch
XHRGET
https://pipedapi.kavin.rocks/streams/S-OgkNgxm3k
[HTTP/3 502 Bad Gateway 51ms]

EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support. shaka-player.ui-f6360940.js:1:431327
McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support. shaka-player.ui-f6360940.js:1:433039
Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://pipedapi.kavin.rocks/streams/S-OgkNgxm3k. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant. Code d’état : 502.
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.
Uncaught (in promise) TypeError: e is undefined
    fetchSponsors https://piped.kavin.rocks/assets/WatchVideo-312c8ba7.js:1
    fetchSponsors https://piped.kavin.rocks/assets/WatchVideo-312c8ba7.js:1
    getSponsors https://piped.kavin.rocks/assets/WatchVideo-312c8ba7.js:1
    mounted https://piped.kavin.rocks/assets/WatchVideo-312c8ba7.js:1
    Mt https://piped.kavin.rocks/assets/index-9fbaa647.js:1
    Qt https://piped.kavin.rocks/assets/index-9fbaa647.js:1
    rt https://piped.kavin.rocks/assets/index-9fbaa647.js:1
    __weh https://piped.kavin.rocks/assets/index-9fbaa647.js:1
    ku https://piped.kavin.rocks/assets/index-9fbaa647.js:1
    Cu https://piped.kavin.rocks/assets/index-9fbaa647.js:1
WatchVideo-312c8ba7.js:1:29312

Flywall avatar Aug 17 '23 15:08 Flywall

Issue seems to be fixed. Tested on :

n-ce avatar Aug 20 '23 04:08 n-ce

Hi, is changing the server IP the only solution rn ?

d4rklynk avatar Aug 20 '23 12:08 d4rklynk

Issue seems to be fixed. Tested on :

* piped.video

* garudalinux.org (edit : [failing with authorisation errors](https://piped-proxy.garudalinux.org/videoplayback?expire=1692527517&ei=PZfhZICQN7KH6dsPsayZmA4&ip=116.202.208.112&id=o-AE9-zwDnCVqb7n7bf_8dcOorKLOYAE7VnPGOkWTzZSfe&itag=249&source=youtube&requiressl=yes&mh=BW&mm=31%2C26&mn=sn-4g5ednz7%2Csn-h0jeenl6&ms=au%2Conr&mv=m&mvi=4&pl=17&initcwndbps=520000&spc=UWF9f_N1Jb5brb9vJHaIqmRVXlew_n8&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=2704356&dur=408.381&lmt=1574756811747966&mt=1692505501&fvip=3&keepalive=yes&fexp=24007246%2C24362685%2C51000023&beids=24350017&c=ANDROID&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgZiP4wUo7xEbUpqPbCgYNV5rzkOQz0BXBf7c3xxRj2AMCIQCrdEIg_Bu2bv_oKtUAWmZYKGpk9wH0aR8j-BrMRnRnFw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgPaoRwPCLvFKbHArgyzRJnFNk1VQPUQB5D9-eKoV8AEICIQCwThDeP1iNTpUto6-oYIxSLPua-sQ0S6zyFgy_K5hyeA%3D%3D&cpn=PVKoetfzkY2YJIOh&host=rr4---sn-4g5ednz7.googlevideo.com))

* privacydev.net

* adminforge.de

Moreover

  • kavin.rocks
  • mha.fi
  • kavin.rocks libre
  • smnz.de
  • qdi.fi
  • frontendfriendly.xyz
  • piped.yt
  • drgns.space

proxies; are working and connecting too!

r1klz avatar Aug 20 '23 18:08 r1klz

Piped proxy just stoped working for drgns.space :( For now I put piped-proxy behind a VPN to get it working :+1:

drgns-wtd avatar Aug 21 '23 22:08 drgns-wtd

Hi, is changing the server IP the only solution rn ?

You can use a VPN. That's what the official instance currently does.

FireMasterK avatar Aug 22 '23 03:08 FireMasterK

I can install a VPN on my instance if needed yeah. But it always will be the same IP, I'm not sure I can change servers.

d4rklynk avatar Aug 22 '23 11:08 d4rklynk