Hi there,
My customer has come across an AmazonS3Exception in using Talend (which is an ETL tool) to write to S3 via AWS PrivateLink. When trying to write to S3 via an endpoint address such as bucket.vpce-001234567-89abcdef.s3.cn-northwest-1.vpce.amazonaws.com.cn , an error was casted, stating com.amazonaws.services.s3.model.AmazonS3Exception: The authorization header is malformed; the region 'vpce' is wrong; expecting 'cn-northwest-1' (Service: Amazon S3; Status Code: 400; Error Code: AuthorizationHeaderMalformed; Request ID: ...
Customer is using The Talend server is deployed outside AWS, but is connected to AWS using a direct connect. The DNS and underlying network has been verified OK. And, as you might have noticed, the customer is trying to use S3 in AWS China (Ningxia region).
Any suggestion about what might goes wrong will be truly appreciated.