{"id":6489,"date":"2014-04-18T12:24:25","date_gmt":"2014-04-18T12:24:25","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/18\/intermittent-xmlhttprequest-network-error-0x2f7d-could-not-complete-the-operation-due-to-error-00002f7d-collection-of-common-programming-errors\/"},"modified":"2014-04-18T12:24:25","modified_gmt":"2014-04-18T12:24:25","slug":"intermittent-xmlhttprequest-network-error-0x2f7d-could-not-complete-the-operation-due-to-error-00002f7d-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/18\/intermittent-xmlhttprequest-network-error-0x2f7d-could-not-complete-the-operation-due-to-error-00002f7d-collection-of-common-programming-errors\/","title":{"rendered":"Intermittent XMLHttpRequest: Network Error 0x2f7d, Could not complete the operation due to error 00002f7d.-Collection of common programming errors"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I managed to reproduce the error in a standalone environment. \u00a0It seems to be concurrent xhr requests to any https site. \u00a0I can do async http calls or non async https calls but not concurrent async https calls. \u00a0In these examples I used jQuery as it doesn&#8217;t crash the app completely. \u00a0The same happens with WinJS.xhr except that the app stops the first\u00a0time\u00a0it encounters the error.<\/p>\n<p>This works:<\/p>\n<pre>for (var i = 0; i &lt; 200; i++) {\n    $.ajax({\n        url: 'https:\/\/www.google.com',\n        async: false,\n        error: function(data) {\n            console.log(\"error\");\n        },\n        success: function(data) {\n            console.log(\"success\");\n        }\n    });\n}<\/pre>\n<p><\/p>\n<p>But this fails:<\/p>\n<pre>for (var i = 0; i &lt; 200; i++) {\n    $.ajax({\n        url: 'https:\/\/www.google.com',\n        async: true, \/\/<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Hi, I managed to reproduce the error in a standalone environment. \u00a0It seems to be concurrent xhr requests to any https site. \u00a0I can do async http calls or non async https calls but not concurrent async https calls. \u00a0In these examples I used jQuery as it doesn&#8217;t crash the app completely. \u00a0The same happens [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6489","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6489"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6489\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}