Rclone Forbidden: Invalid signature on read #677

Closed
opened 2023-12-03 09:48:08 +00:00 by huetremy · 1 comment

Hi !

I am trying to use rclone with garage as a backup backend, using the configuration given in scripts/dev-env-rclone.sh (I copied-pasted this file, just overriding the access key and remote).

Using rclone, I am able to put a file in the bucket:

➜  ~ echo "hello" > test.txt
➜  ~ rclone sync test.txt garage:remy-pc-backups 
➜  ~ rclone ls garage:remy-pc-backups
        6 test.txt

Moreover, I can access the file in the bucket using Minio Client (configured as in the garage doc):

➜  ~ mc cat garage/remy-pc-backups/test.txt
hello

However, whenever I try to access the file using rclone (for example with a cat or a copy), I get the following error:

➜  ~ rclone cat garage:remy-pc-backups/test.txt
2023/12/03 10:44:58 ERROR : test.txt: Failed to open: AccessDenied: Forbidden: Invalid signature
	status code: 403, request id: , host id: 
2023/12/03 10:44:58 Failed to cat: AccessDenied: Forbidden: Invalid signature
	status code: 403, request id: , host id:

It seems that there is a problem using the given rclone configuration, but I am not able to find which one.

My garage version is 0.9.0 and rclone --version is:

rclone 1.64.2
- os/version: fedora 39 (64 bit)
- os/kernel: 6.6.2-201.fc39.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.1
- go/linking: dynamic
- go/tags: none

Thank you for your help !

Hi ! I am trying to use rclone with garage as a backup backend, using the configuration given in `scripts/dev-env-rclone.sh` (I copied-pasted this file, just overriding the access key and remote). Using rclone, I am able to put a file in the bucket: ```console ➜ ~ echo "hello" > test.txt ➜ ~ rclone sync test.txt garage:remy-pc-backups ➜ ~ rclone ls garage:remy-pc-backups 6 test.txt ``` Moreover, I can access the file in the bucket using Minio Client (configured as in the garage doc): ```console ➜ ~ mc cat garage/remy-pc-backups/test.txt hello ``` However, whenever I try to access the file using rclone (for example with a cat or a copy), I get the following error: ``` ➜ ~ rclone cat garage:remy-pc-backups/test.txt 2023/12/03 10:44:58 ERROR : test.txt: Failed to open: AccessDenied: Forbidden: Invalid signature status code: 403, request id: , host id: 2023/12/03 10:44:58 Failed to cat: AccessDenied: Forbidden: Invalid signature status code: 403, request id: , host id: ``` It seems that there is a problem using the given rclone configuration, but I am not able to find which one. My garage version is `0.9.0` and `rclone --version` is: ```console rclone 1.64.2 - os/version: fedora 39 (64 bit) - os/kernel: 6.6.2-201.fc39.x86_64 (x86_64) - os/type: linux - os/arch: amd64 - go/version: go1.21.1 - go/linking: dynamic - go/tags: none ``` Thank you for your help !
Owner

I am successfully able to use rclone cat with the following rclone version:

rclone 1.62.2
- os/version: nixos 23.05 (Stoat) (64 bit)
- os/kernel: 6.1.61 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.8
- go/linking: dynamic
- go/tags: cmount

Are you sure your rclone configuration is correct? The invalid signature issues often arise if the region setting is not set correctly

I am successfully able to use `rclone cat` with the following rclone version: ``` rclone 1.62.2 - os/version: nixos 23.05 (Stoat) (64 bit) - os/kernel: 6.1.61 (x86_64) - os/type: linux - os/arch: amd64 - go/version: go1.20.8 - go/linking: dynamic - go/tags: cmount ``` Are you sure your rclone configuration is correct? The invalid signature issues often arise if the `region` setting is not set correctly
lx closed this issue 2024-01-15 10:04:33 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#677
No description provided.