cosmo0920/fluent-bit-go-s3

Error while S3 logs upload.

Closed this issue · 1 comments

Thanks for creating this Plugin.

With this Plugin, I am getting "error sending message for S3: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method." I have checked my Keys 100 times :-).
Any suggestions on how to fix this problem, in case you have also encountered this while building this plugin.

This is my env config.
FLUENT_BIT_ACCESS_KEY_ID=...
FLUENT_BIT_SECRET_ACCESS_KEY=....
FLUENT_BIT_BUCKET_NAME=fluentbit-test
FLUENT_BIT_S3_PREFIX=testlogs
FLUENT_BIT_REGION=eu-west-1
FLUENT_BIT_SUFFIX_ALGORITHM=sha256

fluent-bit.conf is exactly same as,
https://github.com/cosmo0920/fluent-bit-go-s3/blob/master/docker/fluent-bit-s3.conf

Its working now.