Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SignatureDoesNotMatch #1515

Closed
sanderhahn opened this issue Dec 2, 2015 · 6 comments
Closed

SignatureDoesNotMatch #1515

sanderhahn opened this issue Dec 2, 2015 · 6 comments
Assignees

Comments

@sanderhahn
Copy link

Wow very cool project :-)

Trying the mc share download function from mc with both minio and s3-eu-west-1.amazonaws.com. The mc tool properly gives back a url that i can visit, however the url generates a signature error on both aws and using the minio server locally. Switching back to S3v2 for aws makes the signed urls work properly, but that doesn't work when using the minio server. Tried both building mc from source using go get and the downloadable binary (on darwin-amd64). Is there something wrong with the S3v4 signing in mc or am i doing something wrong?

<Error>
<Code>SignatureDoesNotMatch</Code>
<Message>The request signature we calculated does not match the signature you provided.</Message>
<Resource>/photobucket/Screen Shot 2015-11-19 at 23.26.58.png</Resource>
<RequestId>3L137</RequestId>
<HostId>3L137</HostId>
</Error>
@krishnasrinivas
Copy link
Contributor

@sanderhahn thanks for reporting! will get back

@krishnasrinivas
Copy link
Contributor

@sanderhahn minio/minio-go#245 fixes this issue. Once it is merged it will be included in the 'mc' source.

@sanderhahn
Copy link
Author

Tested locally, works like a charm :)

@harshavardhana harshavardhana self-assigned this Dec 2, 2015
harshavardhana pushed a commit that referenced this issue Dec 2, 2015
signature-presign: new minio-go vendorized fixes #1515
@harshavardhana
Copy link
Member

A new release has been made fixing this issue along with others. Thanks for your report @sanderhahn

@gintarasbar
Copy link

Perfect! Was getting the same error when creating subdirectories and this solved. it.

@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants