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

can't use bucket names with dots #13

Closed
jschneier opened this issue Dec 26, 2014 · 5 comments
Closed

can't use bucket names with dots #13

jschneier opened this issue Dec 26, 2014 · 5 comments
Labels

Comments

@jschneier
Copy link
Owner

see boto/boto#2836

might need to switch the default calling format to be Original instead of Subdomain

@HiddenFox
Copy link

Check https://github.com/jschneier/django-storages/blob/master/storages/backends/s3boto.py line 228.
You can set AWS_S3_CALLING_FORMAT='boto.s3.connection.OrdinaryCallingFormat'. It works for me.

sydhenry added a commit to HandyCodeJob/mikeandzoey-site that referenced this issue Sep 13, 2015
@dolan-a
Copy link

dolan-a commented Nov 30, 2015

+1 for this. Or at least add a note to your README file since the original documentation refers to an S3 module that your repo doesn't have.

@brianbaquiran
Copy link

The following settings worked for me. I'm in region ap-southeast-1 (Singapore).

AWS_STORAGE_BUCKET_NAME = 'bucket.with.dots'
AWS_S3_CALLING_FORMAT='boto.s3.connection.OrdinaryCallingFormat'
AWS_S3_HOST = 's3-ap-southeast-1.amazonaws.com'

Python 2.7.10
Django 1.9

@jleclanche
Copy link
Contributor

@jschneier This issue is fixed in s3boto3 (we used a bucket with dots on it for a long time). I'd like to suggest closing it and recommend s3boto3 backend instead.

@jschneier
Copy link
Owner Author

@jleclanche thanks. Will do so in the future.

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

5 participants