contour: Unable to change connect_timeout in Envoy config

What steps did you take and what happened: Running into the Envoy issue reported here

Based on this comment, I’d like to update the connect_timeout setting in the envoy.json config file. However, due to the way Contour bootstraps Envoy, this isn’t easily configurable.

There is another issue open pertaining to Envoy defaults here that would have the default increased to 15 seconds from 250ms.

There’s also another issue pertaining to the configurability of these knobs here.

Environment:

  • Contour version: 1.1.0
  • Kubernetes version: (use kubectl version): 1.17.2
  • Kubernetes installer & version: kubeadm
  • Cloud provider or hardware configuration: GCP
  • OS (e.g. from /etc/os-release): Ubuntu 18.04

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 39 (27 by maintainers)

Commits related to this issue

Most upvoted comments

Configuring the connect timeout sounds totally reasonable to me.

There’s 2 places:

  • Global connect timeout in the config file
  • per-route timeout for HTTPProxy in TimeoutPolicy

@krisdock i didn’t see any details above as to why this failed in this specific customer environemt. are there general networking delays? does this fail every time?

@michmike yes, they’re running into a scenario where the handshake appears to be taking longer than the current timeout. it fails every time.