How To Fix Error 330 Net Err_content_decoding_failed Unknown Error
Contents |
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
just copied it and it worked - it's a good sign. This time it wasn't the case. After going through all err_content_decoding_failed codeigniter the initial steps, it looked like it should work, but instead err_content_decoding_failed iis of usual runtime errors this PHP application, running on Apache 2.4.9 & PHP 5.5.12, started showing this: ERR_CONTENT_DECODING_FAILED Error
Facebook Err_content_decoding_failed
330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error. Google Chrome's Developer tools -> Network looked empty for quite some time, but after a really long wait here is what I've got: https://productforums.google.com/d/topic/chrome/vxIgSHj3CGg Quick googling explains that this error is shown when HTTP response headers claim that the content is gzip encoded, but it isn't. Other sources say that this may happen when plain-text content is added before/after encoded content. So proposed solution is to disable content compression. There are different examples, it mostly involve writing something like SetEnv http://stefantsov.com/fixing-err_content_decoding_failed-in-apachephp/ force-no-vary SetEnv downgrade-1.0 12 SetEnv force-no-varySetEnv downgrade-1.0 or SetEnv no-gzip 1 1 SetEnv no-gzip 1 to your .htaccess file. I was still getting same error, it made no difference for me. What helped Adding zlib.output_compression = On to php.ini helped me. Issue was solved. Likely source of issue I am not certain where and how compression was forced to be enabled (this is a big black box legacy PHP sources), but I have noticed it only throws this ERR_CONTENT_DECODING_FAILED exception when there are debug errors on the page. Literally, setting display_errors = Off in php.ini fixes the issue as well. In my case it was some E_STRICT messages, so setting error_reporting = E_ALL & ~E_STRICT there to disable displaying E_STRICT errors works too. Now when this behavior doesn't look like some random magic, I feel like I'm in control again, therefore I may sleep well. It works. apache compression php php.ini Post navigation Previous Previous post: Welcome The Great Russian FirewallNext Next post: Tools ©1985-2016 Made and maintained wi
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or http://superuser.com/questions/172951/chrome-error-330-neterr-content-decoding-failed/291707 posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Chrome Error 330 (net::ERR_CONTENT_DECODING_FAILED) [closed] up vote 9 down vote favorite 4 When I enter the page: http://connect.facebook.net/en_US/all.js I am getting Error how to 330 (net::ERR_CONTENT_DECODING_FAILED). But when I try to use FF, it works. BTW, the facebook social widgets (which load this file) is not working on Chrome. I have the latest version. What is wrong ? Thank you. google-chrome share|improve this question asked Aug 6 '10 at 20:30 Gabriel Bianconi 156113 closed as too localized by random♦ Apr 30 '13 at 16:29 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in how to fix time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question. BTW, it works on Chromes from other PCs. And I'm using Win7 Ultimate 64 bits. –Gabriel Bianconi Aug 6 '10 at 20:35 add a comment| 6 Answers 6 active oldest votes up vote 19 down vote This can happen when an HTTP request's headers claim that the content is gzip encoded, but it isn't. This happened to me just now on Wordpress where I had WP Super Cache's gzip compression enabled. Normally it worked fine, but when I dumped some content out before the page was properly generated, it screwed up the compression. Resolution if you're the web developer: turn off gzip encoding or make sure the content is in fact encoded. share|improve this answer answered Jun 1 '11 at 20:36 Scott C 29626 2 +1 for this as an explanation- I've run into this problem w/ Amazon cloudfront + s3 with Django 1.4 when AWS_IS_GZIPPED was set to True in application configuration. –Jay Taylor Sep 17 '12 at 20:20 I have oscommerce setup. Turning off gzip solved the issue. Was wondering how ideally I could enable real gzip encoding for the website instead. Must be configurable from htaccess or PHP –Saurabh Ku