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
requests.packages.urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:646) #2906
Comments
That version of OpenSSL is absolutely ancient. I suspect it's the cause of your problem. I have OS X 10.11.2 Beta, Python 3.5.0 linked against a newer version of OpenSSL (1.0.2d), and the same version of requests, and I can reach that URL fine. I highly encourage you to use a newer version of OpenSSL. You can get this by running |
@Lukasa So maybe I need to install a newer version of OpenSSL using homebrew and use it to replace the old OpenSSL shipped with OS. |
@caizixian It's an option, but if you |
@Lukasa I had following errors when installing requests[security], both related to cffi.
FYI, my Xcode is 7.1.1 |
|
Problem solved.
|
caizixian, you saved my life!!!!! |
Mac OS X 10.11.1
Python 3.5.0 from https://www.python.org/downloads/
requests (2.8.1)
URL https://api.telegram.org/
The text was updated successfully, but these errors were encountered: