cancel
Showing results for 
Search instead for 
Did you mean: 
Databricks Free Trial Help
Engage in discussions about the Databricks Free Trial within the Databricks Community. Share insights, tips, and best practices for getting started, troubleshooting issues, and maximizing the value of your trial experience to explore Databricks' capabilities effectively.
cancel
Showing results for 
Search instead for 
Did you mean: 

I’m having trouble connecting to my AWS S3 bucket

lusy26demco
New Contributor

Hello,

I’m having trouble connecting to my AWS S3 bucket from my local Python environment using boto3. When I try to run the following code:

import boto3
s3 = boto3.client('s3')
response = s3.list_objects_v2(Bucket='my-bucket-name')
print(response)

error message:

botocore.exceptions.SSLError: Can't connect to HTTPS URL because the SSL module is not available.

I’ve already run aws configure to set up my credentials, but I’m still seeing this error. I’m not sure if this is an issue with my Python installation, SSL configuration, or something else.

Thanks for any insights or suggestions!

Best Regard,

Lusy

 

 

1 REPLY 1

dineshk
New Contributor II

Can you check your firewall rules in AWS if that is not blocking outgoing requests. 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group