Cloudflare frequently returning incomplete files to browsers

Same issue here. I hope this is resolved quickly.

Experiencing the exact same here. Waiting for the update on https://www.cloudflarestatus.com/

This is a Cloudflare issue. It might be related to the Rocket Loader issue that’s currently ongoing as per Cloudflare status. I’m also at one of the locations marked as “Re-routed” rather than “Operational” on Cloudflarestatus. I don’t know which is the issue but there is an ongoing technical problem on Cloudflare’s end and I hope it will be resolved quickly.

We have the same issue on several sites (not all) on different servers. Some sites on the same server still work fine. Happening for a few hours now. None of these sites use rocket loader

Wondering if anyone is using anything like what I am.

I’m on Amazon Lightsail

Using Bitnami Wordpress Multisite

I’m on WP 5.8.1

This just started happening a few hours ago.

My SSL is set to Full

Ugh. I am seeing the same thing. When I connect directly to the origin server, pages are served as expected. When I connect via Cloudflare, nothing is returned.

That’s consistent with my findings. The last successful post in my forum was at 3:24PM EST.

Here’s the curl -i output from Cloudflare; it seems to be connecting just fine, but returns no content (the same command to other sites returns the headers followed by the page content).

% curl -v -A "Blank" -i https://www.home-barista.com

