Fix: Error 330 (ERR_CONTENT_DECODING_FAILED)

Sometimes, you open your website page in the Firefox browser and see the following error – 

Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. Please contact the website owners to inform them of this problem. 

In Google Chrome, you get the following error – 

Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.

Reason for Error 330 (ERR_CONTENT_DECODING_FAILED)

This error occurs when HTTP requests headers claim that content is gzip encoded while it is not. This error can be fixed by turning off gzip encoding in your browser (whichever you use). 

Other Possible Solutions

1. If you are a web developer and receive this error in your PHP pages, the solution is to turn on or off zlib.output_compression in php.ini. If your web content is encoded, turn it on or off. Just open your php.ini and find the zlib.output_compression line and turn it on or off and save the php.ini file.

        zlib.output_compression = On/Off

2. Try saving your codes with UTF8 format without BOM (Byte Order Mark).
Sometimes, codes written with Notepad++ or other coding tools use UTF8 encode, which also causes this error.

3. If you receive this error specifically on the Chrome browser, in that case, you can try upgrading Chrome to the latest version or reinstalling it.
If you are running Chrome extensions, try disabling them and accessing your webpage. If your web page works fine, enable them one by one. Thus, you can determine the culprit extension and disable it.

4. If you have enabled Privoxy proxy in Chrome, check out the fix suggested here.

5. If you have installed any antivirus software on your local computer, try turning it off for a while and reloading the page on which you are facing the problem; thus, you will be able to identify if antivirus is causing the problem.


Was this answer helpful?

« Back

chat

/* */