From 1d7beaefbb5c6b81b3c553e3096fc415fe5fe537 Mon Sep 17 00:00:00 2001 From: "bec.watson@8b5998670cf3d60f88e6297923d1391706e0d15b" Date: Sat, 5 Nov 2016 00:56:48 +0000 Subject: [PATCH] removed --- ..._fbb79d53fd9429c9e02ca41c8605c04b._comment | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 doc/special_remotes/S3/comment_26_fbb79d53fd9429c9e02ca41c8605c04b._comment diff --git a/doc/special_remotes/S3/comment_26_fbb79d53fd9429c9e02ca41c8605c04b._comment b/doc/special_remotes/S3/comment_26_fbb79d53fd9429c9e02ca41c8605c04b._comment deleted file mode 100644 index 8b10910bc0..0000000000 --- a/doc/special_remotes/S3/comment_26_fbb79d53fd9429c9e02ca41c8605c04b._comment +++ /dev/null @@ -1,29 +0,0 @@ -[[!comment format=mdwn - username="bec.watson@8b5998670cf3d60f88e6297923d1391706e0d15b" - nickname="bec.watson" - avatar="http://cdn.libravatar.org/avatar/85dbb458c368c0790d74923caa32a581" - subject="china cn-north-1 s3 remote issue" - date="2016-11-05T00:55:31Z" - content=""" -Hi, - -I've been unable to setup a remote in Beijing (region cn-north-1) as the signature request type doesn't seem to be V4 - -MacBook-Pro:gitannex-china iwatson$ git annex initremote ings3cn bucket=\"testbec\" type=S3 chunk=50MiB encryption=none datacenter=\"cn-north-1\" -initremote ings3cn (checking bucket...) (creating bucket in cn-north-1...) git-annex: FailedConnectionException2 \"testbec.s3-cn-north-1.amazonaws.com\" 80 False getAddrInfo: does not exist (nodename nor servname provided, or not known) - -The endpoints for china default to \"testbec.s3-cn-north-1.amazonaws.com\" but should be \"s3.cn-north-1.amazonaws.com.cn\". Using host option I can set this: -MacBook-Pro:gitannex-china iwatson$ git annex initremote ings3cn bucket=\"testbec\" type=S3 chunk=50MiB encryption=none host=\"s3.cn-north-1.amazonaws.com.cn\" datacenter=\"cn-north-1\" -initremote ings3cn (checking bucket...) (creating bucket in cn-north-1...) git-annex: S3Error {s3StatusCode = Status {statusCode = 400, statusMessage = \"Bad Request\"}, s3ErrorCode = \"InvalidRequest\", s3ErrorMessage = \"The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.\", s3ErrorResource = Nothing, s3ErrorHostId = Just \"xpA26oUbKWQMsDLG8GDceSbXOZKn8KIaV8OKdl+75+4rCMor3Gp4GY9ycSIxfP/owemTijcNYAY=\", s3ErrorAccessKeyId = Nothing, s3ErrorStringToSign = Nothing, s3ErrorBucket = Nothing, s3ErrorEndpointRaw = Nothing, s3ErrorEndpoint = Nothing} - -However, the message is that the authorization mechanism isn't AWS4-HMAC-SHA256 - if you see AWS this is V4 required by china and all new AWS regions: -http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html - -Is there anyway you can update the S3 remotes to use the new V4 signature method so git annex will work with china AWS? - -Thanks :) -bec - - - -"""]]