python requests ssl handshake failure
软件开发 python ssl
2018年10月10日

介绍

系统: ubuntu14.04

python版本:2.7.15

requests版本:2.21.0

问题描述

requests ssl 请求异常

SSLError: [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

解决方案

https://stackoverflow.com/questions/31649390/python-requests-ssl-handshake-failure

pip install requests[security]
sudo apt-get install python-dev libssl-dev libffi-dev
sudo pip2.7 install -U pyopenssl pyasn1 ndg-httpsclient

最后修改于: 2023年8月9日 17:05