cross-domain jquery.ajax calls are getting aborted before sending requests to cross-domain server
NickName:user1360733 Ask DateTime:2012-04-28T14:32:29

cross-domain jquery.ajax calls are getting aborted before sending requests to cross-domain server

We are using jquery.ajax() to run cross domain ajax calls. Sometimes we observed that these ajax calls were getting aborted and its http requests were not sent to cross-domain server. When ajax calls are aborted at the browser side, there were no error message noted. Could you please let us know on why ajax calls are getting aborted before sending requests to server and also please let us know to catch and resend aborted requests? Please let us know if you need more details.

Thanks.

Copyright Notice:Content Author:「user1360733」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/10361227/cross-domain-jquery-ajax-calls-are-getting-aborted-before-sending-requests-to-cr

More about “cross-domain jquery.ajax calls are getting aborted before sending requests to cross-domain server” related questions

cross-domain jquery.ajax calls are getting aborted before sending requests to cross-domain server

We are using jquery.ajax() to run cross domain ajax calls. Sometimes we observed that these ajax calls were getting aborted and its http requests were not sent to cross-domain server. When ajax cal...

Show Detail

Overriden XMLHttpRequest for cross-domain requests

I'm wondering if there is a JavaScript library, which overrides XMLHttpRequest and allows to transparently handle all cross-domain requests and seamlessly forward them over my same-origin server-side

Show Detail

Ext.Ajax.request sending OPTIONS request cross-domain when jQuery.ajax sends GET

I have a Sencha Touch application calling my web service cross-domain using Ext.Ajax.request. As I have built the web service I've enabled it to access cross-domain requests. However Ext sends an O...

Show Detail

CORS - Cross-Domain AJAX Without JSONP By Allowing Origin On Server

I have two separate apps on the same server, with the EmberJS one trying to do cross-domain calls to my backend API. I set up my backend API to allow cross-domain requests from that specific origi...

Show Detail

Allowing cross-domain requests in Safari and Chrome? Server response vs. command line arguments

I am trying to make cross-domain requests with Safari on Windows. My Safari version is 5.1.2. This is a classical question. I read in many places that Chrome and Safari allows cross domain request...

Show Detail

How to make periodic AJAX calls to cross-domain server

I am trying to figure out how to make periodic AJAX calls to a cross-domain hostname. For example, how can I serve content from example.com and make an AJAX call to example.org every 30 seconds. The

Show Detail

Flask RESTful cross-domain issue with Angular: PUT, OPTIONS methods

I've developed a small write-only REST api with Flask Restful that accepts PUT request from a handful of clients that can potentially have changing IP addresses. My clients are embedded Chromium cl...

Show Detail

Allowing cross-domain calls with Yeoman (1.0) grunt server

I've been using Yeoman 0.9 up until yesterday when I decided to use the beta 1.0 release on OS X. I use Yeoman to develop an angular app. With the Yeoman 0.9-->1.0 migration of my app done and wor...

Show Detail

Are cross-domain ajax requests possible without server consenting?

I understand the notion of the same-origin policy and the reasons for it, and I understand that cross-domain requests are possible with CORS. But I'd like to know if it's in any way possible, however

Show Detail

cross-domain call never getting jsonp callback appended

I am attempting to do a GET request to pull documents from CouchDB. I am getting the typical "xmlhttprequest cannot load..." error that you get with cross-domain requests. However, this error persi...

Show Detail