Skip to content

rc watch always faild with 403 #392

Closed

Description

@killkiller

I want to implement the logical like "mc mirror --watch",the code is like below:

rc alias set obsidian http://rustfs:9000 "akXX" "sKXX" && rc mirror --overwrite obsidian/obsidian/家庭 /content && rc watch obsidian/obsidian | while read -r event; do echo \"$event\" | grep -q '家庭/' && rc mirror --overwrite obsidian/obsidian/家庭 /content done

but it always failed with "✗ Authentication failed: Watch request failed with HTTP 403: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your AWS secret access key and signing method. For more information, see REST Authentication and SOAP Authentication for details."

Activity

  1. overtrue commented on Nov 2, 2026

    @overtrue
    Contributor

    The fix is in #399. The default put/delete/get filters were sent in a different order from the one used for SigV4 signing; RustFS preserves the wire order for repeated query names, which caused the 403. An independent signing probe reproduces the failure and receives an event after the fix. As a temporary workaround, use --event get,put,delete, or --event put if only writes matter for your sync. Leaving this open until the PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions