# S3-repository-path-is-not-accessible-on-master-node

**URL:** <https://discuss.elastic.co/t/s3-repository-path-is-not-accessible-on-master-node/360438>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [May 29, 2024, 8:30am UTC](https://discuss.elastic.co/t/s3-repository-path-is-not-accessible-on-master-node/360438 "2024-05-29T08:30:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saikatkonar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saikatkonar/32/134891_2.png) [@saikatkonar](https://discuss.elastic.co/u/saikatkonar)\
**Post date:** [May 29, 2024, 8:30am UTC](https://discuss.elastic.co/t/s3-repository-path-is-not-accessible-on-master-node/360438/1 "2024-05-29T08:30:02Z")

</div>

We are using 3 node cluster and we installed the `repository-s3` plugin on all the 3 nodes, the ES is running in EKS cluster. We have given permission using IAM role and assigned the same using service account. When I go inside the ES pods and list the bucket, it works, so the permission is fine.

```auto
root@es-cluster-0:/usr/share/elasticsearch# bin/elasticsearch-plugin list
repository-s3

```

```auto
PUT _snapshot/my_repository
{
  "type": "s3",
  "settings": {
    "bucket": "servicemesh"
  }
}

```

```auto
{
  "error" : {
    "root_cause" : [
      {
        "type" : "repository_verification_exception",
        "reason" : "[my_repository] path is not accessible on master node"
      }
    ],
    "type" : "repository_verification_exception",
    "reason" : "[my_repository] path is not accessible on master node",
    "caused_by" : {
      "type" : "i_o_exception",
      "reason" : "Unable to upload object [tests-IWo1RD5zQYuf4KYEw0nGsg/master.dat] using a single upload",
      "caused_by" : {
        "type" : "amazon_service_exception",
        "reason" : "Internal Server Error (Service: null; Status Code: 500; Error Code: null; Request ID: null)"
      }
    }
  },
  "status" : 500
}

```

We have checked the multiple questions which are already asked by other users in the forum but nothing is worked for us.
