Get net::ERR_CONTENT_DECODING_FAILED 200 (OK), start from yesterday our JS sometimes got this error
we put our JS on R2, and our domain using CF.
Brotli already enabled.
Can someone help me
2 Replies
Same here. The error is random.
From what I see this error is always for cached content.
Cf-Cache-Status: HIT
And Content-Encoding: gzip
in response headers.
And in our case it's also somehow related to r2 as original content is on r2
Reproduced even without cache:
on r2 this image gives error
https://pub-f0eceff175764d6daad6785b769f727b.r2.dev/stars_zoWSu63q603uN2jJgPjzJ.svg
and this is not
https://pub-f0eceff175764d6daad6785b769f727b.r2.dev/WS-logo-white_YEQ0Xbj7_5v5mHD2F_nt4.svg
Also seems like all broken files has following metadata on r2
And all non broken has
just Filename in the metadata
The fix is to replace metadata
But we have sooo many files that I'm not sure we can do thatHi there, this is Kiki from Cloudflare.
Sorry for this issue.
We have a status page up now: https://www.cloudflarestatus.com/incidents/nzvw74126fp8
please follow up in status page for further updates.