You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Application is developed in Ruby on rails 3.2.1. For uploading an image in model popup it is using remoti-part gem (https://github.com/JangoSteve/remotipart) (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
Uncaught SecurityError: Blocked a frame with origin "http://subdomain.mydomain.com" 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
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..
The text was updated successfully, but these errors were encountered:
My Application is developed in Ruby on rails 3.2.1. For uploading an image in model popup it is using remoti-part gem (https://github.com/JangoSteve/remotipart) (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://subdomain.mydomain.com/competitions/750/images net::ERR_CONNECTION_RESET
Uncaught SecurityError: Blocked a frame with origin "http://subdomain.mydomain.com" 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
https://github.com/JangoSteve/remotipart/blob/v1.2.1/vendor/assets/javascripts/jquery.iframe-transport.js#L178
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..
The text was updated successfully, but these errors were encountered: