You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.
When I tried to create the client (using windows 7 + python 3.4 ) I got the following error:
Traceback (most recent call last):
File "C:\scripst\getdetails\customerObjectStorageIssue.py", line 3, in
sl_storage = object_storage.get_client('XXXXX', 'XXXX', datacenter='dal05')
File "c:\python34\lib\site-packages\object_storage__init__.py", line 21, in get_client
return get_httplib2_client(args, *kwargs)
File "c:\python34\lib\site-packages\object_storage__init.py", line 41, in get_httplib2_client
conn = AuthenticatedConnection(auth)
File "c:\python34\lib\site-packages\object_storage\transport\httplib2conn.py", line 31, in init
self.auth.authenticate()
File "c:\python34\lib\site-packages\object_storage\transport\httplib2conn.py", line 89, in authenticate
res, content = http.request(self.auth_url, 'GET', headers=headers)
File "c:\python34\lib\site-packages\httplib2__init__.py", line 1174, in request
self.disable_ssl_certificate_validation)
File "c:\python34\lib\site-packages\httplib2__init__.py", line 829, in init
check_hostname=True)
File "c:\python34\lib\http\client.py", line 1211, in init
raise ValueError("check_hostname needs a SSL context with "
ValueError: check_hostname needs a SSL context with either CERT_OPTIONAL or CERT_REQUIRED
In Ubuntu the same code is working fine.
The text was updated successfully, but these errors were encountered:
When I tried to create the client (using windows 7 + python 3.4 ) I got the following error:
Traceback (most recent call last):
File "C:\scripst\getdetails\customerObjectStorageIssue.py", line 3, in
sl_storage = object_storage.get_client('XXXXX', 'XXXX', datacenter='dal05')
File "c:\python34\lib\site-packages\object_storage__init__.py", line 21, in get_client
return get_httplib2_client(args, *kwargs)
File "c:\python34\lib\site-packages\object_storage__init.py", line 41, in get_httplib2_client
conn = AuthenticatedConnection(auth)
File "c:\python34\lib\site-packages\object_storage\transport\httplib2conn.py", line 31, in init
self.auth.authenticate()
File "c:\python34\lib\site-packages\object_storage\transport\httplib2conn.py", line 89, in authenticate
res, content = http.request(self.auth_url, 'GET', headers=headers)
File "c:\python34\lib\site-packages\httplib2__init__.py", line 1174, in request
self.disable_ssl_certificate_validation)
File "c:\python34\lib\site-packages\httplib2__init__.py", line 829, in init
check_hostname=True)
File "c:\python34\lib\http\client.py", line 1211, in init
raise ValueError("check_hostname needs a SSL context with "
ValueError: check_hostname needs a SSL context with either CERT_OPTIONAL or CERT_REQUIRED
In Ubuntu the same code is working fine.
The text was updated successfully, but these errors were encountered: