mercredi 12 octobre 2016

Uncaught SecurityError: Blocked a frame with origin "subdomain.mydomain.com" from accessing a frame with origin "null"

My Application is developed in Ruby on rails 3.2.1. For uploading an image in model popup it is using remoti-part gem (http://ift.tt/UGueVh) (gem version 1.2.1).

It is working fine in my local and staging server but not in production. On production when i try to upload an image and click on submit it give me 2 errors

POST http://ift.tt/2dbO6xu net::ERR_CONNECTION_RESET

Uncaught SecurityError: Blocked a frame with origin "http://ift.tt/RRkJpv" from accessing a frame with origin "null".
The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "data".Protocols must match.

I try to debug this error and found that it is causing because of iframe. It is using remoti-part - iframe file

http://ift.tt/2dbMuUF

Send Function is causing the issue for uploading and submitting the request.. If i remove send function from developer console than it is working fine.. Can anyone help me with this problem?

Aucun commentaire:

Enregistrer un commentaire