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
{{ message }}
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
I am using the Remote Storage option and have configured an AWS S3 bucket in us-west-2 (Oregon) region. I have set up the endpoint for s3-us-west-2.amazonaws.com. I think I have my S3 bucket and CORS set up properly (since I got a different error when I didn't CORS set up and then I re-read the docs and set it up properly).
When I attempt to upload a profile photo, I get a 200 on the pre-flight check (OPTIONS) but a 400 (Bad Request) error on the attempt to PUT to https://MYBUCKETNAME.s3-us-west-2.amazonaws.com/MYPLANET/2022.11.03..22.55.24-profileimg.jpg
The response body is (formatted for your convenience):
<?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>AuthorizationHeaderMalformed</Code>
<Message>The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'</Message>
<Region>us-west-2</Region>
<RequestId>REDACTED</RequestId>
<HostId>9R+JQSful8AwLA4ys0Xo1hK7iGWgHfXXXks0avFzAOvDrlngITkf2rDpm01NQv4X7lMquM3yp5A=</HostId>
</Error>
NOTE: If I can get all this working, I am willing to assist in adding AWS-specific information to the Remote Storage config page docs for configuring AWS S3 storage.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using the Remote Storage option and have configured an AWS S3 bucket in
us-west-2 (Oregon)
region. I have set up the endpoint fors3-us-west-2.amazonaws.com
. I think I have my S3 bucket and CORS set up properly (since I got a different error when I didn't CORS set up and then I re-read the docs and set it up properly).When I attempt to upload a profile photo, I get a 200 on the pre-flight check (OPTIONS) but a 400 (Bad Request) error on the attempt to PUT to
https://MYBUCKETNAME.s3-us-west-2.amazonaws.com/MYPLANET/2022.11.03..22.55.24-profileimg.jpg
The response body is (formatted for your convenience):
The
Authorization
header on the request is:Note the
us-east-1
in theCredential=
.The text was updated successfully, but these errors were encountered: