Does anyone know why the ajax synchronous call will fail and give the following error in Safari on the iPad, but does the same code work fine on all other platforms and browsers that I have tested so far?
NETWORK_ERR: XMLHttpRequest Exception 101: A network error occurred in synchronous requests.
This error assumes that I am trying to execute a cross-domain request, but I am not; the requested URL is on the same host, and in fact it is a relative URL. Even in trivial tests, this does not work on the iPad (and works on all other platforms and browsers, including Safari), so I'm sure that I excluded the possibility of a timeout.
In addition, the same request, if made asynchronously, works fine on the iPad; these are only synchronous requests that give an exception of 101. This is driving me crazy!
One more detail: this only happens on my production server. The ajax synchronous call actually works fine on my development server. Both servers require the same client certificate ... so I donโt think there is any difference there. I can not imagine any difference between the two servers, which could have an effect here.
It would be helpful to appreciate any understanding of this problem. Thanks!
source share