Synchronous AJAX call fails on iPad, but not other platforms and browsers -
Synchronous AJAX call fails on iPad, but not other platforms and browsers -
does know why synchronous ajax phone call fail , give next error on safari on ipad, same code works fine on other platforms , browsers i've tested far?
network_err: xmlhttprequest exception 101: network error occurred in synchronous requests.
that error suggests i'm attempting cross-domain request, i'm not; requested url on same host, , in fact it's relative url. in trivial tests, fails on ipad (and works on other platforms , browsers, including safari), i'm confident i've ruled out possibility of time out.
also, same request, if made asynchronously, works on ipad; it's synchronous requests give 101 exception. it's driving me crazy!
one more bit of detail: happens on production server. synchronous ajax phone call works fine on development server. both servers require same client certificate... don't think there's difference there. can't think of difference between 2 servers have effect here.
any insight problem appreciated. thanks!
it turns out key difference between our development , production systems certificate requirement.
the issue turns out problem way xmlhttprequest.send() on ipad version of safari processes synchronous request on domain certificate-protected. can't explain internals of method, somehow has problem , throws 101 exception, believing it--apparently--to cross-domain request. again, same request made asynchronously on same certificate-protected server works fine. frustrating case, , 1 no solution!
ajax ipad safari xmlhttprequest synchronous
Comments
Post a Comment