Raise consul nginx proxy_read_timeout to 360s #582
Reference in New Issue
Block a user
Delete Branch "benvin/consul-nginx-read-timeout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
OpenTofu's consul backend holds its state lock via blocking KV GETs that use consul's default 5m wait (plus up to wait/16 jitter). The consul.service.consul proxy uses the nginx module's 90s proxy_read_timeout, so nginx 504s the long-poll and the lock is lost mid-apply.