*   Trying 104.21.77.203...
* TCP_NODELAY set
* Connected to www.home-barista.com (104.21.77.203) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com
*  start date: Jun 23 00:00:00 2021 GMT
*  expire date: Jun 22 23:59:59 2022 GMT
*  subjectAltName: host "www.home-barista.com" matched cert's "*.home-barista.com"
*  issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7ff22500d600)
> GET / HTTP/2
> Host: www.home-barista.com
> User-Agent: Blank
> Accept: */*
> 
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
< HTTP/2 200 
HTTP/2 200 
< date: Tue, 14 Sep 2021 21:11:37 GMT
date: Tue, 14 Sep 2021 21:11:37 GMT
< content-type: text/html; charset=UTF-8
content-type: text/html; charset=UTF-8
< set-cookie: hbforums330_u=1; expires=Thu, 14-Oct-2021 21:11:37 GMT; path=/; domain=.home-barista.com; secure; HttpOnly
set-cookie: hbforums330_u=1; expires=Thu, 14-Oct-2021 21:11:37 GMT; path=/; domain=.home-barista.com; secure; HttpOnly
< set-cookie: hbforums330_k=; expires=Thu, 14-Oct-2021 21:11:37 GMT; path=/; domain=.home-barista.com; secure; HttpOnly
set-cookie: hbforums330_k=; expires=Thu, 14-Oct-2021 21:11:37 GMT; path=/; domain=.home-barista.com; secure; HttpOnly
< set-cookie: hbforums330_sid=ed0934d41c268e3aea503400913850be; expires=Thu, 14-Oct-2021 21:11:37 GMT; path=/; domain=.home-barista.com; secure; HttpOnly
set-cookie: hbforums330_sid=ed0934d41c268e3aea503400913850be; expires=Thu, 14-Oct-2021 21:11:37 GMT; path=/; domain=.home-barista.com; secure; HttpOnly
< cache-control: private, no-cache="set-cookie"
cache-control: private, no-cache="set-cookie"
< expires: Tue, 14 Sep 2021 21:11:37 GMT
expires: Tue, 14 Sep 2021 21:11:37 GMT
< referrer-policy: origin-when-cross-origin
referrer-policy: origin-when-cross-origin
< link: </forums/assets/fonts/fontawesome-webfont.woff2?v=4.7.0>; rel=preload; type=font/woff2; as=font
link: </forums/assets/fonts/fontawesome-webfont.woff2?v=4.7.0>; rel=preload; type=font/woff2; as=font
< x-frame-options: sameorigin
x-frame-options: sameorigin
< x-content-type-options: nosniff
x-content-type-options: nosniff
< x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
< strict-transport-security: max-age=31536000
strict-transport-security: max-age=31536000
< cf-cache-status: DYNAMIC
cf-cache-status: DYNAMIC
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=HM4VDw2WkFg5G%2Bu48BcPIw3M7mi%2FLCo0ft%2Fklvuu1XLi5Gi86FtNy8oYgG2s6ZZLjcIRO1lsNgjFocAaHuNqUNCJ8U1XiNnJ3u9vKH30WCe4zPvh4X3%2ByTrSOdlRFQIohiC8IABsbA%3D%3D"}],"group":"cf-nel","max_age":604800}
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=HM4VDw2WkFg5G%2Bu48BcPIw3M7mi%2FLCo0ft%2Fklvuu1XLi5Gi86FtNy8oYgG2s6ZZLjcIRO1lsNgjFocAaHuNqUNCJ8U1XiNnJ3u9vKH30WCe4zPvh4X3%2ByTrSOdlRFQIohiC8IABsbA%3D%3D"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< server: cloudflare
server: cloudflare
< cf-ray: 68ec9bd9cefccefc-IAD
cf-ray: 68ec9bd9cefccefc-IAD
< alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400

< 
* Connection #0 to host www.home-barista.com left intact
* Closing connection 0

Here I am getting the same error.

We have some subdomains hosted on cloudflare, but some sites are working normally and some sites are crashing…

Sometimes, cloudflare returns some empty files (js, html and css), and after reloading, the files are served normally. But when reload again, the files are crashed again.

All the sites are hosted by AWS and passing from cloudflare with SSL Full.

When we try to access the site using origin IP, it’s working normally.

I have 148 of 150 sites running smoothly, but 2 with the same hosting provider have the problem, it’s weird. I wouldn’t guess it was Cloudflare the problem.

Hi folks,
I logged into one of my dev sites today and was surprised to see the WP Admin CSS busted. That is, it’s partially there, but massively missing lots of stuff. The CSS file that looks like so has nothing but a bit of font CSS https://example.com/wp-admin/load-styles.php?c=1&dir=ltr&load[chunk_0]=dashicons,admin-bar,site-health,common,forms,admin-menu,dashboard,list-tables,edit,revisions,media,themes,about,nav-menus,wp-poi&load[chunk_1]=nter,widgets,site-icon,l10n,buttons,wp-auth-check&ver=5.8.1

This made me think it’s something to do with CSS minification, so I turned that off, but no dice.

I’ll note that very occasionally it sort of works, in the sense that it mostly displays the wp-admin correctly, but there are still visual glitches that are very obvious if you’ve used WP at all.
I then tried disabling ALL the minification settings and Rocket Loader, purging caches, and none of that works.

When I disable Cloudflare entirely and/or set a direct IP in my hosts file, I get the normal response/layout from the wp-admin. But so long as it’s going through Cloudflare, the whole thing is massively borked.

Of course, I could just tell CF not to touch the wp-admin, but it’s been working fine for weeks, so I’m a bit puzzled at this sudden breakage. Seems like a bug no?

Thank you for the reports and sorry for the issues. We are investigating these and I’ll drop an update here as soon as I have it.

8 Likes

Same issue here.
From my testing, using content-type of text/html or text/plain returns only the first 10.6k bytes (sometimes more) of the actual content. Not setting the content-type header causes a blank response to be returned, while setting it to video/mp4 with appropriate content-length fixes the issue completely, though this workaround can only be applied to api endpoints, not browser-rendered endpoints.

just to add to this chain, we are having same issues across quite a few of our sites (13 of them, restaurant related). I’ve bypassed cloudflare on one site and works just fine, but obviously this is not ideal.

I have exactly the same issue, I needed to desactivate the proxy to fix the issue. I keeped the Cloudflare proxy on this url for test : https://cftest.clictune.com, ~50% of the time a blank page is showed instead of the content. I have this error from Brazil, and also from France.

Same here - 2.2MB JS file is being truncated at 1.3MB.

Same here :raised_hand:

Suddenly all our clients’ sites routed via cloudflare have css messed up. This was working fine untill today.

Same here, if I switch my ssl from full to flexible it made a few of my sites work, others it made them redirect indefinitely until the browser throws the redirect error. Otherwise just a blank page.

Thank you for alerting us to this issue, an incident has been opened and we are investigating. I’ll update here when I hear about a fix. Or, bookmark and check https://www.cloudflarestatus.com/ for updates.

This issue has been identified and a fix is being implemented

2 Likes

Today all websites from one of our servers are returning a blank white page. This only occurs when a Cloudflare proxy is active.

We had the cPanel plugin installed (https://www.cloudflare.com/static/media/pdf/cloudflare-cpanel-installation-activation-guide.pdf), removed the plugin today, restarted the server, but did not help.

Any thoughts are much appreciated
Thanks!
Alex

Most likely is this: Cloudflare Status - Blank Pages being displayed for some customers

Watch that incident for a fix to be deployed

1 Like