On the site I insert an iframe. As soon as it loads, I get in the log:
Blocked a frame with origin " http://remotesite.com " from accessing a frame with origin " http://site.com ". Protocols, domains, and ports must match.
The frame content itself is displayed normally. There are no problems. Probably, of the problems, only this red line in the log, which strains.
The beginning of the error message refers to the frame lock (but it is not blocked ...). Then comes the explanation, they say, the protocol, domain and port should be the same (in the sense)?
The address is registered in child-src and frame-src.
The project itself (site.com) is built on RoR. Launched on port 3077. remotesite.com is another server not related to my site. I get only frames from there.
With YouTube, for example, everything is fine.
How can this be fixed?