New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle exception when no shared ciphers are found. #22

Closed
johnnykv opened this Issue Aug 19, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@johnnykv
Owner

johnnykv commented Aug 19, 2016

I guess that this goes for all protocols wrapped in s.

Aug 18 06:53:09 heralding heralding[21523]: Traceback (most recent call last):
Aug 18 06:53:09 heralding heralding[21523]: File "/home/heralding/virtualenv/local/lib/python2.7/site-packages/gevent/greenlet.py", line 534, in run
Aug 18 06:53:09 heralding heralding[21523]: result = self._run(*self.args, **self.kwargs)
Aug 18 06:53:09 heralding heralding[21523]: File "/home/heralding/virtualenv/local/lib/python2.7/site-packages/gevent/baseserver.py", line 25, in _handle_and_close_when_done
Aug 18 06:53:09 heralding heralding[21523]: return handle(*args_tuple)
Aug 18 06:53:09 heralding heralding[21523]: File "/home/heralding/virtualenv/local/lib/python2.7/site-packages/gevent/server.py", line 126, in wrap_socket_and_handle
Aug 18 06:53:09 heralding heralding[21523]: ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
Aug 18 06:53:09 heralding heralding[21523]: File "/home/heralding/virtualenv/local/lib/python2.7/site-packages/gevent/_sslgte279.py", line 691, in wrap_socket
Aug 18 06:53:09 heralding heralding[21523]: ciphers=ciphers)
Aug 18 06:53:09 heralding heralding[21523]: File "/home/heralding/virtualenv/local/lib/python2.7/site-packages/gevent/_sslgte279.py", line 271, in __init__
Aug 18 06:53:09 heralding heralding[21523]: raise x
Aug 18 06:53:09 heralding heralding[21523]: SSLError: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:590)

@johnnykv johnnykv changed the title from Handle exception when we no shared ciphers are found. to Handle exception when no shared ciphers are found. Oct 29, 2016

@yvshri

This comment has been minimized.

Show comment
Hide comment
@yvshri

yvshri Feb 21, 2017

Can you please tell how to reproduce this exception?

yvshri commented Feb 21, 2017

Can you please tell how to reproduce this exception?

@johnnykv

This comment has been minimized.

Show comment
Hide comment
@johnnykv

johnnykv Feb 21, 2017

Owner

You should be able to reproduce it using sslclient. Set it to use a uncommon cipher and connect to a heralding protocol wrapped in ssl (https or pop3s).

Owner

johnnykv commented Feb 21, 2017

You should be able to reproduce it using sslclient. Set it to use a uncommon cipher and connect to a heralding protocol wrapped in ssl (https or pop3s).

@johnnykv

This comment has been minimized.

Show comment
Hide comment
@johnnykv

johnnykv May 15, 2017

Owner

Closed with 6ba2a9d

Owner

johnnykv commented May 15, 2017

Closed with 6ba2a9d

@johnnykv johnnykv closed this May 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment