Cannot access S3 buckets in other regions using mount command

i ran the command with --dump=headers and notice that the provider is running 301

here is a snippet.

  1. rclone requests s3.us-east-2.wasabisys.com
  2. provider returned 301 including the correct region X-Amz-Bucket-Region: eu-west-3
  3. rclone, based on the 301 could change the region on the fly, but does not.
DEBUG : HTTP REQUEST (req 0xc00057e3c0)
DEBUG : HEAD /zork.london/file.ext HTTP/1.1
Host: s3.us-east-2.wasabisys.com

DEBUG : HTTP RESPONSE (req 0xc00057e3c0)
DEBUG : HTTP/1.1 301 Moved Permanently
X-Amz-Bucket-Region: eu-west-3

then i searched the forum for 301 and found
https://forum.rclone.org/t/why-s3-backend-ignores-http-301-errors/42016


and there is a github issue about it
https://github.com/rclone/rclone/issues/5066

1 Like