Python 超过最大重试次数

Python 超过最大重试次数,python,python-3.x,urllib,urllib3,Python,Python 3.x,Urllib,Urllib3,我正在尝试从urllib3获取请求,我的代码正常工作。然而,很少有像和等使用不同TLS版本的网站无法获取。 我尝试更改useragent,但由于明显的原因,它不起作用 urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hackershala.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: TLSV1

我正在尝试从urllib3获取请求,我的代码正常工作。然而,很少有像和等使用不同TLS版本的网站无法获取。 我尝试更改useragent,但由于明显的原因,它不起作用

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hackershala.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:852)'),))
我的代码是

import urllib3

http = urllib3.PoolManager()
url = input("Website URL: ")
r = http.request("GET", url, headers={
    'User-Agent': 'Mozilla/5.0'
})
rp = r.status
print(rp)

当我用
200
响应测试你的代码时,你的代码运行良好,你的互联网怎么样?你试过使用上面提到的URL吗@AdamStrauss是的,我尝试了hackershala.com和@AdamStrauss两种方式在我的电脑上修复它?这个错误很奇怪。。。