Hi,
I am passing the secrets of the repo to the keystore like:
spec:
secureSettings:
- secretName: s3-secret
entries:
- key: access-key
path: s3.client.default.access_key
- key: secret-key
path: s3.client.default.secret_key
the S3 server is local (minio) and seems to have no issues when connecting from within ES container. The API call is as following:
{
"type": "s3",
"settings": {
"client": "default",
"bucket": "elasticsearch-snapshots",
"endpoint": "s3.domain.com",
"path_style_access": "true",
"protocol": "http"
}
}
but this is the error I get:
{"error":{"root_cause":[{"type":"repository_exception","reason":"[my-s3] Could not determine repository generation from root blobs"}],"type":"repository_exception","reason":"[my-s3] Could not determine repository generation from root blobs","caused_by":{"type":"i_o_exception","reason":"Exception when listing blobs by prefix [index-]","caused_by":{"type":"amazon_s3_exception","reason":"Found (Service: Amazon S3; Status Code: 302; Error Code: 302 Found; Request ID: null; S3 Extended Request ID: null)"}}},"status":500}