title: IE11 HTTPS AJAX XMLHttpRequest: Network Error 0x2eff, Could not complete the operation due to error 00002eff
body: <p>I have an ajax POST request that can take anywhere between 2 seconds to 30+ minutes. The post request occurs as a result of button click</p>
  
  <p>If the request takes less than a minute or two, it comes back with a response and everything works fine. However if the request takes longer than two minutes it comes back with "Network error: XMLHttpRequest: Network Error 0x2eff, Could not complete the operation due to error 00002eff".</p>
  
  <p>Ofcourse, it works fine Firefox and Chrome. </p>
  
  <p>The application is deployed on a JBoss server with SSL enabled. The architecture here is that we have a load balancer that routes the request to two Jboss servers.</p>
  
  <p>Internet Explorer </p>
  
  <p>Version: 11.0.9600.180971C
  Update: 11.0.25</p>
  
  <p><strong>I have tried the following but in vain</strong></p>
  
  <p>1) ajax set cache to false - did not work<br/><br/>
  2) Changed registry settings as per <a href="https://support.microsoft.com/en-us/kb/813827" rel="noreferrer">https://support.microsoft.com/en-us/kb/813827</a> - did not work, here is where it gets confusing, thissuggests it is not an IE thing, but at the same time this works on chrome and ff so its not a server thing too<br/><br/>
  3) Set ajax timeout to 0 - did not work
  4) Added e.preventDefault after  $('#mdlSgn').click(function() { as per <a href="https://stackoverflow.com/questions/7577275/jquery-ajax-requests-are-getting-cancelled-without-being-sent">jQuery Ajax requests are getting cancelled without being sent</a></p>
  
  <pre><code>$('#mdlSgn').click(function() {
      $('#cnfdsgl').modal('hide');
  
       $.ajax({
          url: ajaxUrl,
          type: "POST",
          data: JSON.stringify(input),
          contentType: "application/json; charset=UTF-8",
          dataType: "json",
          success: function(data) {
               /// some logic
  
  
          },
          error : function(jqXhr, textStatus, errorThrown) {
              /// some logic
          }
      });
  
   //some other logic
  }); 
  </code></pre>