# Dremio S3 ignores nonProxyHosts settings

**URL:** <https://community.dremio.com/t/dremio-s3-ignores-nonproxyhosts-settings/10515>\
**Category:** Uncategorized\
**Created:** [April 13, 2023, 9:44am UTC](https://community.dremio.com/t/dremio-s3-ignores-nonproxyhosts-settings/10515 "2023-04-13T09:44:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakobkolb](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/jakobkolb/32/4867_2.png) [@jakobkolb](https://community.dremio.com/u/jakobkolb)\
**Post date:** [April 13, 2023, 9:44am UTC](https://community.dremio.com/t/dremio-s3-ignores-nonproxyhosts-settings/10515/1 "2023-04-13T09:44:17Z")

</div>

Hi there,

TLDR: Dremio S3 ignores `-Dhttp.nonProxyHosts` and `-Dhttps.nonProxyHosts` start parameters. How to fix this?

I have the following problem:  
I am deploying Dremio on an on premise Kubernetes cluster that is located behind a forward proxy/company firewall.  
I set up the proxy settings via

```yaml
  extraStartParams: >-
    -Dhttp.proxyHost=proxy.hostname
    -Dhttp.proxyPort=8080
    -Dhttps.proxyHost=proxy.hostname
    -Dhttps.proxyPort=8080
    -Dhttp.nonProxyHosts=on.premise.storage.hostname|*.cluster.local|localhost
    -Dhttps.nonProxyHosts=on.premise.storage.hostname|*.cluster.local|localhost

```

and with distributed storage on aws S3 which works fine.

However, we have to work with on premise object storage (Minio) located at `https://on.premise.storage.hostname:9020` on the internal network, which the forward proxy does not resolve.  
Usually, I would expect, that setting `nonProxyHosts` for the Java runtime would take care of resolving requests to that hostname internally, however, the S3 plugin does not respect these settings and uses the given proxy instead, hence cant find the storage endpoint.

I’d be happy for any advice on how to resolve this.

Thanks!

---

<div class="post-metadata">

**Author:** ![danh](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/danh/32/4654_2.png) [@danh](https://community.dremio.com/u/danh)\
**Post date:** [April 14, 2023, 2:58pm UTC](https://community.dremio.com/t/dremio-s3-ignores-nonproxyhosts-settings/10515/2 "2023-04-14T14:58:00Z")

</div>

Hey there–

This is new to me so apologies if my advice doesn’t solve this. I found another person here that is trying to work with similar settings. Have you attempted to set the proxy settings with the DREMIO\_JAVA\_EXTRA\_OPTS setting in the dremio-env file in your conf folder?

[How to connect Dremio with GCS storage using proxy - #7 by Pawel](https://community.dremio.com/t/how-to-connect-dremio-with-gcs-storage-using-proxy/10200/7) has an example.

Dan
