Troubleshooting guide
ERR_CONTENT_DECODING_FAILED: how to fix it
The server said the response was compressed (gzip or Brotli) but the browser could not decompress it. The page is broken for everyone using that browser.
3 min read10 sectionsUpdated
On this page
Fixes if it is your site
Compress in one place only (usually the web server or CDN). Check what is actually sent with and without accepting compression, and purge CDN caches after fixing.
curl -s -H "Accept-Encoding: gzip" -D - -o body.gz https://example.com | grep -i content-encoding
file body.gz # should say gzip compressed data
gunzip -t body.gz && echo OKIs it your device, your network or the site?
Work outward in three quick tests. First, open the same address on another device on the same network: if it fails there too, your device is not the cause. Second, switch that device to another network, such as mobile data: if it now works, the problem is your Wi-Fi, router, DNS or a filter on that network. Third, check the site from outside with an independent checker: if it fails from there as well, the site itself is down and only its owner can fix it. Write down the exact error code at each step; support teams can act on ERR_... codes far faster than on "it does not load".
How site owners catch this before visitors do
Most visitors who hit ERR_CONTENT_DECODING_FAILED leave without telling you. An uptime check every minute, with a keyword assertion on the page and an SSL check on every run, turns this from a support ticket into an alert. Keep the history: errors that come and go (one region, one server behind a load balancer, one in twenty requests) only make sense on a timeline. Put the result on a status page so people stop guessing. You can test any address now with the free website down checker.
Is it a browser bug?
Almost never; the server sent a body that does not match its headers.
Can a CDN cause it?
Yes, by compressing an already compressed response or caching a broken one.
How do I enable compression correctly?
Pick one layer; see enabling Brotli compression.
Related reading
- ERR_QUIC_PROTOCOL_ERROR: how to fix it: Fix ERR_QUIC_PROTOCOL_ERROR: HTTP/3 over QUIC blocked by firewalls, proxies or antivirus, broken UDP paths, and server and CDN configuration fixes.
- ERR_TUNNEL_CONNECTION_FAILED: how to fix it: Fix ERR_TUNNEL_CONNECTION_FAILED: proxy servers refusing HTTPS tunnels, wrong proxy settings, VPN apps and corporate filters, step by step.
- ERR_HTTP2_PROTOCOL_ERROR: causes and how to fix it: Fix ERR_HTTP2_PROTOCOL_ERROR in Chrome: invalid response headers, crashed backends behind HTTP/2 proxies, buffer limits and antivirus interference.
- ERR_ADDRESS_UNREACHABLE: how to fix it: Fix ERR_ADDRESS_UNREACHABLE: no route to the server, wrong IP in DNS, IPv6 problems, private addresses and firewalls, for visitors and server owners.
- ERR_INTERNET_DISCONNECTED: how to fix it: Fix ERR_INTERNET_DISCONNECTED in Chrome: reconnect Wi-Fi, check the router, disable proxies and VPNs, reset network settings, and when apps say offline.
- ERR_BAD_SSL_CLIENT_AUTH_CERT: how to fix it: Fix ERR_BAD_SSL_CLIENT_AUTH_CERT: client certificates that are expired, untrusted or not selected, mutual TLS settings and corporate device certificates.
Watch your own site and services with VitalRix
Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.