# Unable to register a repo with repository-s3 plugin

**URL:** <https://discuss.elastic.co/t/unable-to-register-a-repo-with-repository-s3-plugin/196083>\
**Category:** Elasticsearch\
**Created:** [August 21, 2019, 10:24am UTC](https://discuss.elastic.co/t/unable-to-register-a-repo-with-repository-s3-plugin/196083 "2019-08-21T10:24:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![umarshaik5](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/umarshaik5/32/51994_2.png) [@umarshaik5](https://discuss.elastic.co/u/umarshaik5)\
**Post date:** [August 21, 2019, 10:24am UTC](https://discuss.elastic.co/t/unable-to-register-a-repo-with-repository-s3-plugin/196083/1 "2019-08-21T10:24:36Z")

</div>

I am getting an error while trying to register a repo with type s3. I am using Elasticsearch 6.6.0  
i have created the secure string as per below  
[https://www.elastic.co/guide/en/elasticsearch/plugins/6.6/repository-s3-usage.html](https://www.elastic.co/guide/en/elasticsearch/plugins/6.6/repository-s3-usage.html)

Error response is:  
`{"error":{"root_cause":[{"type":"repository_verification_exception","reason":"[reponame] path is not accessible on master node"}],"type":"repository_verification_exception","reason":"[reponame] path is not accessible on master node","caused_by":{"type":"i_o_exception","reason":"Unable to upload object [tests-RPhRUR78TFy98osj5GAn9A/master.dat] using a single upload","caused_by":{"type":"sdk_client_exception","reason":"The requested metadata is not found at http://169.254.169.254/latest/meta-data/iam/security-credentials/"}}},"status":500}`

i am stuck with this quite for sometime  
i have tried using `allow_insecure_settings: true` this breaks Elasticsearch service with and error  
unknown setting [allow\_insecure\_settings]  
please check that any required plugins are installed, or check the breaking changes doc  
umentation for removed settings

---

<div class="post-metadata">

**Author:** ![umarshaik5](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/umarshaik5/32/51994_2.png) [@umarshaik5](https://discuss.elastic.co/u/umarshaik5)\
**Post date:** [August 22, 2019, 11:01am UTC](https://discuss.elastic.co/t/unable-to-register-a-repo-with-repository-s3-plugin/196083/2 "2019-08-22T11:01:08Z")

</div>

issue was with the environment script available in the bin once i have marked it to the valid conf dir. It worked for me.

---

<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:** [September 19, 2019, 11:01am UTC](https://discuss.elastic.co/t/unable-to-register-a-repo-with-repository-s3-plugin/196083/3 "2019-09-19T11:01:15Z")

</div>

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