s3gof3r icon indicating copy to clipboard operation
s3gof3r copied to clipboard

request signature not matching error

Open wjimenez5271 opened this issue 9 years ago • 5 comments

I'm getting the following error when trying to write to a key:

echo foo | ./gof3r put -b foo.bucket -k foofoo/bar
gof3r error: 403: "The request signature we calculated does not match the signature you provided. Check your key and signing method."

I've set my credentials by exporting them as environment variables, and I double checked they are correct.

wjimenez5271 avatar Feb 26 '16 21:02 wjimenez5271

Could you provide a little more info about your bucket and environment: What version of gof3r are you running? What AWS region? Is versioning enabled on your bucket? Does this occur consistently?

rlmcpherson avatar Feb 26 '16 22:02 rlmcpherson

Thanks for the quick response, after more testing I can't rule out it is not a permissions issue with the AWS credentials I am using, so this might not be a bug in gof3r. I am using us-west-2, without versioning, and using 0.5.0.

It would be nice if a permissions issue generated a more clear message, but that might be outside your control.

wjimenez5271 avatar Feb 26 '16 23:02 wjimenez5271

I'm experiencing the same issue intermittently. I'm using s3gof3r, not the CLI tool. I've seen my app upload 2GB files on occasion successfully. There's no pattern that I can ascertain to the failures.

  • I'm on the latest version of the package
  • The bucket I am trying to upload to is versioned
  • This is running in us-east

davewalk avatar Aug 11 '16 20:08 davewalk

Actually, I've identified five files that are having this problem and they all have a _ in their filename and .txt as their extension. I have been able to upload a file w/ _ that was a .zip file.

I've been able to upload 249 files with this package into that bucket successfully, all without _.

Not sure if this helps....

davewalk avatar Aug 11 '16 21:08 davewalk

Actually my bad, this may be something on my end. I'll update if it's still an issue for me. Sorry.

davewalk avatar Aug 11 '16 21:08 davewalk