-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "[SSL] record layer failure" for while connecting to "iam.cloud.ibm.com" endpoint #745
Comments
Please confirm the versions in your environment of |
Python version: 3.12.7 $ pip list |
I am also getting error-related connections aborted. |
I don't think this is specifically a problem with the Cloudant Python SDK. The SSL handshake with IAM fails, but the exact cause of the failure is unclear as the
Are you able to confirm if the problem only happens when initializing or whether it also occurs afterwards e.g. during token renewal as well? Generally the client instance tends to be long-lived within the context of an application and requests to IAM normally happen at 80% of the token lifetime (around every 48 minutes for the default of 1 hour).
Are you able to estimate the frequency with which this is occurring either as a proportion of the initializations/renewals or a number per hour/ per day.
This is interesting, because I was suspecting it may be a network problem when trying to contact IAM that gives the first error. |
@tgujrathi do you have any further information or answers to the above questions to add here? Are you able to confirm if the |
I think this might be caused by python/cpython#115627 - since that problem is fixed in Python |
When initializing the Cloudant connection via IAM authenticator getting following error at random instances every day.
HTTPSConnectionPool(host='iam.cloud.ibm.com', port=443): Max retries exceeded with url: /identity/token (Caused by SSLError(SSLError(1, '[SSL] record layer failure (_ssl.c:2570)')))
The text was updated successfully, but these errors were encountered: