Consul canceling request from Traefik with "context canceled" during cert exchange

Hi there, I’m using Traefik which builds its configuration dynamically using Consul Catalog. Upon Traefik startup, it takes >5 minutes for Traefik to retrieve its configuration from Consul. Looking in Traefik logs, it looks like it’s having issues fetching the Connect certificate from Consul

level=info msg="Waiting for Connect certificate before building first configuration" providerName=consulcatalog

while it appears Consul seems to be canceling the request

consul[458]: agent.http: Request cancelled: method=GET url=/v1/agent/connect/ca/roots?index=9 from=10.128.0.34:38606 error="context canceled"
consul[458]: agent.http: Request cancelled: method=GET url=/v1/agent/connect/ca/leaf/traefik?index=111619 from=10.128.0.34:38604 error="context canceled"

I am on Consul v1.12.0. How can I debug what’s causing Consul to be canceling the request like this? Thanks

Upgrading to Consul v1.12.2 seems to have fixed the issue