Page 1 of 1

Deluge WebUI Problems

Posted: Tue Jun 18, 2013 10:44 pm
by justsome
OS: Win 7 Ult x64 SP1
Deluge Ver: 1.3.6 py2.7

I love deluge so much. It fits my needs perfectly, but this WebUI has been a real pain in my bottom for the past few days.

The first problem I have with the WebUI is that it never saves any of my settings besides the password. Any changes made through the WebUI seem to just get lost. I've been following directions mentioned in other threads where I had to make the change, kill the delugewebui process, then restart it again, but it just doesn't seem to work. I've tried using the workarounds from the previous versions to no avail, leaving me forced to make setting changes through the web.conf in the appdata\roaming\deluge folder.

The second problem I have with the WebUI is that for some reason, it doesn't want to accept my self-made self signed certificates. I know for a fact that I am able to use https, because it works fine with the default certificate and key, however, whenever I change the path in the web.conf, so that it would use my self made certificate and key, the deluge webui process starts to freeze up and reject my connection.

I've tried using two separate clean installs and different certificates, but nothing seems to work. I don't know if I'm the only one with this problem or that nobody else cares enough to post about it because I haven't been able to find other people who are having this issue.

Re: Deluge WebUI Problems

Posted: Tue Jun 18, 2013 11:11 pm
by Cas
There have been reports of issues with webui saving setting but never found the actual cause however either removing core.conf or clean config usually solves the issue.

As for HTTPS, last time I tested on windows I used the following to create the self-signed certs:

Code: Select all

C:\OpenSSL\bin\openssl.exe req -config C:\OpenSSL\bin\openssl.cnf -x509 -days 365 -newkey rsa:1024 -keyout hostkey.pem -nodes -out hostcert.pem

Re: Deluge WebUI Problems

Posted: Wed Jun 19, 2013 3:30 am
by justsome
Oh man, I'm so embarrassed to say this, but I've been hitting the "OK" button without pressing the "Apply" button beforehand. I guess I just assumed the "OK" button would behave just like a Windows "OK" button would. I guess that solves the issue of the settings not saving.

I used that code to generate a new certificate and it worked perfectly. I later added a passphrase to the key and then I'm getting rejected again. I'm guessing the deluge webui doesn't play nice with passworded keys?

I don't know if it means anything, but whenever I use the key with the passphrase, CPU usage spikes.

Without passphrase
http://i.imgur.com/41VgDtg.png

With passphrase
http://i.imgur.com/B5FDJGX.png

Better image
http://i.imgur.com/kJGAzsL.png

Thanks for all the help. I really appreciate it.

Re: Deluge WebUI Problems

Posted: Wed Jun 19, 2013 1:32 pm
by Cas
I thought I had fixed that OK and Apply issue but good to know it's working for you now.

No it doesn't support passphrase keys and it's pretty impractical because you would need to enter that passphrase whenever the application starts up.

Re: Deluge WebUI Problems

Posted: Wed Jun 19, 2013 9:56 pm
by justsome
Yeah, I did a clean install just to confirm. The OK button does not save settings. You have to hit Apply before quitting out. At least for me.

Alright, I guess that explains everything. Sorry if this is a noob question, but was that supposed to be obvious? If not maybe you should consider putting it in the FAQ? I'm only asking because I have had zero experience with ssl certs beforehand.

Thanks again for all the help.