rclone gives Authorization header malformed, unexpected scope: #700
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#700
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Other clients like mino mc work great. But my rclone just gives me:
garage_api::generic_server: Response: error 400 Bad Request, Authorization header malformed, unexpected scope: 20240202/us-east-1/s3/aws4_request
rclone.conf:
[garage]
type = s3
provider = Other
env_auth = true
endpoint = mylocaldomain.com
force_path_style = true
acl = private
bucket_acl = private
I am using the garage docker image in version v0.9.1
Hello,
To workarround this , you have to specify your region and signature_v2 = true
Example on rclone.conf
Documentation to be updated.
It's already there: https://garagehq.deuxfleurs.fr/documentation/connect/cli/#rclone
I think the correct fix is not to add
signature_v2 = true
but to set the correct value for theregion
parameter. I have never needed to setsignature_v2 = true
myself. Anyway, the docs gives a correct config so I'm closing this.I had exactly same problem while setting up MSP360 backup software.
I tried to use signature v2 in MSP360, didn't work. (Unsupported authorization method)
And my solution is: modify
garage.toml
, sets3_region = "us-east-1"
(match the error message), and problem get solved.