# Error: path is not accessible on master node

**URL:** <https://discuss.elastic.co/t/error-path-is-not-accessible-on-master-node/138085>\
**Category:** Elasticsearch\
**Created:** [July 1, 2018, 3:46pm UTC](https://discuss.elastic.co/t/error-path-is-not-accessible-on-master-node/138085 "2018-07-01T15:46:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ohadbp](https://avatars.discourse-cdn.com/v4/letter/o/f17d59/32.png) [@ohadbp](https://discuss.elastic.co/u/ohadbp)\
**Post date:** [July 1, 2018, 3:46pm UTC](https://discuss.elastic.co/t/error-path-is-not-accessible-on-master-node/138085/1 "2018-07-01T15:46:15Z")

</div>

Hey,

I am trying to add snapshots using S3 but something ain't right. This are the steps I have made:

- Installing ElasticSearch, version 6.3.0
- Installing repository-s3 plugin, version 6.3.0
- Adding access/secret key to keystore
- Created a bucket in S3 name armis-es-snapshots
- Created a folder inside this bucket name demo\_snapshots
- Performing the following request:  
PUT [http://localhost:9200/\_snapshot/demo\_snapshot](http://localhost:9200/_snapshot/demo_snapshot)  
{  
"settings": {  
"bucket": "armis-es-snapshots",  
"base\_path": "demo\_snapshots",  
"endpoint": "[s3.us-east-1.amazonaws.com](http://s3.us-east-1.amazonaws.com)"  
},  
"type": "s3"  
}

as a result, tests-XXX folder has been created with master.dat-temp file inside it, but i get the following error:

{  
"error": {  
"root\_cause": [  
{  
"type": "repository\_verification\_exception",  
"reason": "[demo\_snapshot] path [demo\_snapshots] is not accessible on master node"  
}  
],  
"type": "repository\_verification\_exception",  
"reason": "[demo\_snapshot] path [demo\_snapshots] is not accessible on master node",  
"caused\_by": {  
"type": "i\_o\_exception",  
"reason": "com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: EA7DF344CB6FCE75; S3 Extended Request ID: NHCbI+PHMppAcNuw6iKFJ0yR8W9vmjV1LMQqVM6umA4iQZSGopDsRQyToem0dZ8CDJ6Lxv+xMyw=), S3 Extended Request ID: NHCbI+PHMppAcNuw6iKFJ0yR8W9vmjV1LMQqVM6umA4iQZSGopDsRQyToem0dZ8CDJ6Lxv+xMyw=",  
"caused\_by": {  
"type": "amazon\_s3\_exception",  
"reason": "Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: EA7DF344CB6FCE75; S3 Extended Request ID: NHCbI+PHMppAcNuw6iKFJ0yR8W9vmjV1LMQqVM6umA4iQZSGopDsRQyToem0dZ8CDJ6Lxv+xMyw=)"  
}  
}  
},  
"status": 500  
}

I thought it my permission so si changed the bucket permissions to full and public access but problem persist.  
Any suggestion?

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 29, 2018, 3:46pm UTC](https://discuss.elastic.co/t/error-path-is-not-accessible-on-master-node/138085/2 "2018-07-29T15:46:21Z")

</div>

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