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

/videoplayback 403 - Piped not playing videos #2809

Open
1 task done
probatschool2 opened this issue Aug 15, 2023 · 60 comments
Open
1 task done

/videoplayback 403 - Piped not playing videos #2809

probatschool2 opened this issue Aug 15, 2023 · 60 comments
Labels
bug Something isn't working

Comments

@probatschool2
Copy link

probatschool2 commented Aug 15, 2023

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 probatschool2 added the bug Something isn't working label Aug 15, 2023
@alejandro-alzate
Copy link

alejandro-alzate commented Aug 15, 2023

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.

@DarkCat09
Copy link

DarkCat09 commented Aug 15, 2023

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
Copy link

Found the same issue in Invidious repo, and it have been already fixed: iv-org/invidious#4045 (comment)

@DarkCat09
Copy link

Fix in NewPipeExtractor: TeamNewPipe/NewPipeExtractor#1084

@DarkCat09
Copy link

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

@fahim44
Copy link

fahim44 commented Aug 15, 2023

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

@probatschool2
Copy link
Author

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

@ReduxFlakes
Copy link

@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.

@Qaz-6
Copy link
Contributor

Qaz-6 commented Aug 15, 2023

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

@alejandro-alzate
Copy link

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

@DarkCat09
Copy link

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

@probatschool2
Copy link
Author

probatschool2 commented Aug 15, 2023

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

@FireMasterK
Copy link
Member

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

This is unrelated and we already have this commit.

@Qaz-6
Copy link
Contributor

Qaz-6 commented Aug 15, 2023

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

@smol-loli
Copy link

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

@Bnyro Bnyro pinned this issue Aug 16, 2023
@lmenale
Copy link

lmenale commented Aug 16, 2023

Still doesn't work

@Dominion0815
Copy link

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.

@DarkCat09
Copy link

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?

@LavellanDWR
Copy link

The official libre instance works

@blacklight
Copy link

blacklight commented Aug 16, 2023

@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.

@DarkCat09
Copy link

@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.

@giselle-campos
Copy link

giselle-campos commented Aug 16, 2023

This is informative and unfortunate...

@DarkCat09
Copy link

DarkCat09 commented Aug 24, 2023

For instance maintainers who run a VPN/proxy client supporting connection over HTTP or SOCKS (like Xray), you can tell piped-proxy to use it with this env var:

piped-proxy:
  ...
  environment:
    PROXY=socks5://127.0.0.1:2080

Or in OpenRC config file instead of Docker in my case:

#!/sbin/openrc-run

export PROXY=socks5://127.0.0.1:2080
...

Piped-proxy uses reqwest library under the hood, so the format is the same as here.
http://address:port or socks[4/5]://address:port

@d4rklynk
Copy link

For instance maintainers who use docker but don't want to put the whole system behind a VPN, you can use gluetun as such: (truncated)

version: "3"

services:
    vpn:
      image: qmcgaw/gluetun
      cap_add:
        - NET_ADMIN
      environment:
        - VPN_SERVICE_PROVIDER=mullvad
        - VPN_TYPE=openvpn 
        - OPENVPN_USER= # Account code
        - SERVER_COUNTRIES=USA
      privileged: true
      restart: unless-stopped
    piped-proxy:
      image: 1337kavin/piped-proxy:latest
      network_mode: "service:vpn" # IMPORTTANT
      restart: unless-stopped
      environment:
          - UDS=1
      volumes:
          - piped-proxy:/app/socket

If you use a different provider, gluetun supports anything including custom configs: https://github.com/qdm12/gluetun-wiki/tree/main/setup/providers

Omg man, thanks, it's way easier than setup a VPN.
That's actually a good solution rn.

@Qaz-6
Copy link
Contributor

Qaz-6 commented Aug 24, 2023

@MuubNito
Copy link

Piped somehow stopped working again, but it still loads thumbnails and titles.

@d4rklynk
Copy link

d4rklynk commented Aug 30, 2023

It works for me though
Which instance are you referring to ?
https://piped.simpleprivacy.fr works fine

@DarkCat09
Copy link

