No access to admin, yunohost-api and SSLv3


I just upgraded from Wheezie to Jessie.
Since then I cannot connect to the Admin page of Yunohost.

API is not responding (Error : 502 Bad Gateway)

there are the error I get whn i run yunohost-api.
Seems to be an error with SSLv3.
how to fix it ???

Thank You !

~: yunohost-api
Traceback (most recent call last):
File “/usr/bin/yunohost-api”, line 166, in
use_cache=USE_CACHE, use_websocket=USE_WEBSOCKET)
File “/usr/lib/python2.7/dist-packages/moulinette/”, line 94, in api
’use_cache’: use_cache })
File “/usr/lib/python2.7/dist-packages/moulinette/”, line 450, in init_interface
mod = import_module(‘moulinette.interfaces.%s’ % name)
File “/usr/lib/python2.7/importlib/”, line 37, in import_module
File “/usr/lib/python2.7/dist-packages/moulinette/interfaces/”, line 12, in
from geventwebsocket import WebSocketError
File “/usr/lib/python2.7/dist-packages/geventwebsocket/”, line 18, in
from .server import WebSocketServer
File “/usr/lib/python2.7/dist-packages/geventwebsocket/”, line 1, in
from gevent.pywsgi import WSGIServer
File “/usr/lib/pymodules/python2.7/gevent/”, line 12, in
from gevent import socket
File “/usr/lib/pymodules/python2.7/gevent/”, line 788, in
from gevent.ssl import sslwrap_simple as ssl, SSLError as sslerror, SSLSocket as SSLType
File “/usr/lib/pymodules/python2.7/gevent/”, line 422, in
def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv3, ca_certs=None):
NameError: name ‘PROTOCOL_SSLv3’ is not defined