CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

[Bug] qBittorrent opens to "Unauthorised" when opened from Casa OS but opens to login page when URL is manually entered

Open OrdinaryWizard opened this issue 1 year ago • 2 comments

Describe the bug

qBittorrent cannot be opened from Casa OS menu (opens to "Unauthorised" page) but can be accessed by normally typing in the url. I guess it's not that big a deal but it can be annoying to deal with in the long term.

To Reproduce

Steps to reproduce the behavior:

  1. Install qBittorrent
  2. Open qBittorrent from the Casa OS home page (it opens to "Unauthorised")
  3. Type in the url for the qBittorrent Web UI (e.g http://192.XXX.XXX.XXX:8181) (it opens to the login page)

Expected behavior

  1. Install qBittorrent
  2. Open qBittorrent from Casa OS home page (it opens to login page)

Desktop (please complete the following information):

 - OS: [e.g. iOS]
 - Browser [e.g. chrome, safari]
 - Version [e.g. 22]

System Time

Run timedatectl and share the output

Local time: Thu 2024-07-11 10:07:43 UTC
           Universal time: Thu 2024-07-11 10:07:43 UTC
                 RTC time: Thu 2024-07-11 10:07:43
                Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Logs

Run following command to collect corresponding logs:

sudo journalctl -xef -u casaos-gateway
sudo journalctl -xef -u casaos-user-service
sudo journalctl -xef -u casaos-local-storage
sudo journalctl -xef -u casaos-app-management
sudo journalctl -xef -u casaos.service

Additional context

Add any other context about the problem here.

If you are a Zimaboard user, make it explicit with when you got your Zimaboard.

OrdinaryWizard avatar Jul 11 '24 10:07 OrdinaryWizard

It's not a CasaOS bug, you need to uncheck "Enable Cross-Site Request Forgery (CSRF) protection" in qBittorrent

image

felipechang avatar Jul 12 '24 16:07 felipechang

It's not a CasaOS bug, you need to uncheck "Enable Cross-Site Request Forgery (CSRF) protection" in qBittorrent

image

dude, you're a legend!

halcyon101 avatar Aug 03 '24 10:08 halcyon101

U can also change the local auth from false to true, this did it for me because I would get constantly the unauthorized prom Screenshot_20250104-233616_Firefox

SpyrMark avatar Jan 04 '25 21:01 SpyrMark