What is the problem you are having with rclone?
I want mount minio to windows.
I got error message and it's can't create any file or folder.
ERROR : IO error: AuthorizationHeaderMalformed: The authorization header is malformed; the region is wrong; expecting 'newtaipei-1'.
I make sure my region is newtaipei-1.
Run the command 'rclone version' and share the full output of the command.
rclone v1.59.2
- os/version: Microsoft Windows 11 Pro 21H2 (64 bit)
- os/kernel: 10.0.22000.978 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.18.6
- go/linking: static
- go/tags: cmount
Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
-->Yes
Which cloud storage system are you using? (eg Google Drive)
Minio
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount aspa:test Z:
The rclone config contents with secrets removed.
[aspa]
type = s3
provider = Minio
access_key_id = vps1-user
secret_access_key = ********
endpoint = https://minio-newtp.aspa.idv.tw:9000
location_constraint = newtaipei-1
A log from the command with the -vv
flag
2022/09/26 13:49:55 DEBUG : rclone: Version "v1.59.2" starting with parameters ["rclone" "mount" "-vv" "aspa:test" "Z:"]
2022/09/26 13:49:55 DEBUG : Creating backend with remote "aspa:test"
2022/09/26 13:49:55 DEBUG : Using config file from "C:\\Users\\akong\\AppData\\Roaming\\rclone\\rclone.conf"
2022/09/26 13:49:55 INFO : S3 bucket test: poll-interval is not supported by this remote
2022/09/26 13:49:55 DEBUG : Network mode mounting is disabled
2022/09/26 13:49:55 DEBUG : Mounting on "Z:" ("aspa test")
2022/09/26 13:49:55 DEBUG : S3 bucket test: Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=aspa test"]
2022/09/26 13:49:55 DEBUG : S3 bucket test: Init:
2022/09/26 13:49:55 DEBUG : S3 bucket test: >Init:
2022/09/26 13:49:55 DEBUG : /: Statfs:
2022/09/26 13:49:55 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2022/09/26 13:49:55 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:55 DEBUG : /: >Getattr: errc=0
2022/09/26 13:49:55 DEBUG : /: Readlink:
2022/09/26 13:49:55 DEBUG : /: >Readlink: linkPath="", errc=-40
2022/09/26 13:49:55 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2022/09/26 13:49:55 DEBUG : /: >Getxattr: errc=-40, value=""
The service rclone has been started.
2022/09/26 13:49:55 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:55 DEBUG : /: >Getattr: errc=0
2022/09/26 13:49:55 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:55 DEBUG : /: >Getattr: errc=0
2022/09/26 13:49:55 DEBUG : /: Opendir:
2022/09/26 13:49:55 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/09/26 13:49:55 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/09/26 13:49:55 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/09/26 13:49:55 DEBUG : /: Statfs:
2022/09/26 13:49:55 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2022/09/26 13:49:55 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:55 DEBUG : /: >Getattr: errc=0
2022/09/26 13:49:55 DEBUG : /: Releasedir: fh=0x0
2022/09/26 13:49:55 DEBUG : /: >Releasedir: errc=0
2022/09/26 13:49:55 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:55 DEBUG : /: >Getattr: errc=0
2022/09/26 13:49:55 DEBUG : /: Opendir:
2022/09/26 13:49:55 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/09/26 13:49:55 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/09/26 13:49:55 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/09/26 13:49:55 DEBUG : /: Releasedir: fh=0x0
2022/09/26 13:49:55 DEBUG : /: >Releasedir: errc=0
2022/09/26 13:49:55 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:55 DEBUG : /: >Getattr: errc=0
2022/09/26 13:49:55 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:55 DEBUG : /: >Getattr: errc=0
2022/09/26 13:49:55 DEBUG : /: Opendir:
2022/09/26 13:49:55 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/09/26 13:49:55 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/09/26 13:49:55 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/09/26 13:49:55 DEBUG : /: Releasedir: fh=0x0
2022/09/26 13:49:55 DEBUG : /: >Releasedir: errc=0
2022/09/26 13:49:58 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:58 ERROR : /: Dir.Stat error: AuthorizationHeaderMalformed: The authorization header is malformed; the region is wrong; expecting 'newtaipei-1'.
status code: 400, request id: 17185311F0F63528, host id:
2022/09/26 13:49:58 ERROR : IO error: AuthorizationHeaderMalformed: The authorization header is malformed; the region is wrong; expecting 'newtaipei-1'.
status code: 400, request id: 17185311F0F63528, host id:
2022/09/26 13:49:58 DEBUG : /autorun.inf: >Getattr: errc=-5
2022/09/26 13:49:58 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:58 ERROR : /: Dir.Stat error: AuthorizationHeaderMalformed: The authorization header is malformed; the region is wrong; expecting 'newtaipei-1'.
status code: 400, request id: 17185311F3D70AC6, host id:
2022/09/26 13:49:58 ERROR : IO error: AuthorizationHeaderMalformed: The authorization header is malformed; the region is wrong; expecting 'newtaipei-1'.
status code: 400, request id: 17185311F3D70AC6, host id:
2022/09/26 13:49:58 DEBUG : /autorun.inf: >Getattr: errc=-5
2022/09/26 13:49:58 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:58 ERROR : /: Dir.Stat error: AuthorizationHeaderMalformed: The authorization header is malformed; the region is wrong; expecting 'newtaipei-1'.
status code: 400, request id: 17185311F6C0F6A5, host id:
2022/09/26 13:49:58 ERROR : IO error: AuthorizationHeaderMalformed: The authorization header is malformed; the region is wrong; expecting 'newtaipei-1'.
status code: 400, request id: 17185311F6C0F6A5, host id:
2022/09/26 13:49:58 DEBUG : /autorun.inf: >Getattr: errc=-5
2022/09/26 13:49:58 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:58 DEBUG : /: >Getattr: errc=0
2022/09/26 13:49:58 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:58 DEBUG : /: >Getattr: errc=0
2022/09/26 13:49:58 DEBUG : /: Opendir:
2022/09/26 13:49:58 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/09/26 13:49:58 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/09/26 13:49:58 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/09/26 13:49:58 DEBUG : /: Releasedir: fh=0x0
2022/09/26 13:49:58 DEBUG : /: >Releasedir: errc=0
2022/09/26 13:49:58 DEBUG : /AutoRun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/09/26 13:49:58 ERROR : /: Dir.Stat error: AuthorizationHeaderMalformed: The authorization header is malformed; the region is wrong; expecting 'newtaipei-1'.
status code: 400, request id: 17185311F9CB8791, host id:
2022/09/26 13:49:58 ERROR : IO error: AuthorizationHeaderMalformed: The authorization header is malformed; the region is wrong; expecting 'newtaipei-1'.
status code: 400, request id: 17185311F9CB8791, host id:
2022/09/26 13:49:58 DEBUG : /AutoRun.inf: >Getattr: errc=-5