Traceback (most recent call last):

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/Werkzeug-0.11.2-py2.7.egg/werkzeug/wsgi.py", line 599, in __call__
return self.app(environ, start_response)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1379, in handle_user_exception
return handler(e)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)

 "/Users/pedro/code/indico/indico/MaKaC/webinterface/rh/base.py", line 803, in wrapper
return cls(partial(func, *args, **kwargs)).process({})

 "/Users/pedro/code/indico/indico/MaKaC/webinterface/rh/base.py", line 709, in process
res = self._getMethodByExceptionName(e)(e)

 "/Users/pedro/code/indico/indico/util/decorators.py", line 132, in wrapper
return f(*args, **kw)

 "/Users/pedro/code/indico/indico/MaKaC/webinterface/rh/base.py", line 689, in process
profile_name, res = self._process_retry(params, i, profile, forced_conflicts)

 "/Users/pedro/code/indico/indico/MaKaC/webinterface/rh/base.py", line 634, in _process_retry
return self._process_retry_do(profile)

 "/Users/pedro/code/indico/indico/MaKaC/webinterface/rh/base.py", line 627, in _process_retry_do
res = self._process()

 "/Users/pedro/code/indico/indico/MaKaC/webinterface/rh/base.py", line 795, in _process
rv = self.func()

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/flask_multipass/util.py", line 123, in decorator
return func(*args, **kwargs)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/flask_multipass/providers/oauth.py", line 79, in _authorize_callback
return self.multipass.handle_auth_success(self._make_auth_info(resp))

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/flask_multipass/core.py", line 211, in handle_auth_success
identity_info = provider.get_identity_from_auth(auth_info.map(mapping))

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/flask_multipass/providers/ldap/providers.py", line 179, in get_identity_from_auth
return self._get_identity(auth_info.data.pop('identifier'))

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/flask_multipass_ldap_cern.py", line 60, in _get_identity
identity_info = super(CERNLDAPIdentityProvider, self)._get_identity(identifier)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/flask_multipass/providers/ldap/providers.py", line 166, in _get_identity
with ldap_context(self.ldap_settings):

 "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/flask_multipass/providers/ldap/util.py", line 70, in ldap_context
connection = ldap_connect(settings, use_cache=use_cache)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/flask_multipass/providers/ldap/util.py", line 153, in ldap_connect
ldap_connection.simple_bind_s(*credentials)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/ldap/ldapobject.py", line 919, in simple_bind_s
res = self._apply_method_s(SimpleLDAPObject.simple_bind_s,*args,**kwargs)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/ldap/ldapobject.py", line 900, in _apply_method_s
return func(self,*args,**kwargs)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/ldap/ldapobject.py", line 223, in simple_bind_s
resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/ldap/ldapobject.py", line 514, in result3
resp_ctrl_classes=resp_ctrl_classes

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/ldap/ldapobject.py", line 521, in result4
ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)

 "/Users/pedro/.virtualenvs/indico/lib/python2.7/site-packages/ldap/ldapobject.py", line 106, in _ldap_call
result = func(*args,**kwargs)ValueError: option error
Traceback (most recent call last):


 "/usr/lib64/python3.6/urllib/request.py", line 1349, in do_open

encode_chunked=req.has_header('Transfer-encoding'))


 "/usr/lib64/python3.6/http/client.py", line 1254, in request

self._send_request(method, url, body, headers, encode_chunked)


 "/usr/lib64/python3.6/http/client.py", line 1300, in _send_request

self.endheaders(body, encode_chunked=encode_chunked)


 "/usr/lib64/python3.6/http/client.py", line 1249, in endheaders

self._send_output(message_body, encode_chunked=encode_chunked)


 "/usr/lib64/python3.6/http/client.py", line 1036, in _send_output

self.send(msg)


 "/usr/lib64/python3.6/http/client.py", line 974, in send

self.connect()


 "/usr/lib64/python3.6/http/client.py", line 1415, in connect

server_hostname=server_hostname)


 "/usr/lib64/python3.6/ssl.py", line 365, in wrap_socket

_context=self, _session=session)


 "/usr/lib64/python3.6/ssl.py", line 776, in __init__

self.do_handshake()


 "/usr/lib64/python3.6/ssl.py", line 1036, in do_handshake

self._sslobj.do_handshake()


 "/usr/lib64/python3.6/ssl.py", line 648, in do_handshake

self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:877)
