Hi All,
I'm making some test running an object storage server MinIO behind an nginx reverse proxy with proxy_cache directive enabled and making some test of copy files from my pc to/from server with rclone.
Using browser(s) copy to/from storage goes well.
Unfortunately I have this errors with rclone multipart upload/download (filesize > 256M for downloads and filesize > 5M for uploads)
E.g. (copy 1G file from storage to my local dir .):
rclone -vvv copy myserver:test/test.1G .
2021/06/03 15:53:56 DEBUG : Using config file from "/home/user/.config/rclone/rclone.conf"
2021/06/03 15:53:56 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "-vvv" "copy" "myserver:test/test.1G" "."]
2021/06/03 15:53:56 DEBUG : Creating backend with remote "myserver:test/test.1G"
2021/06/03 15:53:56 DEBUG : fs cache: adding new entry for parent of "myserver:test/test.1G", "myserver:test"
2021/06/03 15:53:56 DEBUG : Creating backend with remote "."
2021/06/03 15:53:56 DEBUG : fs cache: renaming cache item "." to be canonical "/home/user/testdir"
2021/06/03 15:53:56 DEBUG : test.1G: Need to transfer - File not found at Destination
2021/06/03 15:53:56 DEBUG : test.1G: Starting multi-thread copy with 4 parts of size 256M
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 4/4 (805306368-1073741824) size 256M starting
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 2/4 (268435456-536870912) size 256M starting
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 1/4 (0-268435456) size 256M starting
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 3/4 (536870912-805306368) size 256M starting
**2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 4/4 failed: multipart copy: failed to open source: AccessDenied: There were headers present in the request which were not signed**
** status code: 400, request id: 168516EA17107E57, host id:**
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 1/4 failed: multipart copy: failed to open source: RequestError: send request failed
caused by: Get "https://myserver.test.it/test/test.1G": context canceled
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 3/4 failed: multipart copy: failed to open source: RequestError: send request failed
caused by: Get "https://myserver.test.it/test/test.1G": context canceled
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 2/4 failed: multipart copy: failed to open source: RequestError: send request failed
caused by: Get "https://myserver.test.it/test/test.1G": context canceled
2021/06/03 15:53:56 ERROR : test.1G: Failed to copy: multipart copy: failed to open source: AccessDenied: There were headers present in the request which were not signed
status code: 400, request id: 168516EA17107E57, host id:
2021/06/03 15:53:56 ERROR : Attempt 1/3 failed with 1 errors and: multipart copy: failed to open source: AccessDenied: There were headers present in the request which were not signed
status code: 400, request id: 168516EA17107E57, host id:
2021/06/03 15:53:56 DEBUG : test.1G: Sizes differ (src 1073741824 vs dst 0)
2021/06/03 15:53:56 DEBUG : test.1G: Starting multi-thread copy with 4 parts of size 256M
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 4/4 (805306368-1073741824) size 256M starting
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 3/4 (536870912-805306368) size 256M starting
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 2/4 (268435456-536870912) size 256M starting
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 1/4 (0-268435456) size 256M starting
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 4/4 failed: multipart copy: failed to open source: AccessDenied: There were headers present in the request which were not signed
status code: 400, request id: 168516EA18D7B402, host id:
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 1/4 failed: multipart copy: failed to open source: RequestError: send request failed
caused by: Get "https://myserver.test.it/test/test.1G": context canceled
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 3/4 failed: multipart copy: failed to open source: RequestError: send request failed
caused by: Get "https://myserver.test.it/test/test.1G": context canceled
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 2/4 failed: multipart copy: failed to open source: RequestError: send request failed
caused by: Get "https://myserver.test.it/test/test.1G": context canceled
2021/06/03 15:53:56 ERROR : test.1G: Failed to copy: multipart copy: failed to open source: AccessDenied: There were headers present in the request which were not signed
status code: 400, request id: 168516EA18D7B402, host id:
2021/06/03 15:53:56 ERROR : Attempt 2/3 failed with 1 errors and: multipart copy: failed to open source: AccessDenied: There were headers present in the request which were not signed
status code: 400, request id: 168516EA18D7B402, host id:
2021/06/03 15:53:56 DEBUG : test.1G: Sizes differ (src 1073741824 vs dst 0)
2021/06/03 15:53:56 DEBUG : test.1G: Starting multi-thread copy with 4 parts of size 256M
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 4/4 (805306368-1073741824) size 256M starting
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 1/4 (0-268435456) size 256M starting
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 3/4 (536870912-805306368) size 256M starting
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 2/4 (268435456-536870912) size 256M starting
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 4/4 failed: multipart copy: failed to open source: AccessDenied: There were headers present in the request which were not signed
status code: 400, request id: 168516EA19B9A508, host id:
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 1/4 failed: multipart copy: failed to open source: AccessDenied: There were headers present in the request which were not signed
status code: 400, request id: 168516EA19B53474, host id:
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 3/4 failed: multipart copy: failed to open source: RequestError: send request failed
caused by: Get "https://myserver.test.it/test/test.1G": context canceled
2021/06/03 15:53:56 DEBUG : test.1G: multi-thread copy: stream 2/4 failed: multipart copy: failed to open source: RequestError: send request failed
caused by: Get "https://myserver.test.it/test/test.1G": context canceled
2021/06/03 15:53:56 ERROR : test.1G: Failed to copy: multipart copy: failed to open source: AccessDenied: There were headers present in the request which were not signed
status code: 400, request id: 168516EA19B9A508, host id:
2021/06/03 15:53:56 ERROR : Attempt 3/3 failed with 1 errors and: multipart copy: failed to open source: AccessDenied: There were headers present in the request which were not signed
status code: 400, request id: 168516EA19B9A508, host id:
2021/06/03 15:53:56 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.1s
My rclone version:
rclone -V
rclone v1.55.1
- os/type: linux
- os/arch: amd64
- go/version: go1.16.3
- go/linking: static
- go/tags: none
Rclone config
[myserver]
type = s3
provider = Minio
env_auth = false
access_key_id = *******
secret_access_key = *********
endpoint = https://myserver.test.it
acl = private
[node1]
type = s3
provider = Minio
env_auth = false
access_key_id = *******
secret_access_key = *********
endpoint = https://node1.test.it:9000
acl = private
NOTE: when I bypass nginx and point directly to a one minio cluster node (e.g. rclone -vvv copy node1: test / test.1G.) the file copy goes well. Do you know if there is some issue about interaction rclone / nginx / minio related to this strange error "There were headers present in the request which were not signed" ?
Thanks for support