Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

rc watch always faild with 403

Đang mở
#392 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
authentication, cli

Hướng nghiên cứu

Start at the rc watch command and trace how it builds and signs the watch request, then compare that request with the successful rc mirror request in the example. Reproduce the 403 with the provided commands and inspect the signature inputs; done means rc watch obsidian/obsidian authenticates successfully and emits events.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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."

Ngôn ngữ chính
Rust
Star
164
Fork
24
Merge trung bình
5 ngày 9 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rustfs/cli

Tất cả issue của rustfs/cli

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.