When trying to read all snaphots from the repository in s3 we are getting the error:
[user@adapt103:~]$ curl 'http://localhost:9200/_cat/snapshots/adapt-prod_202111?pretty'
{
"error" : {
"root_cause" : [
{
"type" : "repository_exception",
"reason" : "[adapt-prod_202111] could not read repository data from index blob"
}
],
"type" : "repository_exception",
"reason" : "[adapt-prod_202111] 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" : "sdk_client_exception",
"reason" : "sdk_client_exception: Unable to execute HTTP request: adapt.s3.amazonaws.com",
"caused_by" : {
"type" : "i_o_exception",
"reason" : "adapt.s3.amazonaws.com"
}
}
}
},
"status" : 500
}
When I list repositories it works:
[user@adapt103:~]$ curl 'http://localhost:9200/_cat/repositories?pretty'
adapt-prod_202111 s3
adapt-prod_202110 s3