python运行代码报错:
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='docs.xxxx.com', port=8443): Max retries exceeded with url: /document/upload (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2426)')))
解决方法:
1.关闭代理
2.降级urllib3
pip3 install urllib3==1.23
再次重试,不报错了