Opening qbittorrent WebUI via Dashboard app is unauthorized, mismatched ip's

So I found the solution. its 2 fold.

First. Go to your qbittorrent.conf file, this is located in /config/qbittorrent/ location. Change the following from

WebUI\HostHeaderValidation=true

to

WebUI\HostHeaderValidation=false

this will allow you to bypass unauthorized issue that might happen in general, not through a home dash board application.

the 2nd fix is to solve the issue of ‘unauthorized’ when opening through a dashboard app, such as homarr, heimdall, & fenrus. Line 59, change from true to false

WebUI\CSRFProtection=true
WebUI\CSRFProtection=false

I’ve seen reports on various posts/forums scattered across the interwebs that the error can be reproduced with a reverse proxy as well. can’t confirm myself… but regardless, when editing this file, i’d first stop the container, edit the file, then restart the container.

3 Likes