-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
S3 Authentication issue: AWS demands updated SDK #805
Comments
The solution to this is to add the following lines in Django settings. (Tested and working with Kobocat)
However, as the region would be different for different users, I'm thinking this should be added as a sub-question in the AWS section of the |
This isn't required on our EU instances, which have only these environment variables set inside the kobocat container:
Inside the Django shell on a EU production server:
Are you trying to use Amazon S3, or are you seeing an issue when using DigitalOcean as described in kobotoolbox/kpi#3750? |
It applies to S3 regions that were created after 2014, so it could be that your EU instance regions are older than that.
This was while testing with Amazon S3 and is unrelated to the other issue. |
Thanks. You're right: we have an EC2 instance in @noliveleger do you think we could attempt to connect to S3 using the new |
…-s3-region Allow AWS S3 region to be set through environment variables
I've installed Kobocat version
2.021.45
. When trying to use Amazon S3 storage, the collected media gets stored in the bucket and I am able to browse it there.However when trying to view the submission in the Kobotoolbox KPI interface, the image doesn't load and the following error is returned on clicking the broken image:
Doing a quick search, I came across this post: https://stackoverflow.com/questions/26533245/the-authorization-mechanism-you-have-provided-is-not-supported-please-use-aws4, which essentially says that the SDK needs to be updated for S3 instances created in regions that were added after January 2014.
The text was updated successfully, but these errors were encountered: