title: Ajax GET results by an "ERR_INCOMPLETE_CHUNKED_ENCODING" and "XMLHttpRequest: Network Error 0x800c0007" suddenly
body: <p>My client has the following topology:</p>
  
  <pre><code>User &lt;--&gt; Apache &lt;--&gt; TomCat &lt;--&gt; JBossAS7 &lt;--&gt; Mule
  </code></pre>
  
  <p>The Mule needs to communicate with another server, <b>on another domain</b>, to retrieve information ask by the user. This communication uses HTTPS, and the certificate is in the trustore of the Mule. Therefore, the Mule and the other server are able to create an SSL connection. </p>
  
  <p>This is the ajax request used to perform what the user wants: </p>
  
  <pre><code>$.ajax({
  url : DS.nav.importDS,
  data : data,
  type : "GET",
  cache : false,
  success : function(html)
  {
     //do some stuff
  },
  error:function (error)
  {
      //do some stuff
  }});
  </code></pre>
  
  <p>(jquery version: 1.7.1)</p>
  
  <p>About the Response Headers:</p>
  
  <ul>
  <li>Cache-Control: max-age=0, no-cache, no-store, must-revalidate</li>
  <li>Cache-Control: no-cache</li>
  <li>Connection: Keep-Alive</li>
  <li>Content-Type: text/html;charset=UTF-8</li>
  <li>Keep-Alive: timeout=5, max=100</li>
  </ul>
  
  <p>This GET request returns an HTML content.</p>
  
  <p>My problem is the following: </p>
  
  <p>This request stop working without warning. 
  On <b>Chrome</b> (version used: 65.0.3325.162), after several minutes I have the following error message in the console: "ERR_INCOMPLETE_CHUNKED_ENCODING.". There is no link with a real time protection antivirus.</p>
  
  <p>On <b>Edge</b>,  "XMLHttpRequest: Network Error 0x800c0007, No data is available for the requested resource".</p>
  
  <p>BUT, it's working on IE. What I suppose is that IE is more permissive than Chrome or Edge. But I want to understand why. </p>
  
  <p>I am not looking for the perfect answer, but for any idea which can put me on the trail on what's happening. </p>
  
  <p><b>EDIT</b></p>
  
  <p>On Chrome
   - Status Code: 200 OK
   - Timing: CAUTION: request is not finished yet! (after content download)</p>
  
  <p><b>EDIT</b>
  By using chrome://net-export tool, this is the result of the HTTP request: </p>
  
  <pre><code>t=203357 [st=  2948]        HTTP_TRANSACTION_READ_RESPONSE_HEADERS
                          --&gt; HTTP/1.1 200 OK
                              Date: Fri, 23 Mar 2018 14:44:16 GMT
                              Server: Apache-Coyote/1.1
                              X-Frame-Options: SAMEORIGIN
                              Cache-Control: max-age=0, no-cache, no-store, must-revalidate
                              Pragma: no-cache
                              Expires: Sat, 26 Jul 1997 05:00:00 GMT
                              X-Frame-Options: SAMEORIGIN
                              X-UA-Compatible: IE=9,chrome=1
                              Content-Type: text/html;charset=UTF-8
                              Content-Language: en
                              Keep-Alive: timeout=5, max=98
                              Connection: Keep-Alive
                              Cache-Control: no-cache
                              X-Via-NSCOPI: 1.0
                              Transfer-Encoding: chunked
  t=203357 [st=  2948]     -HTTP_TRANSACTION_READ_HEADERS
  t=203357 [st=  2948]      HTTP_CACHE_WRITE_INFO  [dt=0]
  t=203357 [st=  2948]     +URL_REQUEST_DELEGATE  [dt=4]
  t=203358 [st=  2949]        DELEGATE_INFO  [dt=3]
                          --&gt; delegate_blocked_by = "extension ModHeader"
  t=203361 [st=  2952]     -URL_REQUEST_DELEGATE
  t=203361 [st=  2952]   -URL_REQUEST_START_JOB
  t=203361 [st=  2952]    URL_REQUEST_DELEGATE  [dt=1]
  t=203362 [st=  2953]    HTTP_TRANSACTION_READ_BODY  [dt=0]
  t=203362 [st=  2953]    URL_REQUEST_JOB_FILTERED_BYTES_READ
                      --&gt; byte_count = 12971
  t=203363 [st=  2954]    HTTP_TRANSACTION_READ_BODY  [dt=313130]
                      --&gt; net_error = -355 (ERR_INCOMPLETE_CHUNKED_ENCODING)
  t=516493 [st=316084]    FAILED
                      --&gt; net_error = -355 (ERR_INCOMPLETE_CHUNKED_ENCODING)
  t=516495 [st=316086] -REQUEST_ALIVE
                    --&gt; net_error = -355 (ERR_INCOMPLETE_CHUNKED_ENCODING)
  </code></pre>
  
  <p><b>UPDATE</b></p>
  
  <p>I've disabled javascript, and type my request directly in the URL and the result has been displayed but the page is still loading during 5 minutes. </p>