You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The authorization header is malformed; the region 'vpce' is wrong; expecting 'eu-central-1'
To Reproduce
A code sample or steps:
when creating a new progress listener for transfer, it got an ERROR as the following:
Received error response: com.amazonaws.services.s3.model.AmazonS3Exception: The authorization header is malformed; the region 'vpce' is wrong; expecting 'eu-central-1' (Service: null; Status Code: 400; Error Code: AuthorizationHeaderMalformed; Request ID: DN55*******2CRZ4), S3 Extended Request ID: RN8eBGO2ZCJGGy*******KtqO/1DwofYb6Bim2giwzG*******EiHZBliYfeNcU9*******OPblJJFQ=
Which AWS service(s) are affected?
when upload picture by S3 interface endpoint in VPC, the transfer cannot be created.
Expected behavior
Please help to fix it that parse region code and produce url correctly.
Environment Information (please complete the following information):
AWS Android SDK Version: 2.35.0, 2.53.0
The text was updated successfully, but these errors were encountered:
heisenbergye
changed the title
Amazon S3 - The authorization header is malformed; the region 'vpce' is wrong; expecting 'us-east-1'
Amazon S3 - The authorization header is malformed; the region 'vpce' is wrong; expecting 'eu-central-1'
Sep 24, 2022
eeatonaws
added
bug
Something isn't working
s3
Issues with the AWS Android SDK for Simple Storage Service (S3).
labels
Sep 26, 2022
Thank you for reporting this issue. The AmazonS3Client is indeed parsing endpoints in VPC such that the region is "vpce". I am working on a fix for this issue.
Describe the bug
The authorization header is malformed; the region 'vpce' is wrong; expecting 'eu-central-1'
To Reproduce
A code sample or steps:
when creating a new progress listener for transfer, it got an ERROR as the following:
maybe it is a bug similar as :
https://hadoop.apache.org/docs/stable/hadoop-aws/tools/hadoop-aws/troubleshooting_s3a.html
Which AWS service(s) are affected?
when upload picture by S3 interface endpoint in VPC, the transfer cannot be created.
Expected behavior
Please help to fix it that parse region code and produce url correctly.
Environment Information (please complete the following information):
The text was updated successfully, but these errors were encountered: