S3 upload not working throwing Signature issue #4620
Unanswered
Anishmourya
asked this question in
Error / Bug Report
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Guys, I am using the wiki js version (2.0.0) on K8. I am trying to set up s3 upload in storage options.
As per required access key id and secrets, bucket name updated there. I have created IAM and other required things to upload files on s3 bucket. I have tried in python script to make sure it doesn't have policy issues. Using python it's uploads files successfully to the s3 bucket but it doesn't work on the wiki.
I can see logs on the pod where it's printing this warning :
2021-10-22T08:59:27.452Z [MASTER] info: (STORAGE/S3) Adding page Departments/tmp/template-markdown.md... 2021-10-22T08:59:27.487Z [MASTER] warn: The request signature we calculated does not match the signature you provided. Check your key and signing method.
I have investigated the issue and also looked for s3:- https://github.com/Requarks/wiki/blob/757398c2498f2883c4405d2d2ccf1c07b110d522/server/modules/storage/s3/common.js#L34
as per discussion over- aws/aws-sdk-js#86
You guys need to pass the signature version too in s3 constructor args. Maybe that would solve the issue.
Can you help to encounter this issue? thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions