ytorg / Yotter

Youtube and Twitter with privacy.
GNU Affero General Public License v3.0
466 stars 36 forks source link

Can’t play videos on yotter.xyz #203

Open SwiftWinds opened 3 years ago

SwiftWinds commented 3 years ago

Describe the bug Upon clicking on a video, I am greeted with this screen:

image

To Reproduce Steps to reproduce the behavior:

  1. Go to yotter.xyz
  2. Search for any video (e.g., "chubbyemu")
  3. Click on the first video result
  4. See error

Expected behavior For the UI to watch the video to appear.

Screenshots See above.

Smartphone (please complete the following information):

Additional context Thank you so much for your free and open-source, privacy-focused web app! I use it all the time. :)

obeho commented 3 years ago

Same error here. Since many days. All videos have the same problem.

FireMasterK commented 3 years ago

It's an instance issue, works on my instance 🤔

obeho commented 3 years ago

Yeah, maybe some rate-limiting issue on the IP.

SwiftWinds commented 3 years ago

https://yotter.kavin.rocks works for me. However, I'm wary that it's hosted in India, which is around the globe from where I am in the states, so it might be a bit slow at times for me.

Do you know if Yotter can be hosted with Google Cloud Run?

obeho commented 3 years ago

https://yotter.kavin.rocks works for me

I think its hosted on Cloudflare, so you should have no problem about the latencies, wherever you are.

FireMasterK commented 3 years ago

https://yotter.kavin.rocks works for me. However, I'm wary that it's hosted in India, which is around the globe from where I am in the states, so it might be a bit slow at times for me.

That's true, unfortunately, you would have a latency of at least 270ms, multi-region load balancing isn't supported by Yotter you would have to look for a US instance, or host one yourself.

Alternatively, could check my project - Piped, which does support multi-region loadbalancing. (and has a server in the US!)

Do you know if Yotter can be hosted with Google Cloud Run?

I don't think this is possible as Yotter would require at least 3 processes to work - nginx, python/gunicorn, and the ytproxy.

I think its hosted on Cloudflare, so you should have no problem about the latencies, wherever you are.

This isn't exactly true always, uncached requests still have to travel to India, here, every page is uncached, only images, CSS, and JS are cached.

swgrrt commented 3 years ago

I have the same issue on my private instance which is only used by me. So I guess the problem is not caused by IP rate limiting.

FireMasterK commented 3 years ago

Yes, this is likely due to YouTube's new consent cookie, thinking about it now.

lewis149 commented 3 years ago

But wouldn't that affect Invidious too?

FireMasterK commented 3 years ago

But wouldn't that affect Invidious too?

They have a fix for that: https://github.com/iv-org/invidious/commit/739f6105073245b051aa08354e9a4f15c25a3572

lewis149 commented 3 years ago

Now it redirects to some hosting website

pluja commented 3 years ago

I am aware of this, I will be solving these problems on the following months when I finish my final exams!

lewis149 commented 3 years ago

Thanks and good luck