Page 1 of 2

Https fails after some time

Posted: March 22nd, 2011, 12:01 pm
by masterx
Hi, im running the latest releases version of sabnzbd (not beta). Im using this often and can access it remote which i tend to do through https. But for some reason https stops working even though http still works, the only solution by now is to restart the sabnzbd service (through the http web interface).

Does anybody have a clue on what this could be?

My setup is:
OS: windows 7 32bit
Sabnzbd version: 0.5.6

Re: Https fails after some time

Posted: March 23rd, 2011, 3:23 am
by shypike
Upgrade to 0.6.0 Beta3 (or wait a day for Beta4).

Re: Https fails after some time

Posted: March 23rd, 2011, 7:59 am
by masterx
Thanks, i'll try the latest and then report back if the issue persist :)

Re: Https fails after some time

Posted: March 26th, 2011, 6:48 am
by masterx
It did it again on a fresh windows 7 installation and sabnzb 0.6.0b4.

What can i do?

Re: Https fails after some time

Posted: March 26th, 2011, 9:14 am
by shypike
How long does it keep up?
Do you see any suspect logging in the Windows event viewer?

Have you tried a single port?
This means setting no port number for https, so that it will use the "normal" port for https
and switch off normal http.

Re: Https fails after some time

Posted: March 26th, 2011, 1:14 pm
by masterx
Hmm i changed some stuff earlier, so will just see if that might have helped (astraweb connections from 20 to 10).. Maybe windows is blocking new SSL connections because SABnzbd SSL is taking 20 connections.... Just a thought....

Re: Https fails after some time

Posted: March 28th, 2011, 2:12 pm
by masterx
Now it has failed again :( i have a lot of entries saying that i have too many connections towards ssl.astraweb.com

What can i do?

Re: Https fails after some time

Posted: March 28th, 2011, 2:19 pm
by sander
masterx wrote: Now it has failed again :( i have a lot of entries saying that i have too many connections towards ssl.astraweb.com

What can i do?
This is quite something different than your first post(s).

Anyway: solution is easy: lower the number of connections to astraweb via Config -> Server

Re: Https fails after some time

Posted: March 28th, 2011, 2:43 pm
by masterx
Its not different, cause http still works, but https fails... But should it be nessesary to lower it more? Its already gone down from 20 to 8.... It has been working before...

Re: Https fails after some time

Posted: March 28th, 2011, 3:04 pm
by shypike
Note the distinction between HTTPS and SSL.
When you use the term HTTPS, this should refer to SABnzbd's own Web user interface.
SSL should refer to encrypted connections to the Usenet servers.
These are two different things.
Each can have its own issues.

Re: Https fails after some time

Posted: March 28th, 2011, 3:27 pm
by masterx
Ahh ok... So https is failing after some time, no concrete time period... Then look away from ssl towards the usenet server ... The log file doesnt give me anything concrete, what should i look for?

Re: Https fails after some time

Posted: March 29th, 2011, 2:09 am
by shypike
masterx wrote: what should i look for?
There's not much to look for, especially because I have never been able to reproduce such problems.
In the past we had some trouble with this, but it went away after upgrading the OpenSSL libraries.

Re: Https fails after some time

Posted: March 30th, 2011, 4:22 am
by masterx
Damn  :( Its really annoying, can i update some thing on the OS myself?
Or is there something i can provide you with (logs or similar) that should be able to fix the problem?

Re: Https fails after some time

Posted: March 30th, 2011, 1:02 pm
by shypike
The trouble with HTTPS is that it depends on a chain of complicated software.
Windows TCP/IP library & Firewall, OpenSSL libraries, PyOpenSSL module, CherryPy webframe and a little bit of SABnzbd.
So 95% of the chain is outside our scope and skill set.
I can check if any of the components has had recent updates we could add.

Re: Https fails after some time

Posted: March 30th, 2011, 1:48 pm
by masterx
Thanks, that would be great :) I really hope you can dig something up, that would be fantastic :)

Other than that, thanks so much for all the help so far :)