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

Getting SignatureDoesNotMatchError when trying to fetch the logs #1

Open
raeesaa opened this issue Jul 30, 2015 · 4 comments
Open

Getting SignatureDoesNotMatchError when trying to fetch the logs #1

raeesaa opened this issue Jul 30, 2015 · 4 comments

Comments

@raeesaa
Copy link

raeesaa commented Jul 30, 2015

Hi,

I am getting following error when I run tails3 --bucket=<bucket_name> --stage="development" command:

error: { [SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.]
  message: 'The request signature we calculated does not match the signature you provided. Check your key and signing method.',
  code: 'SignatureDoesNotMatch',
  time: Thu Jul 30 2015 16:54:50 GMT+0530 (IST),
  statusCode: 403,
  retryable: false,
  retryDelay: 30 }

I have used s3-streamlogger to save winston logs over s3. Any idea why I might be getting this error?

Thanks,
Raeesaa

@autopulated
Copy link
Member

This is most likely caused by an incorrect access key, could you double-check that?

On 30 Jul 2015, at 12:29, raeesaa [email protected] wrote:

Hi,

I am getting following error when I run tails3 --bucket=<bucket_name> --stage="development" command:

error: { [SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.]
message: 'The request signature we calculated does not match the signature you provided. Check your key and signing method.',
code: 'SignatureDoesNotMatch',
time: Thu Jul 30 2015 16:54:50 GMT+0530 (IST),
statusCode: 403,
retryable: false,
retryDelay: 30 }
I have used s3-streamlogger to save winston logs over s3. Any idea why I might be getting this error?

Thanks,
Raeesaa


Reply to this email directly or view it on GitHub.

@raeesaa
Copy link
Author

raeesaa commented Jul 30, 2015

The access key I used is correct but it has '+' in it. Can that be causing
the issue?

Regards,
Raeesaa

On Thu, Jul 30, 2015 at 5:12 PM, James Crosby [email protected]
wrote:

This is most likely caused by an incorrect access key, could you
double-check that?

On 30 Jul 2015, at 12:29, raeesaa [email protected] wrote:

Hi,

I am getting following error when I run tails3 --bucket=<bucket_name>
--stage="development" command:

error: { [SignatureDoesNotMatch: The request signature we calculated
does not match the signature you provided. Check your key and signing
method.]
message: 'The request signature we calculated does not match the
signature you provided. Check your key and signing method.',
code: 'SignatureDoesNotMatch',
time: Thu Jul 30 2015 16:54:50 GMT+0530 (IST),
statusCode: 403,
retryable: false,
retryDelay: 30 }
I have used s3-streamlogger to save winston logs over s3. Any idea why I
might be getting this error?

Thanks,
Raeesaa


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#1 (comment).

@autopulated
Copy link
Member

That's possible – the access keys are read by the aws-sdk directly, so you could try one of the different options here for setting the keys: http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html

@raeesaa
Copy link
Author

raeesaa commented Jul 31, 2015

@autopulated I have set the right keys. Not sure what is wrong.

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

No branches or pull requests

2 participants