tails3 icon indicating copy to clipboard operation
tails3 copied to clipboard

Getting SignatureDoesNotMatchError when trying to fetch the logs

Open raeesaa opened this issue 10 years ago • 4 comments

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

raeesaa avatar Jul 30 '15 11:07 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.

autopulated avatar Jul 30 '15 11:07 autopulated

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.

raeesaa avatar Jul 30 '15 12:07 raeesaa

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 avatar Jul 30 '15 12:07 autopulated

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

raeesaa avatar Jul 31 '15 11:07 raeesaa