Page 1 of 1

Fatal SSL alert: SSL handshake failure

Posted: October 14th, 2015, 8:49 am
by SeePlanet
I recently added an SSL certificate from StartSSL.com to my Synology NAS. Everything is working fine regarding the SSL for the Synology and some other applications that I have installed on it. For SAB, the SLL certificate works like a charm when I start it up and access it, but I am having an issue where every 24-48 hours the program becomes non-responsive. I looked at the error log and it looks like it's an SSL issue, but I am just not technical enough to understand what could be the issue. Hoping someone could help. Currently running 0.7.20.

Code: Select all

Exception in thread CP WSGIServer Thread-23:
Traceback (most recent call last):
  File "/usr/local/python/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 1295, in run
    conn.communicate()
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 1212, in communicate
    req.simple_response("408 Request Timeout")
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 612, in simple_response
    self.wfile.sendall("".join(buf))
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 1126, in sendall
    return self._safe_call(False, super(SSL_fileobject, self).sendall, *args, **kwargs)
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 1078, in _safe_call
    return call(*args, **kwargs)
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 748, in sendall
    bytes_sent = self.send(data)
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 1129, in send
    return self._safe_call(False, super(SSL_fileobject, self).send, *args, **kwargs)
  File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 1108, in _safe_call
    raise FatalSSLAlert(*e.args)
FatalSSLAlert: [('SSL routines', 'ssl23_write', 'ssl handshake failure')]

Re: Fatal SSL alert: SSL handshake failure

Posted: October 14th, 2015, 8:56 am
by shypike
When 0.8.0Beta2 comes out (hopefully sometime this week), try that.
We're not going to fix 0.7.20, as it runs on a very old version of the web framework CherryPy.

Re: Fatal SSL alert: SSL handshake failure

Posted: October 14th, 2015, 9:14 am
by SeePlanet
Thanks for the quick reply Shypike. I'll disable SSL until I can try it on the upgrade.