Unexpected Download Timeouts with Traefik, Consul, and Nomad

Hi everyone,

In our infrastructure, we use:

  • Traefik as a reverse proxy,

  • Nomad as the orchestrator,

  • Consul for service discovery.

We encountered an issue where downloads from a GitLab container (including docker pull) would terminate abruptly after ~16 seconds. After extensive testing, we found that setting traefik.consulcatalog.connect=false resolved the issue.

Question: Out of curiosity, does anyone know why enabling consulcatalog.connect would cause such a traffic limitation? Is this a known behavior, or could it be related to Envoy’s default timeouts, buffer sizes, or connection handling in Consul Connect?

Thanks for any insights!