What is the problem you are having with rclone?
rclone config has for 'Region to connect to:'
10 | Needs location constraint ap-southeast-1.
\ "ap-southeast-1"
/ Asia Pacific (Sydney) Region
but 'location_constraint' has:
10 / Asia Pacific (Singapore) Region.
\ "ap-southeast-1"
11 / Asia Pacific (Sydney) Region.
\ "ap-southeast-2"
So what should Asia Pacific (Sydney) be? ap-southeast-1 or ap-southeast-2?
Bug?
What is your rclone version (output from rclone version
)
rclone v1.49.3
-
os/arch: darwin/amd64
-
go version: go1.13
Which OS you are using and how many bits (eg Windows 7, 64 bit)
macOS X 10.14.6
Which cloud storage system are you using? (eg Google Drive)
Amazon S3
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone ls remote:mailserver
2019/09/23 18:18:28 ERROR : S3 bucket mailserver: Failed to update region for bucket: reading bucket location failed: AccessDenied: Access Denied
status code: 403, request id: DC0BCA1AD0B5C055, host id: +Ru6+N09j2FAc72qSkS7MehQG54ET6Emy1oaaFiDQZhxeXUUFqoHHVTUnD8odgiX5P2pb9ceuMg=
2019/09/23 18:18:28 Failed to ls: BucketRegionError: incorrect region, the bucket is not in 'ap-southeast-1' region at endpoint ''
status code: 301, request id: , host id:
So 'rclone mkdir remote:mailserver' does not give an error, but gets created with wrong region.
A log from the command with the -vv
flag (eg output from rclone -vv copy /tmp remote:tmp
)
rclone ls remote:mailserver -vv
2019/09/23 18:33:27 DEBUG : rclone: Version "v1.49.3" starting with parameters ["rclone" "ls" "remote:mailserver" "-vv"]
2019/09/23 18:33:27 DEBUG : Using config file from "/Users/jlbrown/.config/rclone/rclone.conf"
2019/09/23 18:33:29 ERROR : S3 bucket mailserver: Failed to update region for bucket: reading bucket location failed: AccessDenied: Access Denied
status code: 403, request id: F4D35DF1D7262518, host id: AyJ9IaiA8VNn09OlIwjP4Up7v59qze8o0Ck67q/coP7WYXLwYHvCQTZ+unAjCtJDNW1UG4j4MMo=
2019/09/23 18:33:29 Failed to ls: BucketRegionError: incorrect region, the bucket is not in 'ap-southeast-1' region at endpoint ''
status code: 301, request id: , host id:
More info
Remote config
[remote]
type = s3
provider = AWS
env_auth = false
access_key_id = XXX
secret_access_key = YYY
region = ap-southeast-1
location_constraint = ap-southeast-1
acl = private