Re: Cherrypy's SSL builtin..
Eugen Hildt <[email protected]> Sun, 18 Jun 2017 05:57:16 -0700 (PDT)
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <[email protected]> |
[global]
server.socket_host: "192.168.2.110"
server.socket_port: 443
server.socket_timeout: 300
server.thread_pool: 10
tools.log_headers.on: True
tools.encode.on: True
tools.encode.encoding: "utf-8"
tools.sessions.on: True
tools.gzip.on: True
tools.sessions.storage_class: cherrypy.lib.sessions.MemcachedSession
log.screen: True
response.timeout: 300
request.show_tracebacks: True
engine.autoreload.on: True
engine.timeout_monitor.on: True
tools.caching.on: True
tools.caching.delay: 3600
server.ssl_module: 'builtin'
server.ssl_certificate: "server/ssl/cert.pem"
server.ssl_private_key: "server/ssl/pkey.pem"
[/]
tools.staticdir.on: True
tools.staticdir.dir: '.'
tools.staticdir.root: cherrypy.Application.currentDir_s
request.dispatch: cherrypy.dispatch.MethodDispatcher()
[/css]
tools.staticdir.on: True
tools.staticdir.dir: "server/css"
[/js]
tools.staticdir.on: True
tools.staticdir.dir: "server/js"
[/img]
tools.staticdir.on: True
tools.staticdir.dir: "server/img"
Im running Cherrypy on ArchLinux. It was running fine till the recent
Cherrypy/ArchLinux update.
I read that on Debian the same exception is thrown..
[18/Jun/2017:14:45:22] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 1343, in
start
self.tick()
File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 1411, in
tick
s, ssl_env = self.ssl_adapter.wrap(s)
File "/usr/lib/python3.6/site-packages/cheroot/ssl/builtin.py", line 73,
in wrap
server_side=True)
File "/usr/lib/python3.6/ssl.py", line 401, in wrap_socket
_context=self, _session=session)
File "/usr/lib/python3.6/ssl.py", line 808, in __init__
self.do_handshake()
File "/usr/lib/python3.6/ssl.py", line 1061, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib/python3.6/ssl.py", line 683, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
Yet SSL is still working thou..
Am Dienstag, 6. Juni 2017 22:48:53 UTC+2 schrieb Stephan Semerad:
>
> What is your Config?
>
> I just implemented SSL with Python with a CA certificate from Comodo. No
> issues.
>
> On Sunday, May 14, 2017 at 6:31:52 PM UTC+2, Eugen Hildt wrote:
>>
>> Hi everyone! I got a cherrypy server running that uses cherrypy's builtin
>> ssl.
>> After i updated the whole system i get following error:
>>
>>
>> [14/May/2017:16:15:32] ENGINE Bus STARTING
>> [14/May/2017:16:15:32] ENGINE Serving on https://X.X.X.X
>> [14/May/2017:16:15:32] ENGINE Bus STARTED
>> [14/May/2017:16:15:32] ENGINE Error in HTTPServer.tick
>> Traceback (most recent call last):
>> File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 1343,
>> in start
>> self.tick()
>> File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 1411,
>> in tick
>> s, ssl_env = self.ssl_adapter.wrap(s)
>> File "/usr/lib/python3.6/site-packages/cheroot/ssl/builtin.py", line
>> 73, in wrap
>> server_side=True)
>> File "/usr/lib/python3.6/ssl.py", line 401, in wrap_socket
>> _context=self, _session=session)
>> File "/usr/lib/python3.6/ssl.py", line 808, in __init__
>> self.do_handshake()
>> File "/usr/lib/python3.6/ssl.py", line 1061, in do_handshake
>> self._sslobj.do_handshake()
>> File "/usr/lib/python3.6/ssl.py", line 683, in do_handshake
>> self._sslobj.do_handshake()
>> OSError: [Errno 0] Error
>>
>>
>>
>> Yet it seems to still operate.
>> I tried to switch to pyopenssl but that one is not working at all.
>> Any suggestions how to solve this or can i just ignore the error output?
>>
>>
--
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.