# Connecting Dremio to an S3 bucket

**URL:** <https://community.dremio.com/t/connecting-dremio-to-an-s3-bucket/5358>\
**Category:** Uncategorized\
**Created:** [April 9, 2020, 9:39am UTC](https://community.dremio.com/t/connecting-dremio-to-an-s3-bucket/5358 "2020-04-09T09:39:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianmposi](https://avatars.discourse-cdn.com/v4/letter/b/5e9695/32.png) [@brianmposi](https://community.dremio.com/u/brianmposi)\
**Post date:** [April 9, 2020, 9:39am UTC](https://community.dremio.com/t/connecting-dremio-to-an-s3-bucket/5358/1 "2020-04-09T09:39:30Z")

</div>

Hi all,

I’ve been trying to add an S3 source from my aws dremio stack, i get this error after opening my bucket:

No AWS Credentials provided by STSCredentialProviderV1 : com.amazonaws.SdkClientException: Unable to execute HTTP request: Connect to [sts.amazonaws.com:80](http://sts.amazonaws.com:80) [[sts.amazonaws.com/54.239.21.217](http://sts.amazonaws.com/54.239.21.217)] failed: Connection refused (Connection refused)

Can you assist?

---

<div class="post-metadata">

**Author:** ![ben](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/ben/32/1367_2.png) [@ben](https://community.dremio.com/u/ben)\
**Post date:** [April 9, 2020, 4:15pm UTC](https://community.dremio.com/t/connecting-dremio-to-an-s3-bucket/5358/2 "2020-04-09T16:15:39Z")

</div>

Have you tried encrypting the connection by checking “Encrypt connection”?

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [April 10, 2020, 5:53am UTC](https://community.dremio.com/t/connecting-dremio-to-an-s3-bucket/5358/3 "2020-04-10T05:53:53Z")

</div>

@brianmposi

Can you click on advanced options and try to check “Enable compatibility mode (experimental)” and see if it works

Thanks  
@balaji.ramaswamy
