1. 程式人生 > >python HTTPSConnectionPool(host='rapzh.coms', port=443)

python HTTPSConnectionPool(host='rapzh.coms', port=443)

python請求https出現這種錯誤

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='rapzh.coms', port=443): Max retries exceeded with url:......

需要加上引數verify=False

response = requests.get(url,verify=False,timeout=2)