lamarios / clipious

Invidious client for android
GNU Affero General Public License v3.0
931 stars 31 forks source link

Proxy-Videos leads to black screen on play #515

Open IUxp8xz9 opened 6 months ago

IUxp8xz9 commented 6 months ago

Describe the bug Since the last update I get a black screen on multiple devices as soon as I enable proxy videos through instance.

To Reproduce Steps to reproduce the behavior:

  1. Enable Proxy-Video
  2. Start video, black screen
  3. Disable Proxy-Video
  4. Start video, working as intended

Expected behavior Proxying not leading to black screen.

Additional context Clipious 1.19.2 Build 40473 Invidious 2024.03.31-08390ac

Proxy works flawless on web version of my instance.

IUxp8xz9 commented 5 months ago

Still an Issue with 1.19.4 Build 40493 and Invidious 2024.04.10-b673695. I checked the logs and the link Clipious generates while playing over proxy works if copied over to a PC.

I also narrowed it down to the fact, that my instance uses basic HTTP authentication. So the problem seems to be that my URLs look like https://user:pass@instance.de which seems to break proxying on Clipious.

lamarios commented 5 months ago

Usually having a non https, self signed certificates or basic auth instance causes issues. I don't understand why and if it is an android issue, an invidious issue or my app's problem.

I should take the time to check this but recently I'm pretty busy with work.

IUxp8xz9 commented 5 months ago

Okay so I dug into it even more: I reverted back to 1.19.1 and it started working again. But that seems to be due to the fact, that you hadn't fixed #507 bevause I get a google url. Enabling dash and proxy on 1.19.1 results in a black screen again. If you need, I can provide a test account for you via mail on my instance. No need to rush though, I obviously didnt use proxy before so no hurry now :)