-
Notifications
You must be signed in to change notification settings - Fork 22
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
While running s3_export bad request - wrong version v2 AWS recommands v4 #4
Comments
Hey @andreiMarmureanu, Magento comes with Zend Framework V1, which only comes with support for older versions of the AWS authentication mechanism. As such, newer S3 regions that only use V4 won't work with my extension. I'll need to build V4 support to make this error go away. 😢 Regards, Thai |
Hey @thaiphan , I am facing the same issue and my images are not syncing with s3 nor it is uploading in local media files using your extension. |
For the best future of the module you should consider implementing AWS PHP Client library instead of the ZF1. You may have not heard of about https://minio.io/ it is S3 API v2/v4 clone which means your module will work with this software too. You will have complete support for AWS S3 and minio.io if you implement the AWS s3 PHP Client API. :) |
Hi Thaipan, my region is ap-southeast-1 (Singapore). This plugin is not working in my case. s3_export.php doesn't actually move files to S3. |
["version":protected]=>
string(3) "1.1"
["code":protected]=>
int(400)
["message":protected]=>
string(11) "Bad Request"
["headers":protected]=>
array(8) {
["X-amz-request-id"]=>
string(16) "5B602FE4CA14576C"
["X-amz-id-2"]=>
string(76) "dzjmgxPPXVp0O6OWGNhoaAWcQQJfaJ1BScMdvETttJUBFWzz/oWu647njCQzJYEdjR4+xcevVMw="
["X-amz-region"]=>
string(12) "eu-central-1"
["Content-type"]=>
string(15) "application/xml"
["Transfer-encoding"]=>
string(7) "chunked"
["Date"]=>
string(29) "Thu, 14 Sep 2017 09:14:12 GMT"
["Connection"]=>
string(5) "close"
["Server"]=>
string(8) "AmazonS3"
}
["body":protected]=>
string(336) "144
InvalidRequest
The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.5B602FE4CA14576CdzjmgxPPXVp0O6OWGNhoaAWcQQJfaJ1BScMdvETttJUBFWzz/oWu647njCQzJYEdjR4+xcevVMw=The text was updated successfully, but these errors were encountered: