-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Installing both requests and boto3 breaks boto3 with SSL Errors #2733
Comments
The issue comes from installing |
It is related to certifi/python-certifi#142 as it removes some certificates and breaks boto3's SSL. I will close the issue now as it is not a boto3 issue. Good day! |
|
I'm experiencing this issue as well? What is the long term solution to this? Since certifi folks state that they're merely a repackaging of Mozilla's CA store and Mozilla has dropped these Symanctec certs |
No idea to be honest. Boto3 works while certifi is not installed. Your only option is to install a certifi version earlier than I guess if the problem keeps popping up, boto3 would have to make sure to use their own SSL certs instead of what certifi installs. |
Describe the bug
Installing requests alongside boto3 makes boto3 fail with
botocore.exceptions.SSLError
. Potentially screwing up the python environment and not making it possible to use boto3 any further.Steps to reproduce
Use
virtualenv
. For some reason using python's built invenv
results on failure regardless.python3 -m virtualenv venv
and activate it withsource ./venv/bin/activate
pip install boto3
iot-data
get-thing-shadow
call, should work.requests
withpip install requests
botocore.exceptions.SSLError
Expected behavior
Boto still working even with requests installed. In my case I installed boto3 alongside gspread which was what triggered the issue, as requests is a dependency.
Debug logs
Here's a complete call with debug
The text was updated successfully, but these errors were encountered: