S3_repository error

{"error":{"root_cause":[{"type":"repository_exception","reason":"[s3_repository] could not read repository data from index blob"}],
"type":"repository_exception","reason":"[s3_repository] could not read repository data from index blob","caused_by":
{"type":"i_o_exception","reason":"Exception when listing blobs by prefix [index-]",
"caused_by":{"type":"amazon_s3_exception","reason":"amazon_s3_exception: The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId;
can any one help regarding this error

See part of the error message

The AWS Access Key Id you provided does not exist in our records

Seems, that your credentials are not correct tome.

we recently changed aws access keys , before it was working fine .
after changing my keys , i followed this steps to update keys .
sudo bin/elasticsearch-keystore remove s3.client.default.access_key

sudo bin/elasticsearch-keystore remove s3.client.default.secret_key

sudo bin/elasticsearch-keystore create

sudo bin/elasticsearch-keystore add s3.client.default.access_key

sudo bin/elasticsearch-keystore add s3.client.default.secret_key

by using above commands i updated my keys , after that i am getting error as

org.elasticsearch.repositories.RepositoryException: [s3_repository] could not read repository data from index blob

org.elasticsearch.common.io.stream.NotSerializableExceptionWrapper: amazon_s3_exception: The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId

can any one tell me is anything i am missing here

Have you done this on all your nodes? Have you restarted Elasticsearch on all your nodes or reloaded secure settings?

yes , i restarted all nodes , and reloaded secure settings
POST _nodes/reload_secure_settings
i used above command also

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