I'm getting the following error when attempting to create a new s3 repository:
{
"error": {
"root_cause": [
{
"type": "repository_exception",
"reason": "[s3_01] Could not determine repository generation from root blobs"
}
],
"type": "repository_exception",
"reason": "[s3_01] 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": "sdk_client_exception",
"reason": "Failed to connect to service endpoint: ",
"caused_by": {
"type": "socket_timeout_exception",
"reason": "Connect timed out"
}
}
}
},
"status": 500
}
I have:
- Installed the S3 plugin on all nodes, and restarted each node.
- Set s3.client.default.access_key and s3.client.default.secret_key using elasticsearch-keystore command.
- Reloaded secure settings.
- Successfully tested uploads to the bucket with s3cmd using the access key and secret key I have set.
I'm using the most basic call with minimal settings:
curl -XPUT https://my_es_node:9200/_snapshot/s3_01 -H 'Content-Type: application/json' -d '{
"type": "s3",
"settings": {
"bucket": "my_bucket_name"
}
}'
Any help would be appreciated.