Open preetam-patil opened 4 years ago
Hi @preetam-patil, Thank you for reporting this issue. The Amazon S3 connector is not yet compatible with Micro Integrator and it should fail at the startup itself. We are working on fixing the issue and we will be releasing a new connector version once the issues are fixed. Please refer to https://github.com/wso2/micro-integrator/issues/1128 for more information.
Hi WSO2 Team, Just a Suggestion: Most of the issues with WSO2 AWS related Connectors are related to java implementation of REST API from AWS. It would be great if we align our AWS connectors using aws-java-sdk directly so that we can re-use aws code which would also avoid reinventing all rest-api implementations by WSO2 team and fixing issues as aws keeps changing. Reference: https://github.com/aws/aws-sdk-java
In other words, can we just not write a connector on top of the aws-sdk-java ?
Description:
Amazon S3 connector 1.0.9 returns invalid date format error while trying GetObject method
“Invalid date format header, expected to be in ISO8601, RFC1123 or RFC1123Z time format”
Suspected Issue: x-amz-date header returns invalid format "x-amz-date: Wed, 11 Mar 2020 16:42:18 GMT[\r][\n]"
Affected Product Version: AWS-S3 Connector 1.0.9
OS, DB, other environment details and versions:
MI-1.1.0 , CentOS
Steps to reproduce: a) Deploy AWS S3 connector 1.0.9 to MI-1.1.0 and trigger getObject method with below configuration
`
</amazons3.init>
MalformedDate
MalformedDate