-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
If you try to access a bucket with an incorrect (but valid) region, you will get the following error (this was called with AWS_REGION=us-east-2
and the bucket is in us-east-1
).
301 HTTP Error 301: Moved Permanently - Set s3auth.conf region to match bucket 'Region': bucket may not be in us-east-2 [PermanentRedirect] The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
The redirect should be followed to get to the correct region and a warning message printed. There could also be an env variable/configuration option to follow/not to follow the redirect.
le858
Metadata
Metadata
Assignees
Labels
No labels