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

Update aws sdk version and signature version #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update aws sdk version and signature version #23

wants to merge 1 commit into from

Conversation

weatherstar
Copy link

No description provided.

2. update signature version
@LouiseMcMahon
Copy link
Owner

LouiseMcMahon commented Mar 30, 2017 via email

@weatherstar
Copy link
Author

@LouiseMcMahon I'm sorry not to explain clearly.
When using this plugin(with nodeBB 1.4.5), I get the following error:

AWS::S3::Errors::InvalidRequest The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256

I have checked some information said that I should use signature_version: 'v4' in aws-sdk like
var s3 = new AWS.S3({ signatureVersion: 'v4' });
So I add it to the settings and then upgraded the version of aws-skd and it worked. That's the reason I created this pull request : )

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

Successfully merging this pull request may close these issues.

2 participants