failed with SSLError debian wheezy

David Lenwell 9 years ago updated by Neiroc 8 years ago 2
This is a rasppi running debian.. totally updated version of wheezy. 

Starting the application in verbose mode reports a status of okay.. however when you attempt to browse to port 8000.. the page fails to load and you get the traceback seen below.

I've been reading other threads and from what I can tell it might be a problem with the installed version of python-gevent-socketio which is at 0.3.6.. 

Any ideas?

19.03.2015 17:02 core.py:134 INFO SSL enabled: /etc/ajenti/ajenti.pem
19.03.2015 17:02 __init__.py:207 DEBUG Root context instantiated [IPCServer] <ajenti.ipc.IPCServer object at 0x21ce550>
19.03.2015 17:02 __init__.py:207 DEBUG Root context instantiated [Licensing] <ajenti.licensing.Licensing object at 0x21ce5d0>
19.03.2015 17:02 feedback.py:30 DEBUG Feedback >> ping ({'edition': 'vanilla', 'version': '', 'os': 'debian', 'id': 118061})
19.03.2015 17:02 feedback.py:35 DEBUG Feedback << {"status": "ok"
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/gevent/server.py", line 102, in wrap_socket_and_handle
ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
File "/usr/local/lib/python2.7/dist-packages/gevent/ssl.py", line 383, in wrap_socket
File "/usr/local/lib/python2.7/dist-packages/gevent/ssl.py", line 94, in __init__
File "/usr/local/lib/python2.7/dist-packages/gevent/ssl.py", line 305, in do_handshake
return self._sslobj.do_handshake()
SSLError: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol
<Greenlet at 0x24e7bc0: <bound method SocketIOServer.wrap_socket_and_handle of <SocketIOServer at 0x24d6750 fileno=5 address=>>(<socket at 0x24e9dd0 fileno=10 sock=, ('', 53829))> failed with SSLError

did you try:


and some say its python-gevent has to be patched in debian repositories to work.. didnt try jet.