Issue #1036 new

Exception in BuiltinSSLAdapter "The handshake operation timed out"

Anonymous created an issue

Using BuiltinSSLAdapter CherryPy crashes with SSLError ("_ssl.c:484: The handshake operation timed out") after some successful request when browsing with Chromium. Does not occur with Internet Explorer.

CherryPy 3.2.0rc1BR Microsoft Windows [Version 6.1.7600]/32-BitBR Chromium 10.0.605.0 (68468)BR Python 2.7.1BR OpenSSL 1.0.0c 2 Dec 2010BR

Workaround:BR File: site-packages/cherrypy/wsgiserver/ssl_builtin.pyBR Method: BuiltinSSLAdapter.wrap()BR append to the except-block before the raise statement: {{{

!python

elif not e.errno and str(e).split(None, 1)[1] == "The handshake operation timed out":

print name + ".BuiltinSSLAdapter." + BuiltinSSLAdapter.wrap.name + "() " + str(type(e)) + " " + str(e)

return None, {}

}}}

Reported by daniel@redneck-engineering.com

Comments (0)

  1. Log in to comment