@MuubNito, yt.dc09.ru and piped.projectsegfau.lt work.
If you meant the official instance piped.video, looks like it overloaded with requests (or maybe it's my ISP issues).

@hugoghx
Copy link

hugoghx commented Sep 1, 2023

I've also just had this happen today after a frontend update. It's happening in piped.video too when playing a livestream. From the looks of it, it's some frontend problem as the proxy is replying with data but no playback occurs, and also I can watch the livestreams on the phone through Yattee.

Update: I built the frontend from source, version master @ cc478fd5 and it now works. I suspect the shaka player update broke something

@FireMasterK
Copy link
Member

I've also just had this happen today after a frontend update. It's happening in piped.video too when playing a livestream. From the looks of it, it's some frontend problem as the proxy is replying with data but no playback occurs, and also I can watch the livestreams on the phone through Yattee.

Update: I built the frontend from source, version master @ cc478fd5 and it now works. I suspect the shaka player update broke something

This appears to be a different issue, please open a new issue for this! This issue is for the Google 403 issue

@d4rklynk
Copy link

Any update for this issue ? Do we still need to use VPN or so ?

@FireMasterK
Copy link
Member

Any update for this issue ? Do we still need to use VPN or so ?

It looks like you still need to. I checked with of my IPs that was affected, and it still appears to be affected by this issue.

@Qaz-6
Copy link
Contributor

Qaz-6 commented Sep 28, 2023

I don't use VPN. I closed Piped proxy. Videos open easily.

@d4rklynk
Copy link

What are the consequences of disabling proxy ? Google will see IP of users ? And what ?

If it's IP, I totally don't care.

But if for example, using Piped w/o proxy or LibreTube with proxy-bypass feature will show my IP users to Google, can they potentially block account that are used from the same IP ?

I had similar problem when using Aurora Store months ago. My account Google has been irrevocably blocked. Aurora does not respect ToS. I don't know if Piped does though.

@ghost
Copy link

ghost commented Oct 6, 2023

pretty much all instances just take a million years to load videos if they load at all. very frustrating. as I've mentioned in some other issue, NewPipe works much better. What does NewPipe have that the desktop instances don't?

@absidue
Copy link

absidue commented Oct 6, 2023

@cyberhardt NewPipe does everything on your device and talks directly to YouTube, so your IP address, search queries etc are exposed to them. Piped does everything through the server, including the video streaming, so YouTube has no idea what comes from you and what comes from other users on the same instance. The downside of Piped's approach, is that YouTube is not a fan of the same IP address streaming 100s of terabytes of video and audio every month, so the do waves of IP bans for streaming, all the API endpoints still work fine.

The only solution, without sacrificing your privacy, is for the server to get a new IP address.

@ghost
Copy link

ghost commented Oct 6, 2023

@cyberhardt NewPipe does everything on your device and talks directly to YouTube, so your IP address, search queries etc are exposed to them. Piped does everything through the server, including the video streaming, so YouTube has no idea what comes from you and what comes from other users on the same instance. The downside of Piped's approach, is that YouTube is not a fan of the same IP address streaming 100s of terabytes of video and audio every month, so the do waves of IP bans for streaming, all the API endpoints still work fine.

The only solution, without sacrificing your privacy, is for the server to get a new IP address.

I see, thanks for the explanation

@d4rklynk
Copy link

d4rklynk commented Oct 6, 2023

How do you remove proxy part in Piped ?

I mostly use Piped, because I want SponsorBlock and I love using LibreTube.

@absidue
Copy link

absidue commented Oct 6, 2023

@d4rklynk Setup your own Piped instance without the proxy and modify the code in Piped and LibreTube to not use the proxy.

@Qaz-6
Copy link
Contributor

Qaz-6 commented Oct 8, 2023

Screenshot_20231006-143054_LibreTube Debug
This is written when this video opens.Also some 6 minute videos open in 3 minutes and often freeze or stop.Videos are close to region.Server is kavin.rocks.Server is supported in my country and no region restrictions.Internet connection is great.🤔

Video link specific to the problem in the image:https://youtu.be/6pqbFiHHrbk?si=KE6t25OCzYS1JtBy
6 minute video playback challenge link:

  1. https://youtu.be/Y-uMPL5qcKE?si=OH4rIGrDsEM1uG5S
  2. https://youtu.be/MQM7CNoAsBI?si=dFoT6QdBjl4zktgx

@Qaz-6

This comment was marked as off-topic.

@Real-Gecko
Copy link

I have kinda similar issue, with piped.video: video starts playing fine, but after random period of 2 to 8 minutes it stops and infinite loading is happening, the period is different for each video, but always the same for same video. A good example is https://piped.video/watch?v=lMKK7DUVEmQ it freezes somewhere around 8:45. Tried different browsers on different platforms, result is always the same. iPadOS: Safari, Opera, Firefox; Arch Linux: Firefox, Chromium.

@Moonstone3010
Copy link

I have kinda similar issue, with piped.video: video starts playing fine, but after random period of 2 to 8 minutes it stops and infinite loading is happening, the period is different for each video, but always the same for same video. A good example is https://piped.video/watch?v=lMKK7DUVEmQ it freezes somewhere around 8:45. Tried different browsers on different platforms, result is always the same. iPadOS: Safari, Opera, Firefox; Arch Linux: Firefox, Chromium.

Do you use a VPN?

@Real-Gecko
Copy link

I have kinda similar issue, with piped.video: video starts playing fine, but after random period of 2 to 8 minutes it stops and infinite loading is happening, the period is different for each video, but always the same for same video. A good example is https://piped.video/watch?v=lMKK7DUVEmQ it freezes somewhere around 8:45. Tried different browsers on different platforms, result is always the same. iPadOS: Safari, Opera, Firefox; Arch Linux: Firefox, Chromium.

Do you use a VPN?

Nope, but I'm located in Kazakhstan, just in case.

@Moonstone3010
Copy link

Moonstone3010 commented Nov 24, 2023

I have the same problem. Longer videos stop at the eighth minute of playback. I have to press Ctrl+F5 to continue playing and from then on the video stops about every two minutes until the end of playback. The problem applies only to video playback, it does not occur in the audio-only option.

@np22-jpg
Copy link

np22-jpg commented Nov 25, 2023

If this is an IP banning issue, then maybe Invidious’s fix could apply, where they appear to force the use of IPv6 addresses for DNS resolution then regularly rotate their instance’s public IPv6 address?

@codenyte
Copy link
Contributor

If this is an IP banning issue, then maybe Invidious’s fix could apply, where they appear to force the use of IPv6 addresses for DNS resolution then regularly rotate their instance’s public IPv6 address?

I opened an issue suggesting this #3242

@FireMasterK FireMasterK changed the title Piped not playing videos /videoplayback 403 - Piped not playing videos Dec 18, 2023
@Bnyro Bnyro unpinned this issue Apr 3, 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