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
When run s3cmd like below to get size of a bucket located in ap-east-1 region, got an error:
$ s3cmd du s3://bucket/dir
ERROR: S3 error: 400 (IllegalLocationConstraintException): The ap-east-1 location constraint is incompatible for the region specific endpoint this request was sent to.
When specified region still got same error:
$ s3cmd --region=ap-east-1 du s3://bucket/dir
ERROR: S3 error: 400 (IllegalLocationConstraintException): The ap-east-1 location constraint is incompatible for the region specific endpoint this request was sent to.
I can see ap-east-1 isn't in the region list:
--region=REGION, --bucket-location=REGION
Region to create bucket in. As of now the regions are:
us-east-1, us-west-1, us-west-2, eu-west-1, eu-
central-1, ap-northeast-1, ap-southeast-1, ap-
southeast-2, sa-east-1
Is it possible to add support for ap-east-1 region? Thanks.
s3cmd version: 2.4.0
OS: macOS 14.1.2
The text was updated successfully, but these errors were encountered:
@burmecia The help has some hint for regions hardcoded, but otherwise we don't have a whitelist and also don't do anything specific per region.
Based on other bug reports, it looks like that ap-east-1 region has a little bit of specific behavior, and so you have to correctly set the host_base and host_bucket with the region.
When run
s3cmd
like below to get size of a bucket located inap-east-1
region, got an error:$ s3cmd du s3://bucket/dir ERROR: S3 error: 400 (IllegalLocationConstraintException): The ap-east-1 location constraint is incompatible for the region specific endpoint this request was sent to.
When specified
region
still got same error:$ s3cmd --region=ap-east-1 du s3://bucket/dir ERROR: S3 error: 400 (IllegalLocationConstraintException): The ap-east-1 location constraint is incompatible for the region specific endpoint this request was sent to.
I can see
ap-east-1
isn't in the region list:Is it possible to add support for
ap-east-1
region? Thanks.s3cmd version: 2.4.0
OS: macOS 14.1.2
The text was updated successfully, but these errors were encountered: