1 Answer
- Newest
- Most votes
- Most comments
0
If you're running the Python script in a corporate network, SSL/TLS inspection or interception could be causing this problem. Check with your network administrator to see if this is the case. other than this you can check your python or you can upgrade your packages
pip install --upgrade requests urllib3 botocore
pip install --upgrade sagemaker
As a last resort, you can disable SSL verification to see if that resolves the problem. However, for security reasons, this is generally not recommended. If you try this, you should only do so for debugging purposes, and you should re-enable SSL verification as soon as you're finished.
import os
os.environ['AWS_CA_BUNDLE'] = ''
Relevant content
- asked 8 months ago
- asked 2 months ago
- asked 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 16 days ago
I am on the amazon internal VPN - could be be part of the issue?
I separately tried the pip upgrades as well as the os work around and neither changed anything unfortunately.