Ivan Starkov
CDCloudflare Developers
•Created by Ivan Starkov on 5/16/2024 in #r2
Issue: net::ERR_CONTENT_DECODING_FAILED
4 replies
CDCloudflare Developers
•Created by Ivan Starkov on 5/16/2024 in #r2
Issue: net::ERR_CONTENT_DECODING_FAILED
Probably this flag https://developers.cloudflare.com/workers/platform/changelog/#2024-04-03 brotli_content_encoding is now default
4 replies
CDCloudflare Developers
•Created by Ivan Starkov on 5/16/2024 in #r2
Issue: net::ERR_CONTENT_DECODING_FAILED
Not sure 100% but seems like changing workers compatibility date
"2023-05-01" => "2024-05-16" solved the proxying of such files.
So worker with code
now has no issues
At least I can't reproduce for a long time. (before this error after worker was also random enough so hard to say does compatibility flag solved anything)
4 replies
CDCloudflare Developers
•Created by Ivan Starkov on 5/16/2024 in #r2
Issue: net::ERR_CONTENT_DECODING_FAILED
Using following
Seems like solves the issue
BUUUT we have enormous amount of such files, we are saas service and solution above is hard for us to do fast
4 replies
CDCloudflare Developers
•Created by SUPENOI on 5/16/2024 in #general-help
Get net::ERR_CONTENT_DECODING_FAILED 200 (OK), start from yesterday our JS sometimes got this error
But we have sooo many files that I'm not sure we can do that
8 replies
CDCloudflare Developers
•Created by SUPENOI on 5/16/2024 in #general-help
Get net::ERR_CONTENT_DECODING_FAILED 200 (OK), start from yesterday our JS sometimes got this error
The fix is to replace metadata
8 replies
CDCloudflare Developers
•Created by SUPENOI on 5/16/2024 in #general-help
Get net::ERR_CONTENT_DECODING_FAILED 200 (OK), start from yesterday our JS sometimes got this error
Also seems like all broken files has following metadata on r2
And all non broken has
just Filename in the metadata
8 replies