Hi,
I have a TG 1.5 application which works fine over plain HTTP.
Recently I added support for HTTPS using pyopenssl and a self-signed
certificate. Now this is what happens: I can connect using a browser
over HTTPS and the app is running. On the login page when i press F5
multiple times it crashed with this error.
Traceback (most recent call last):
File
"C:\Python27\lib\site-packages\cherrypy-3.2.2-py2.7-win32.egg\cherrypy\wsgiserver\wsgiserver2.py",
line 1292, in communicate
req.parse_request()
File
"C:\Python27\lib\site-packages\cherrypy-3.2.2-py2.7-win32.egg\cherrypy\wsgiserver\wsgiserver2.py",
line 580, in parse_request
success = self.read_request_line()
File
"C:\Python27\lib\site-packages\cherrypy-3.2.2-py2.7-win32.egg\cherrypy\wsgiserver\wsgiserver2.py",
line 611, in read_request_line
request_line = self.rfile.readline()
File
"C:\Python27\lib\site-packages\cherrypy-3.2.2-py2.7-win32.egg\cherrypy\wsgiserver\wsgiserver2.py",
line 274, in readline
data = self.rfile.readline(256)
File
"C:\Python27\lib\site-packages\cherrypy-3.2.2-py2.7-win32.egg\cherrypy\wsgiserver\wsgiserver2.py",
line 1114, in readline
data = self.recv(self._rbufsize)
File
"C:\Python27\lib\site-packages\cherrypy-3.2.2-py2.7-win32.egg\cherrypy\wsgiserver\ssl_pyopenssl.py",
line 103, in recv
data = self._safe_call(True, r, *args, **kwargs)
File
"C:\Python27\lib\site-packages\cherrypy-3.2.2-py2.7-win32.egg\cherrypy\wsgiserver\ssl_pyopenssl.py",
line 75, in _safe_call
if is_reader and errnum in wsgiserver.socket_errors_to_ignore:
AttributeError: 'module' object has no attribute 'socket_errors_to_ignore'
So, does anyone have any idea as to what could the matter be? any
advice as to how I could turn on 'debugging' and collect information
that may give me an idea of what is happening.
Note: I am running python2.7, pyopenssl 0.13 and I am not using
turbogears identity.
Thanks,
Antony
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.