Ajax call calls net :: ERR_INCOMPLETE_CHUNKED_ENCODING

I experience the net::ERR_INCOMPLETE_CHUNKED_ENCODING in Chrome by accident when Ajax calls are made inside the application. For instance:

 $.get('https://mydomain/myapi/getAll') Object {readyState: 1, getResponseHeader: function, getAllResponseHeaders: function, setRequestHeader: function, overrideMimeType: function…} jquery.js:8625 GET https://mydomain/myapi/getAllnet::ERR_INCOMPLETE_CHUNKED_ENCODING 

The back-end returning JSON data uses PHP (5.3.9) with Apache (2.2.29).

These are the response headers:

 Cache-Control:no-cache, must-revalidate Connection:Keep-Alive Content-Type:text/html Date:Thu, 30 Apr 2015 14:25:49 GMT Expires:Sat, 26 Jul 1997 05:00:00 GMT Keep-Alive:timeout=5, max=100 Last-Modified:Thu, 30 Apr 2015 14:25:50 GMT Pragma:no-cache Server:Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/0.9.8e-fips-rhel5 Transfer-Encoding:chunked 

and the only unusual thing I can find in the htaccess configuration is

 SetOutputFilter DEFLATE 

I don't have access to background content, but I have to guess what really causes the problems here. The same application works without any problems in the WAMP environment, if that means anything. What is most likely to cause this error?

+5
source share
1 answer

I suggest you work with your network administrator and check everything between the server and its users. It could be anything:

 Anti-virus Firewall Browser addons 

or anything else that is configured on the network.

For me, the problem was caused by the real-time protection feature on my antivirus. Since the problem was only with me and with someone else, I thought that this should be a problem with the client. In my attempt to solve this problem, I disabled my extensions, cleared the Chroms cache, and looked at the affected server in incognito mode. I even changed my network card. However, I kept getting the error "ERR_INCOMPLETE_CHUNKED_ENCODING".

Finally, when I was about to give up, I decided to disable real-time protection on my antivirus.

-1
source

All Articles