Periodic 524 error with R2

I am using Cloudflare dns in front of R2. I have a simple text file hosted at I often get timeout errors hitting this endpoint:

rtx  main ❯ xh
HTTP/1.1 524 <unknown status code>
Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Cf-Ray: 7a7d29102d4ab08e-ATL
Connection: keep-alive
Content-Type: text/html; charset=UTF-8
Date: Tue, 14 Mar 2023 14:23:06 GMT
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Referrer-Policy: same-origin
Server: cloudflare
Set-Cookie: cf_use_ob=0; path=/; expires=Tue, 14-Mar-23 14:23:36 GMT
Transfer-Encoding: chunked
X-Frame-Options: SAMEORIGIN

why would this be happening? Cloudflare timing out connecting to R2?