为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

AJAX post request between Cross-sites (CORS) - POST ~7000 Bytes or more data/json on FF36 above Failed

more options

Hello,

We are facing CORS issue with FF36 and above versions while posting 7000 bytes or more data/json object. - When we post approximately 7000 bytes or more JSONObject content through ajax request between Cross-site HTTP request, then the request is failed with 'Aborted' status. I can see an error message on console (Firebug). Same request I will be submitted if the Content-Length is less than 7000 bytes.

Error message: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://URL/fulfillment. (Reason: CORS request failed)."

We are not sure what is going wrong with the request. If the issue is with CORS then why it is not happening with FF35 and below version. I can post huge JSON content length while using same service on FF35 or below version. Same we tested in Chrome, it is working perfectly fine with 20000 bytes content length.

Your inputs on this and how to troubleshoot this issue will be very helpful. Is there any specific changes to settings that we need to do in FF36 and above.

Thanks in advance.

Hello, We are facing CORS issue with FF36 and above versions while posting 7000 bytes or more data/json object. - When we post approximately 7000 bytes or more JSONObject content through ajax request between Cross-site HTTP request, then the request is failed with 'Aborted' status. I can see an error message on console (Firebug). Same request I will be submitted if the Content-Length is less than 7000 bytes. Error message: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://URL/fulfillment. (Reason: CORS request failed)." We are not sure what is going wrong with the request. If the issue is with CORS then why it is not happening with FF35 and below version. I can post huge JSON content length while using same service on FF35 or below version. Same we tested in Chrome, it is working perfectly fine with 20000 bytes content length. Your inputs on this and how to troubleshoot this issue will be very helpful. Is there any specific changes to settings that we need to do in FF36 and above. Thanks in advance.

由jagadishuppala于修改

所有回复 (4)

more options

Hmm, is the post over HTTPS and do you use a CISCO ACE load balancer? Firefox 36 changed something that has an issue in that scenario. See:

more options

Thanks for the quick reply. We will check if this solution works for us or not. I will let you know.

more options

jagadishuppala said

Hello, We are facing CORS issue with FF36 and above versions while posting 7000 bytes or more data/json object. - When we post approximately 7000 bytes or more JSONObject content through ajax request between Cross-site HTTP request, then the request is failed with 'Aborted' status. I can see an error message on console (Firebug). Same request I will be submitted if the Content-Length is less than 7000 bytes. Error message: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://URL/fulfillment. (Reason: CORS request failed)." We are not sure what is going wrong with the request. If the issue is with CORS then why it is not happening with FF35 and below version. I can post huge JSON content length while using same service on FF35 or below version. Same we tested in Chrome, it is working perfectly fine with 20000 bytes content length. Your inputs on this and how to troubleshoot this issue will be very helpful. Is there any specific changes to settings that we need to do in FF36 and above. Thanks in advance.

Thanks For the reply! But we have this issue only on Firefox 36 and above versions. IE and Chrome browsers able to post the data properly between cross site services. Even Firefox 35 and below versions are working fine!!!

more options

So in reference to my earlier reply: you either are using HTTP (not HTTPS) or not using that device, or you changed the device configuration and it didn't help?