如题,关闭了 ssl 验证还是报错了,但是同环境下浏览器和 postman 正常访问
import requests
resp = requests.get("https://66.211.97.51", timeout=5, verify=False)
requests.exceptions.SSLError: HTTPSConnectionPool(host='66.211.97.51', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_BAD_RECORD_MAC] sslv3 alert bad record mac (_ssl.c:1056)')))
import requests
resp = requests.get("https://66.211.97.51", timeout=5, verify=False)
requests.exceptions.SSLError: HTTPSConnectionPool(host='66.211.97.51', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_BAD_RECORD_MAC] sslv3 alert bad record mac (_ssl.c:1056)')))