-
Notifications
You must be signed in to change notification settings - Fork 504
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
Comments
thanks |
wow... it works on minio! |
macbre
pushed a commit
to elecena/amazon-s3-php-class
that referenced
this issue
Sep 10, 2024
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
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!
The text was updated successfully, but these errors were encountered: