异常
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:997)
描述
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘xxx.xxx.cn’, port=443): Max retries exceeded with url: /xxx(Caused by SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:997)’)))
问题原因
python发起请求https时,提示ssl问题
解决方案
网上搜了很多说什么缺少包,下载urllib3、requests[security]等等,这些包已经存在的还报错,最后发现关闭自己的代理就可以解决了
异常重现
已复现