· 9 years ago · Oct 14, 2016, 03:30 PM
1curl -XPUT http://XXX:9200/_snapshot/google-test-repo -d '{
2 "type": "s3",
3 "settings": {
4 "endpoint": "storage.googleapis.com",
5 "bucket": "/my-bucket",
6 "base_path": "mydirectory",
7 "access_key": "my-google-dev-key",
8 "secret_key": "my-google-secret-key"
9 }
10}'
11
12{
13 "error": {
14 "root_cause": [
15 {
16 "type": "repository_verification_exception",
17 "reason": "[google-test-repo] path [mydirectory] is not accessible on master node"
18 }
19 ],
20 "type": "repository_verification_exception",
21 "reason": "[google-test-repo] path [mydirectory] is not accessible on master node",
22 "caused_by": {
23 "type": "i_o_exception",
24 "reason": "Unable to upload object mydirectory/tests-C4S-4T6FS1CIMkvjebOMBw/master.dat-temp",
25 "caused_by": {
26 "type": "amazon_s3_exception",
27 "reason": "The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: null)"
28 }
29 }
30 },
31 "status": 500
32}