iFrame JS errors

Certified Lead Developer

Hello,

I'm running through the example CST/CSEs, and I'm running into issues with CSEs - basically I'm consistently getting

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('dynamic-appian-local.com') does not match the recipient window's origin ('null').

javascript errors, with the CSE content not displaying.

This is using the 19.1.52.0 Beta 2 installer.

Per the CSE developer guide, dynamic-appian-local.com is my DYNAMIC_SERVER_AND_PORT, and since it's a dev machine, I'm just using http. dynamic-appian-local.com is mapped to 127.0.0.1 in my hosts file, and responds to pings.

To isolate the issue, I made an extremely simple CSE with static html just displaying two <p>s, but still got the error.

Googling about for similar errors indicates that it is likely caused by the parent window messaging the iframe before the latter is fully loaded. Is there a likely incorrect configuration of my environment that could be causing this?

Thanks,

Mike

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data