Amazon s3 exception

I did following steps in my cluster nodes.

  1. Installed S3 repository plugin

  2. s3.client.default.endpoint = endpoint added in yml file

  3. added s3 keys
    bin/elasticsearch-keystore add s3.client.default.access_key
    bin/elasticsearch-keystore add s3.client.default.secret_key

  4. Created Repo
    curl -H 'Content-Type: application/json' -XPUT 'https://localhost:9200/_snapshot/elk_dev_s3_repository?verify=false&pretty' -d' { "type": "s3", "settings": { "bucket": "es_dev", } }'

    { "acknowledged" : true }

  5. Created snapshot.
    curl -H 'Content-Type: application/json' -XPUT https://localhost:9200/_snapshot/elk_dev_s3_repository/snapshot_1?wait_for_completion=true -d '{ "ignore_unavailable": true, "include_global_state": false}'

I got some issue while creating snapshot.

{ "error": { "root_cause": [ { "type": "amazon_s3_exception", "reason": "The request signature we calculated does not match the signature you provided. Check your key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: txe2f69edfe8a54e90bdf72-005c752578; S3 Extended Request ID: null)" } ], "type": "amazon_s3_exception", "reason": "The request signature we calculated does not match the signature you provided. Check your key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: txe2f69edfe8a54e90bdf72-005c752578; S3 Extended Request ID: null)" }, "status": 500 }

Please advise me..

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.