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 error #157

Open
t0mmy9 opened this issue Aug 28, 2019 · 2 comments
Open

SignatureDoesNotMatch error #157

t0mmy9 opened this issue Aug 28, 2019 · 2 comments

Comments

@t0mmy9
Copy link

t0mmy9 commented Aug 28, 2019

I am using a custom S3 provider and kept getting back a 403 SignatureDoesNotMatch error from every function I tried to use. After a bit of trial and error it turns out that this was down to empty headers added in the "__getSignatureV4" function.

Adding the following couple of lines has fixed it for me: https://www.diffchecker.com/GRzuu6gj

Now everything works perfectly, thank you for this great class!

@mr-smit
Copy link

mr-smit commented Nov 4, 2019

thanks

@reina-n
Copy link

reina-n commented Feb 13, 2020

wow... it works on minio!

dcmexy added a commit to dcmexy/amazon-s3-php-class that referenced this issue May 16, 2021
Fixes issues tpyo#157 & tpyo#171.

It turns out that ListBuckets does not work on non-amazon services due to a 403 SignatureDoesNotMatch error caused by the empty headers.
macbre pushed a commit to elecena/amazon-s3-php-class that referenced this issue Sep 10, 2024
Fixes issues tpyo#157 & tpyo#171.

It turns out that ListBuckets does not work on non-amazon services due to a 403 SignatureDoesNotMatch error caused by the empty headers.
macbre added a commit to elecena/amazon-s3-php-class that referenced this issue Sep 10, 2024
Fixes issues tpyo#157 & tpyo#171.

It turns out that ListBuckets does not work on non-amazon services due to a 403 SignatureDoesNotMatch error caused by the empty headers.

Co-authored-by: dcmexy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants