Trouble debugging plugin code

Hi,
I have modified the cloud-aws plugin to use server side KMS encryption. When I do a snapshot some data is written to the S3 bucket ok (maybe all of it, I can't really tell) but the request returns this error:

100 252 100 252 0 0 7577 0 -::- -::- -::- 7636
{
"snapshot" : {
"snapshot" : "20170609-161608",
"version_id" : 2040599,
"version" : "2.4.5",
"indices" : [ "kimchy", "twitter", "another_user" ],
"state" : "PARTIAL",
"start_time" : "2017-06-09T16:16:08.195Z",
"start_time_in_millis" : 1497024968195,
"end_time" : "2017-06-09T16:16:17.676Z",
"end_time_in_millis" : 1497024977676,
"duration_in_millis" : 9481,
"failures" : [
{ "index" : "another_user", "shard_id" : 0, "reason" : "IndexShardSnapshotFailedException[Failed to write file list]; nested: IOException[com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 951AFBA248491DCE), S3 Extended Request ID: s44kMWrAl1be0T5DAHUOqJ60SHPTb+BsKkIWeOBqi/56Ez4l7vOStWp1/ht4emf+CY4w4YSmTvc=]; nested: AmazonS3Exception[Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 951AFBA248491DCE)]; ", "node_id" : "nQ87_U50QU2mYOyxBxylIg", "status" : "INTERNAL_SERVER_ERROR" }
,
{ "index" : "kimchy", "shard_id" : 0, "reason" : "IndexShardSnapshotFailedException[Failed to write file list]; nested: IOException[com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: C9DC6552AE2DAEA5), S3 Extended Request ID: +Nx09GMk6jgMtnDqmD/xebfToLyNG6TqldmsL5Gda03bKqcBwKmmHl5J6btZpYvUaa/DMaJEtAQ=]; nested: AmazonS3Exception[Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: C9DC6552AE2DAEA5)]; ", "node_id" : "nQ87_U50QU2mYOyxBxylIg", "status" : "INTERNAL_SERVER_ERROR" }
,
{ "index" : "twitter", "shard_id" : 0, "reason" : "IndexShardSnapshotFailedException[Failed to write file list]; nested: IOException[com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: E6Aa24Bddd1F20DBE45D), S3 Extended Request ID: HFKowJ/+bBLNUXGZA5oqRzHdL8041kB8AwOFbTIRKXQ94oe8=]; nested: AmazonS3Exception[Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: E6A24B1F20xxDBE45D)]; ", "node_id" : "nQ87_U50QU2mYOyxBxylIg", "status" : "INTERNAL_SERVER_ERROR" }
],
"shards" :
{ "total" : 3, "failed" : 3, "successful" : 0 }
}
}

There is nothing in elasticseach that indicates an INTERNAL_SERVER_ERROR either.

Any ideas appreciated.

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