Skip to content
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

Correct S3 bucket issue caused by Python 2.7.9 update #9

Closed
jbmartin opened this issue Dec 26, 2014 · 3 comments
Closed

Correct S3 bucket issue caused by Python 2.7.9 update #9

jbmartin opened this issue Dec 26, 2014 · 3 comments
Labels

Comments

@jbmartin
Copy link
Contributor

Python introduced strict certificate checking in version 2.7.9 (see PEP 476) that causes buckets with dots in their names to fail on load e.g.,

> boto.s3.get_bucket('my.bucket')
ssl.CertificateError: hostname 'my.bucket.s3.amazonaws.com' doesn't match either of'*.s3.amazonaws.com', 's3.amazonaws.com'

More at boto/boto/issues/2836.

@jbmartin jbmartin added the bug label Dec 26, 2014
@ilanbm
Copy link

ilanbm commented Jan 8, 2015

Any solution?

@jbmartin
Copy link
Contributor Author

jbmartin commented Jan 9, 2015

@ilanbm PR #10 fixed it on my end.

@ironmanMA
Copy link

issue fixed with setting the calling-format

something like
s3_conn = boto.connect_s3(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, calling_format=OrdinaryCallingFormat())

boto/boto#2836

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants