SCRIPT7002: XMLHttpRequest: Network Error 0x2ef3, Could not complete the operation due to error 00002ef3
No valid solution at the moment.
Update: Noticed on IE11 also.
After more and more investigation, I come with this results:
My questions are:
For now the temporary solution I am doing is simply retry for a max 3 times if the HTTP status code was zero. But it is very ugly because even upload requests sometimes failed, and it become slow for those requests with retry, sometimes it will take extra 100ms.
Steps to reproduce:
My IE Version:
For now I am solving it by retrying a max of 3 times if the browser is IE10
&& Request is POST
&& HTTP status code is 0
.
I would appreciate if somebody can help me to remove my ugly solution, because with such solution even if the the request goes to the server and it returns 0 I will also retry (I was trying to avoid that by measuring the time between xhr.send and its callback but it is not reliable), what about if IE10 in comptMode, what about if IE11 has same problem, add to that performance, it will take on my machine ~170ms between each retry.
This can be happening due a security certificate issue. If you clear the cache you loose part (if not all) of certificate information.
You can find more information (and a workaround) in http://www.jonnyreeves.co.uk/2013/making-xhr-request-to-https-domains-with-winjs/
Basically it says you must do a GET before your POST request in order to update the certificate information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With