Getting SignatureDoesNotMatchError when trying to fetch the logs
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
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.
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 https://github.com/Coggle/tails3/issues/1#issuecomment-126284642.
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
@autopulated I have set the right keys. Not sure what is wrong.