Use rclone supported cloud storage providers with git-annex
GNU General Public License v3.0
189
stars
29
forks
source link
Remote connection to Tencent COS reported an error: InvalidRequest: Missing required header for this request: Appid, Bucket format should be <bucketname>-<appid> #75
But when I run git annex initremote TencentCos type=external externaltype=rclone target=Cos prefix=git-annex chunk=50MiB encryption=shared mac=HMACSHA512 rclone_layout=lower, it reports an error: InvalidRequest: Missing required header for this request: Appid, Bucket format should be <bucketname>-<appid>.
Then, I tired this code: git annex initremote TencentCos type=external externaltype=rclone target=Cos:other-note-repository-1323025692 prefix=git-annex chunk=50MiB encryption=shared mac=HMACSHA512 rclone_layout=lower, which added :<bucketname>-<appid> after Cos. But it reports same error.
I tried to access "Cos" directly using rclone, and when I run rclone ls Cos:other-note-repository-1323025692, CMD did not report an error, proving that rclone had access to "Cos".
Is there any solution to this? Thank you for your attention!
I have a rclone remote: "Cos", It is configured as follows:
But when I run
git annex initremote TencentCos type=external externaltype=rclone target=Cos prefix=git-annex chunk=50MiB encryption=shared mac=HMACSHA512 rclone_layout=lower
, it reports an error:InvalidRequest: Missing required header for this request: Appid, Bucket format should be <bucketname>-<appid>
.Then, I tired this code:
git annex initremote TencentCos type=external externaltype=rclone target=Cos:other-note-repository-1323025692 prefix=git-annex chunk=50MiB encryption=shared mac=HMACSHA512 rclone_layout=lower
, which added:<bucketname>-<appid>
afterCos
. But it reports same error.I tried to access "Cos" directly using rclone, and when I run
rclone ls Cos:other-note-repository-1323025692
, CMD did not report an error, proving that rclone had access to "Cos".Is there any solution to this? Thank you for your attention!