7 Ways to Fix ERR_CONTENT_DECODING_FAILED

Disable the Gzip encoding if you encounter this issue

Reading time icon 6 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • Clear your browser data occasionally to prevent corrupted cookies and cache from accumulating, which can lead to errors. 
  • Firewall restrictions can prevent your PC from connecting to certain websites, especially if the port is blocked.
  • If you’re disabling your firewall, ensure it’s temporary, and you enable it after resolving the error so your PC doesn’t become vulnerable to attacks.
ERR_CONTENT_DECODING_FAILED

ERR_CONTENT_DECODING_FAILED is a common browser error that usually pops up while attempting to load a particular website or migrate to a new server. The error prevents you from accessing the web page’s contents and persists even after refreshing the page. 

If you’re currently facing the ERR_CONTENT_DECODING_FAILED error, this article will briefly discuss some of the most common reasons triggering the error and offer solutions you can apply to fix the error. 

What causes ERR_CONTENT_DECODING_FAILED?

  • Browser Cookies/Cache –  Cookies and Caches can get corrupted over time and then conflict with the normal operations of the browser.
  • VPN Software – You utilize VPN software to help increase internet security and bypass geolocation blocks. However, a proxy or a VPN can trigger problems during the decoding and prevent the web page from loading properly. 
  • DNS Configuration – Over time, the stored DNS will become corrupted and interfere with the browser’s normal operations. 
  • False Encoding – In some cases, the HTTP header might claim that the content of a web page is gzip encoded when it is not. This can lead to conflicts during the decoding process and further trigger errors like the ERR_CONTENT_DECODING_FAILED.
  • Firewall Restrictions – The firewall might sometimes block an essential Windows feature (e.g., port), leading to errors while decoding a webpage. 

How can I fix ERR_CONTENT_DECODING_FAILED?

1. Disable Gzip encoding

  1. Press the Windows key, type Chrome in the search bar, and hit Enter.
  2. In the browser window, navigate to this page on the Chrome Web Store. Click the Add to Chrome button and select Add Extension. 
  3. Press Ctrl + T to open a new tab, and click the Extension icon at the window’s top right corner.
  4. Click the blank space under the Request Header and type in the following command: accept-encoding
  5. Type the following command in the Value section: gzip;q=0,deflate;q=0
  6. This will disable the G-zip encoding, refresh the page, and check if the error persists. 

G-Zip encoding is an essential browser feature but can lead to problems while decoding a webpage.

Most browsers don’t offer the level of customization needed to disable this feature. Instead, you’ll need to download and install a third-party extension to help you resolve the error.

2. Clear Browser Cookies and Cache

  1. Launch the Chrome browser, click on the three vertical dots at the top-right corner of the window, and select Settings. 
  2. In the next window, click on Privacy and Security on the left pane, and select Clear Browsing data on the right pane.
  3. In the popup window, check the boxes next to Browsing History, Cookies, and Cache data, and click Clear Data. 
  4. Wait until the data is cleared, exit the Browser, and check if the error is fixed. 

The Browser cookies and cache are excellent browser functionalities that can personalize your browsing experience and make you surf websites faster.

However, if the data gets corrupted, it can lead to browser errors. Clearing the browser data is one of the best ways to resolve the ERR_CONTENT_DECODING_FAILED error. 

3. Disable proxy or VPN software

  1. Press the Windows key + I to open the Settings app. 
  2. Click on Network and Internet option and select Proxy from the left pane. 
  3. Click the Use a Proxy toggle button to turn off the feature. 
  4. Close the Settings app and check if the error persists. 

If your internet connection is facilitated by a Proxy or VPN, it might affect your connection to some sites, and the decoding process might not run smoothly. In such cases, you must disable the Proxy or your VPN software to fix the decoding error. 

4. Flush the Socket Pools 

  1. Launch the Chrome browser using the steps above.
  2. In the search bar, enter the following command and press Enter: chrome://net-internals
  3. In the next window, click on the Sockets option in the left pane and select the Flush Socket Pools option, and check to see if the error persists. 

Similar to your DNS, the Socket Pools stored by the browser can also be corrupted. If this happens, you must flush the socket pools to fix the ERR_CONTENT_DECODING_FAILED error.  

5. Reset Winsock 

  1. Press the Windows key, type cmd, and select Run as Administrator.
  2. In the command prompt window, type the following and press Enter: netsh Winsock reset
  3. Close the command prompt and restart your PC.

Over time, stored network configurations on your PC can get corrupted. This can prevent your PC from connecting to specific services.

By running the netsh command, you can restore these configurations to their default state and fix the ERR_CONTENT_DECODING_FAILED error. 

6. Flush your DNS

  1. Press the Windows key, type cmd, and select Run as Administrator.
  2. In the Command Prompt window, type in the following command and hit Enter: ipconfig /flushdns
  3. Wait for the process to be completed and check if the error persists. 

If the DNS configuration is corrupted, it can lead to several connection errors. In this case, flushing the DNS is the best way to resolve the error. 

7. Disable Firewall 

  1. Press the Windows key, type Control Panel in the search bar, and hit Enter.
  2. In the Control Panel, click on the System Security tab and select Windows Defender Firewall. 
  3. In the next window, click the Turn Windows Firewall On or Off on the left pane.
  4. Then, click Turn off Windows Firewall (not recommended) under the Public Network Settings section.
  5. Click OK to confirm your changes and exit the Control Panel.

The Firewall is a critical Windows component that protects your PC from unknown connections. If the Firewall detects an anomaly in your browser, it can prevent it from accessing certain websites. You can temporarily disable the feature to check if it can fix the error. 

The ERR_CONTENT_DECODING_FAILED error is a typical browser error that occurs when attempting to access some sites. It can be primarily attributed to corrupt browser data and connection issues.

Resolving the error is pretty straightforward. If you follow the steps outlined in this guide, you should be able to get your browser up and running quickly. 

More about the topics: Browser errors