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.
| 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:
| 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:
| 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
1