Cloudflare: HTTPS git clone might cause 524
According to Wikipedia, HTTP 524 is a Cloudflare specific code indicating a HTTP timeout from the origin server.
Observed while cloning https://staging.gitlab.com/T4cC0re/test.git
Acceptance Criteria:
-
Get stats on https clone request durations for a day from current stack - what is average clone time? What percentage of clones are above the timeout threshold? -
Understand how Cloudflare's 524 config will affect git clones - talk with our support rep about if the 524 timeout is time to first byte or total time of request - eg will a clone fail mid flight? -
Change the 524 setting if possible. -
Look into mitigations - can we use page rules with *.git as a work around?
Edited by Dave Smith