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
SSLError: [Errno bad handshake] (-1, 'Unexpected EOF') #3337
Comments
Unexpected EOF in this instance almost certainly means that there is a problem with your TLS handshake, and the server just tore the connection down rather than establish the TLS connection. Firstly, you should install pyasn1 and ndg-httpsclient in addition to your current libraries: that will resolve your possible SNI issue. Then, if that didn't help, you should let me know what version of OpenSSL is installed in your system. |
@Lukasa Already installed those libs, alike, running with --upgrade tells |
@PabloLefort And your OpenSSL version, please? |
@Lukasa OpenSSl version: |
Right, so there's no immediately obvious set of problems there. Are you familiar with Wireshark? If so, it'd be very convenient if you could grab a packet capture of the failing connection. |
I'm not familiar but i will try to grab the packet and post the response. |
@Lukasa So, after some investigation, installed Thanks for all. |
I would like to note, that problems may be relating on the proxy settings. Unset https_proxy and http_proxy. |
Thanks! @VladislavMesh 🚀 |
Hi, i have a service for send email through SMTP with Mandrill.
Throws this exception trace:
Env: Red Hat 4.8.2-13, Python: 2.7.5
Libs:
Any suggestions?
Going with this answer did not change anything.
Thanks in advance.
The text was updated successfully, but these errors were encountered: