# Upstream request timeout on consul connect(envoy) with helm chart

**URL:** <https://discuss.hashicorp.com/t/upstream-request-timeout-on-consul-connect-envoy-with-helm-chart/35217>\
**Category:** Consul\
**Created:** [February 3, 2022, 5:52pm UTC](https://discuss.hashicorp.com/t/upstream-request-timeout-on-consul-connect-envoy-with-helm-chart/35217 "2022-02-03T17:52:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sesakki](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/sesakki/32/25688_2.png) [@sesakki](https://discuss.hashicorp.com/u/sesakki)\
**Post date:** [February 3, 2022, 5:52pm UTC](https://discuss.hashicorp.com/t/upstream-request-timeout-on-consul-connect-envoy-with-helm-chart/35217/1 "2022-02-03T17:52:50Z")

</div>

Hi,  
I’m having issue with upstream on consul connect from nginx(frontend) to service.

I did set proxy defaults with vaule

```auto
apiVersion: consul.hashicorp.com/v1alpha1
kind: ProxyDefaults
metadata:
  name: global
spec:
  config:
    local_connect_timeout_ms: 1000000
    handshake_timeout_ms: 1000000
    local_request_timeout_ms: 1000000

```

I did add upstream config in service defaults

```auto
apiVersion: consul.hashicorp.com/v1alpha1
kind: ServiceDefaults
metadata:
  name: web
spec:
  protocol: "http"
  transparentProxy:
    dialedDirectly: true
  upstreamConfig:
    defaults:
      connectTimeoutMs: 1000000
      limits:
        maxConnections: 10
      passiveHealthCheck:
        interval: 3s
        maxFailures: 5

```

is there a way to change default envoy connect timeout?

helm chart configuration are

```auto
global:
  name: consul
  datacenter: dc1
  tls:
    enabled: false
    enableAutoEncrypt: false
    verify: false
server:
  replicas: 1
client:
  enabled: true
controller:
  enabled: true
  default: true
syncCatalog:
  enabled: true
  toConsul: true
  toK8S: true
  default: true
connectInject:
  enabled: true
  default: false
ui:
  enabled: true
  service:
    enabled: true
    type: ClusterIP

```

How to increase upstream timeout

---

<div class="post-metadata">

**Author:** ![rommellll](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/rommellll/32/34092_2.png) [@rommellll](https://discuss.hashicorp.com/u/rommellll)\
**Post date:** [March 24, 2023, 2:33am UTC](https://discuss.hashicorp.com/t/upstream-request-timeout-on-consul-connect-envoy-with-helm-chart/35217/2 "2023-03-24T02:33:50Z")

</div>

Hi @sesakki , did you solve it? Can you share what is the fix?
