clipious icon indicating copy to clipboard operation
clipious copied to clipboard

Channel page doesn't load when HTTP Basic Auth is active

Open kkwpsi opened this issue 5 months ago • 6 comments

Describe the bug In the context of problem ID 598, I did some tests. I created a new user and disabled HTTP Basic Auth on Invidious server. I logged in via Clipious as a new user (cookie). There were no problems loading the channel pages. I loaded at least a few of them. Then I enabled HTTP Basic Auth on Invidious server and cleared the Clipious data and cache. In Clipious I added the same server with login details for HTTP Basic Auth. I logged in as the same user (cookie). In this case I couldn't open the channel pages (see logs below).

That user never logged via token or asking for token.

To Reproduce Steps to reproduce the behavior:

  1. Add new server with HTTP Basic Authetication
  2. Try to load channel page

Expected behavior The channel page should load as if you were connecting to the server without HTTP Basic Auth.

Screenshots none

Smartphone (please complete the following information):

  • Device: Samsung S23
  • OS: Android 14
  • Version Clipious: 1.21.2
  • Version Invidious: 2024.09.20-a021b930 @ master

Additional context [INFO] [Service] - 2024-09-21 21:14:39.632724 - calling https://xxxxxxxxxx/api/v1/trending?region=US [INFO] [Service] - 2024-09-21 21:14:39.681168 - Response from GET https://xxxxxxxxxx/api/v1/popular, status: 200 [INFO] [Service] - 2024-09-21 21:14:40.550929 - Response from GET https://xxxxxxxxxx/api/v1/trending?region=US, status: 200 [INFO] [Service] - 2024-09-21 21:15:10.352193 - calling https://xxxxxxxxxx/api/v1/auth/subscriptions [INFO] [Service] - 2024-09-21 21:15:10.515448 - Response from GET https://xxxxxxxxxx/api/v1/auth/subscriptions, status: 403 [SEVERE] [Service] - 2024-09-21 21:15:10.515827 - Error while calling service: Unexpected char 'B' at line 1, column 1

kkwpsi avatar Sep 21 '24 19:09 kkwpsi