IE10/11 Ajax XHR error - SCRIPT7002: XMLHttpRequest: Network Error 0x2ef3

前端 未结 10 1460
走了就别回头了
走了就别回头了 2020-11-30 03:56

I\'ve been working on this problem for a few days and reaching out on this forum since I feel like I\'ve exhausted my options. I have a form hosted on a Drupal 7 website an

10条回答
  •  粉色の甜心
    2020-11-30 04:13

    I was seeing this error randomly with IE 8+9+10+11 Ajax calls. All other browsers did not have the problem.

    It suppose there was a race-condition between KeepAlive connections. I am using Apache 2.4.7.

    With the Apache 2 default settings in /etc/apache2/apache2.conf I was able to reproduce the error about every tenth Ajax call:

    KeepAlive On
    KeepAliveTimeout 5
    

    Solution: Either setting

    KeepAlive off
    

    or

    KeepAliveTimeout 1
    

    solved the problem for me. I recommend anyone experiencing the 0x2ef3-Network error to fist set KeepAlive off on the server. If the error is gone, switch it on again and test with the values of KeepAliveTimeout. They can also be set to ms.

    There is also a way to disable KeepAlive only for Internet Explorer.

提交回复
热议问题