尝试使用rest API访问jira但出现SSL错误,
url = "https://URL/rest/api/2/issue/"+issueId
resposnsenew=requests.request("GET",url, auth=('xya','Makkfafdk@##5'))
File "D:\RestJIRA\restjiravenv\lib\site-packages\urllib3\contrib\pyopenssl.py", line 82, in <module>
ssl.PROTOCOL_TLSv1: OpenSSL.SSL.TLSv1_METHOD,
AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLSv1'
有什么办法解决这个问题吗?