problem
In python 2.7.6 through the requests library, if you request an https address, an error will be reported:[Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
Error reminder: sslv3 handshake error
Solution
- Method 1: Upgrade python to 2.7.10 to solve the problem
- Method 2:
pip install requests[security]
the reason
But these three libraries are missing: pyOpenSSL, ndg-httpsclient, pyasn1
reference
Read More:
- There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)-skipping
- python3 ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833) Error
- [Solved] selenium Error: ERROR:ssl_client_socket_impl.cc(962)] handshake failed; returned -1, SSL
- [Solved] ssl_client_socket_impl.cc handshake failed (Same Codes in Different Environments)
- PIP Install Caused by SSLError(SSLError(1, ‘[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)’))
- SSL error of urllib3 when Python uploads files using Minio
- [Solved] Linux OS python Script Error: smtplib has no attribute SMTP_SSL
- [Solved] pip install Error: There was a problem confirming the ssl certificate…
- [Solved] Windows Configurate Python Environment error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft
- [Solved] Fatal Python error: initfsencoding: Unable to get the locale encoding
- [Solved] Odrive gui Error: Do not use the development server in a productioun and supported version of the Socket
- Python: How to get the size of the picture (byte/kb/mb)
- [Solved] with ERRTYPE = cudaError CUDA failure 999 unknown error
- Failed to establish a new connection: [winerror 10048] in the requests thread pool, the interface is called circularly to get the datagram error
- [Solved] AttributeError: module ‘dlib‘ has no attribute ‘get_face_chip‘
- cffi Security Report “c / _cffi_backend.oc / _cffi_backend.c: 15:17: error: ffi.h: No such file or directory” Problem
- [Solved] PyQt: RuntimeError: wrapped C/C++ object has been deleted & has no attribute of flush in python
- Linux Fatal Python error: Py_Initialize Unable to get the locale encoding
- PIP Install Mysqlclient error C1083: Cannot open include file: ‘mysql.h‘: No such file or directory
- [Solved] CUDA failure 999: unknown error ; GPU=-351697408 ; hostname=4f5e6dff58e6 ; expr=cudaSetDevice(info_.device_id);