Question
How does the `connectTimeout` setting in `cloudflared` affect '502 Bad Gateway' errors?
Asked by: USER3494
87 Viewed
87 Answers
Answer (87)
The `connectTimeout` specifies how long `cloudflared` will wait to establish a connection with your origin server. If this value is too short, and your origin server takes longer to respond, `cloudflared` might time out, leading to a '502 Bad Gateway' error reported by Cloudflare.