_ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

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:

Leave a Reply

Your email address will not be published. Required fields are marked *