I have implemented xdomain scripts on both the client and the server, but in IE9 continue to receive the warning “Waiting to wait in iframe socket”

On the client, I have:

<script src="js/plugins/xdomain.min.js" slave="https://api/proxy.html"></script>

Then on the server I have proxy.html with:

<!DOCTYPE HTML>
<script src="js/xdomain.min.js"></script>
<script>
  xdomain.masters({
    "https://*.localhost" : '/.*/',
    "https://*.host.net" : '/.*/'
  });
</script>

In dev tools on IE9, I have an entry in the xdomain domain:

 'proxying request to slave:'
 'new socket:'
 'Timeout waiting on iframe socket'

I do not see any data being passed to the client - i.e.-my models inside my controllers are empty.

+4
source share
2 answers

proxy.html , "X-Frame-Options", , IE9 iFrame. "X-Frame-Options" proxy.html, .

+3

, xdomain.js (403) proxy.html.

0

Source: https://habr.com/ru/post/1540299/


All Articles