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
With cloudant-python-sdk and requests2.32.3 connections to Cloudant fail with a certifcate error e.g.
[2024-05-29T18:13:25.703Z] urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='~mytestaccount~.cloudant.com', port=443): Max retries exceeded with url: /gauge-4f703d00-99c9-4ec0-b039-2eed7d05048d?partitioned=true (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')))
requests.exceptions.SSLError: HTTPSConnectionPool(host='~myuuuid-bluemix~.cloudantnosqldb.appdomain.cloud', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))
To Reproduce
from ibmcloudant.cloudant_v1 import CloudantV1
service = CloudantV1.new_instance()
print(service.get_server_information().get_result())
Expected behavior
No error.
Screenshots
Must gather (please complete the following information):
SDK Version [e.g. 1.2.1]: 0.8.1
Python Version [e.g. Python 3.8]: 3.11.9
Name of service that you're trying to use (if applicable): Cloudant
Name of operation that you're trying to invoke (if applicable): any
Additional context
It is possible to workaround the issue by continuing to use requests2.32.2.
See also psf/requests#6730
The text was updated successfully, but these errors were encountered:
Release 0.9.0 was supposed to get a fix for this problem via https://github.com/IBM/python-sdk-core/releases/tag/v3.20.2, but it might not be working, so if you see this problem with version 0.9.0 and requests==2.32.3 then to workaround either:
Describe the bug
With
cloudant-python-sdk
andrequests
2.32.3
connections to Cloudant fail with a certifcate error e.g.To Reproduce
Expected behavior
No error.
Screenshots
Must gather (please complete the following information):
0.8.1
3.11.9
Additional context
It is possible to workaround the issue by continuing to use
requests
2.32.2
.See also psf/requests#6730
The text was updated successfully, but these errors were encountered: