-
Notifications
You must be signed in to change notification settings - Fork 17
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
Upgrading from version 2.0 #34
Comments
Are you using Amazon S3, or something different? Which one are you using, v2 or v4 signatures? Have you tried using the development branch? |
Are you using Amazon S3, or something different?
Which one are you using, v2 or v4 signatures?
Have you tried using the development branch?
|
I believe that the third party service may be in the wrong here. Amazon AWS allows you to use either the standard HTTP header
They apparently only expect numeric timezone indicators which means they are not compliant. |
I will look into it and talk to them to find out if that's the case. Did you change the format between versions? Which was is it using now? |
I mean, 2.0 was released three years ago. Yeah, sure, a lot has changed! See here: 2.0.0...2.3.1 What you are looking for is here d1797b6 This was necessary for v4 signatures to work. |
You can now select whether to use the X-Amz-Date or Date HTTP header for the requests. This should address your issue. |
Description:
I am having this issue while trying to validate upgrading this lib from v2.0 for an external project. A non AWS provider is used. From debugging the Request object created, I found the following headers:
Fatal error:
Uncaught Akeeba\S3\Exception\CannotPutFile: Akeeba\S3\Connector::putObject(): [500] AccessDenied:AWS authentication requires a valid Date or x-amz-date header
Debug info:
SimpleXMLElement Object
Stack trace:
in /var/www/html/vendor/akeeba/s3/src/Connector.php:149
Akeeba\S3\Connector->putObject()
The text was updated successfully, but these errors were encountered: