Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Unable to log into qBittorrent web UI

eshutah

Neophyte
Joined
Jun 9, 2020
Messages
5
I have been learning FreeNAS since late January 2020. I purchased a used server:

"SuperMicro 4U CSE-846 24 Bay SAS2 BP X9DRi-F/2x W/ 2x E5-2620 32GB IT MODE"

To replace a dead Drobo5N. I used Unix 30 years ago, and wrote Linux device drivers 15 years ago. I'm not sure if the prior experience helped or hindered learning FreeBSD/FreeNAS or not. Either way becoming a DIY system administrator has been interesting.



I installed qBittorrent in a jail about four months ago. I recall the install process being straightforward. The overall system was never really stable until I swapped out the recommended USB thumb drive for an old laptop hard drive. It was smooth sailing after that.

Recently I went to update, qBittorrent 4.2.5. There were some errors that I don't recall, so I decided to simply kill off the jail and reinstall from scratch. There were some complaints from the OS during install (again, I don't remember what) so I set it aside for a few days. I had gone into the advanced settings and enabled tunneling in the expectation of also installing PrivateInternetService. I had not enabled tunneling before install the first install, so I tried again without it and qBittorrent installed. Now that status is qBittorrent 4.2.5 is running but I cannot log into the WebUI with the default login and password.

In using google on the web and search on this site, the only information I have found is to delete the password from the conf file. There isn't one that I can find.

I'm running Version: FreeNAS-11.3-U3.2

I went to the command line inside the jail:

----------------------------------------------------------------------
root@qbittorrent:~ # pwd
/root
root@qbittorrent:~ # cd ..
root@qbittorrent:/ # cd .config
root@qbittorrent:/.config # ls

qBittorrent
root@qbittorrent:/.config # cd q*
root@qbittorrent:/.config/qBittorrent # ls
qBittorrent-data.conf qBittorrent.conf rss
root@qbittorrent:/.config/qBittorrent # cat *.conf
[Stats]
AllStats
oot@qbittorrent:/ # cd .config
root@qbittorrent:/.config # ls
qBittorrent
root@qbittorrent:/.config # cd q*
root@qbittorrent:/.config/qBittorrent # ls
qBittorrent-data.conf qBittorrent.conf rss
root@qbittorrent:/.config/qBittorrent # cat *.conf

The contents of qBittorrent-conf:

[Stats]
AllStats=@Variant(\0\0\0\x1c\0\0\0\x2\0\0\0\x12\0\x41\0l\0l\0t\0i\0m\0\x65\0U\0L\0\0\0\x5\0\0\0\0\0\v\x12\xc8\0\0\0\x12\0\x41\0l\0l\0t\0i\0m\0\x65\0\x44\0L\0\0\0\x5\0\0\0\0\0\t\xc6\x80)

The contents of qBittorrent.conf:

[Preferences]
Connection\PortRangeMin=29743
Queueing\QueueingEnabled=false
-----------------------------------------------------------------------

So what do and those who come after do about this?

Thanks,

-Evan
 

meener

Newbie
Joined
Feb 27, 2020
Messages
3
Confirmed here also. Web search shows this problem is very common and there is seemingly no actual fix for this? Restarting seems like a common "fix"...
 

eshutah

Neophyte
Joined
Jun 9, 2020
Messages
5
I tried installing a second copy, in case my other reinstall attempts were preserving settings. Still no luck. I have restarted the system, restarted the jail and reinstalled the app. I have also tried deleting what I understand to be the file that stores the passwords. I don't feel good being whiny and unappreciative of free software, but still...
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,437
Go to the terminal for the jail and type service qbittorrent-nox restart and try logging in again. I have to do this every time I have to reboot the server. For some reason it doesn't start correctly but restarting the service works. It's been this way for a while now for me.
 

eshutah

Neophyte
Joined
Jun 9, 2020
Messages
5
Ok, I figured out the problem (in my case). Firefox security. I have a direct connection between my FreeNAS server and my desktop computer. Not that it matters - Firefox sees the connection as not secure, but it did cause me to not pay much attention to security. In the case of the FreeNAS web interface Firefox popped up a warning and allowed me to create an exception in Firefox's security world for FreeNAS. I am not getting the popup asking for an exception with the when I access the QBitTorrent web UI through Firefox. It ends up looking like QBitTorrent is acting up when you enter the password. I'm currently looking for the workaround in the Firefox settings.

I accessed the QBitTorrent UI with Chrome. It worked. No problem. Looking back, I'm not sure what I should have done differently, but I do owe the FreeNAS people and the QBitTorrent people an apology for all the things I have been muttering!

-Evan
 

ciacnorris

Neophyte
Joined
Nov 8, 2020
Messages
6
Ok, I figured out the problem (in my case). Firefox security. I have a direct connection between my FreeNAS server and my desktop computer. Not that it matters - Firefox sees the connection as not secure, but it did cause me to not pay much attention to security. I am not getting the popup asking for an exception with the when I access the QBitTorrent web UI through Firefox. It ends up looking like QBitTorrent is acting up when you enter the password.

I accessed the QBitTorrent UI with Chrome. It worked. No problem.
Same problem here. Have you found a solution with Firefox?
 

eshutah

Neophyte
Joined
Jun 9, 2020
Messages
5
My answer is yes/no/maybe. Once I got into Qbittorrent, I went to options/Web UI/Authentication. I checked "bypass authentication for clients on the localhost" and "Bypass authentication for clients in whitelisted IP subnets". I added my computer's LAN IP, and I have been happy ever since.

Notice my fix was on the Qbittorrent end, not the Firefox end, so it isn't a solution with Firefox per se. I don't think enabling localhost is necessary, but at my house I'm more concerned with convenience than security.

-Evan
 
Top