login community faq

Hi,

I m running a Django app using gunicorn. The static files for this app are stored at S3. I m using django-storages / boto to access S3.

1
2
3
STATICFILES_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
AWS_STORAGE_BUCKET_NAME = 'mybucket'
STATIC_URL = 'http://%s.s3.amazonaws.com/' % AWS_STORAGE_BUCKET_NAME

I tried on Heroku to setup my app and accessing S3 and it worked with setting my credentials as such:

1
2
export AWS_ACCESS_KEY_ID=<key ID>
export AWS_SECRET_ACCESS_KEY=<key>

When I do the same on webfaction, and restarting gunicorn I get the following error:

1
2
NoAuthHandlerFound at /admin/
No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV1Handler'] Check your credentials

Would be great to get some input on this.

Thanks, Thomas

asked Oct 05 '12 at 06:19

Tom's gravatar image

Tom
1

Be the first one to answer this question!
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×643
×5
×4
×1

Asked: Oct 05 '12 at 06:19

Seen: 547 times

Last updated: Oct 05 '12 at 06:19

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited