SSL handshake timeout

754 views
Skip to first unread message

Andy

unread,
Sep 26, 2012, 8:39:34 AM9/26/12
to cherryp...@googlegroups.com
I' running cherrypy 3.2.2 on centos.

The webserver does nothing more than host a Flex App served up via https.
I'm using the builtin SSL module and running on python 2.6.3.

Has anybody else seen these type of errors and if so can you explain what you did to combat them

[25/Sep/2012:05:02:48] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/wsgiserver/wsgiserver2.py", line 1837, in start
    self.tick()
  File "/usr/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/wsgiserver/wsgiserver2.py", line 1902, in tick
    s, ssl_env = self.ssl_adapter.wrap(s)
  File "/usr/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/wsgiserver/ssl_builtin.py", line 52, in wrap
    keyfile=self.private_key, ssl_version=ssl.PROTOCOL_SSLv23)
  File "/usr/lib/python2.6/ssl.py", line 338, in wrap_socket
    suppress_ragged_eofs=suppress_ragged_eofs)
  File "/usr/lib/python2.6/ssl.py", line 120, in __init__
    self.do_handshake()
  File "/usr/lib/python2.6/ssl.py", line 279, in do_handshake
    self._sslobj.do_handshake()
SSLError: _ssl.c:476: The handshake operation timed out

Andy

Amy

unread,
Oct 22, 2012, 4:17:17 AM10/22/12
to cherryp...@googlegroups.com
Here's the error as it appears in my logs when I run one of the Hello World examples with SSL using the built-in adapter:

127.0.0.1 - - [21/Oct/2012:09:29:29] "GET / HTTP/1.1" 200 18 "" "Mozilla/5.0 (Wi
ndows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 S
afari/537.4"
[21/Oct/2012:09:29:39] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\cherrypy\wsgiserver\wsgiserver2.py", line
1837, in start
    self.tick()
  File "c:\python27\lib\site-packages\cherrypy\wsgiserver\wsgiserver2.py", line
1902, in tick
    s, ssl_env = self.ssl_adapter.wrap(s)
  File "c:\python27\lib\site-packages\cherrypy\wsgiserver\ssl_builtin.py", line
52, in wrap
    keyfile=self.private_key, ssl_version=ssl.PROTOCOL_SSLv23)
  File "c:\python27\lib\ssl.py", line 381, in wrap_socket
    ciphers=ciphers)
  File "c:\python27\lib\ssl.py", line 143, in __init__
    self.do_handshake()
  File "c:\python27\lib\ssl.py", line 305, in do_handshake
    self._sslobj.do_handshake()
SSLError: _ssl.c:489: The handshake operation timed out

Amy

Viktor Mauch

unread,
Nov 14, 2013, 5:38:11 AM11/14/13
to cherryp...@googlegroups.com
@Amy

geht the same error. Also CentOS 6.4, CherrPy 3.2.2 and "builtin" as ssl_module

cheers vic
Reply all
Reply to author
Forward
0 new messages