File "/usr/lib/python2.7/site-packages/urllib3/request.py", line 150, in request_encode_body return self.urlopen(method, url, **extra_kw) File "/usr/lib/python2.7/site-packages/urllib3/poolmanager.py", line 323, in urlopen response = conn.urlopen(method, u.request_uri, **kw) File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 667, in urlopen **response_kw) File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 667, in urlopen **response_kw) File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 667, in urlopen **response_kw) File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python2.7/site-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause))
there appear to be two solutions;
1. kind of a cheat - make it a trusted connection
2. Create a valid self signed certificate on the isilon
dynamox
11 Legend
•
20419 Posts
•
87439 Points
484
0
Posted February 24th, 2023 22:00
I cheat, tell the python request module to not validate SSL certificate.
access_zones = requests.get(url_get_access_zones, headers=headers, cookies=cookie, verify=False)