Discourse embedding error: Failed to execute postMessage on DOMWindow

(Marek Gregor) #1


I have the problem with embedding Discourse for our blogs, e.g. in post Latest Intel CPU vulnerability - should we fear the Spoiler?

Discourse is running on https://community.ipesoft.com behind reverse proxy.
Javascript error:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://community.ipesoft.com') does not match the recipient window's origin ('https://d2000.ipesoft.com').

I followed the setup tutorial and also similar support topic but without success.

My Configuration:

thanks for any help, 2 days passed on this issue without result till now.

(Marek Gregor) #2

Problem is solved!

The issue was in missing DNS record in discourse docker instance to blogging domain (in my case d2000.ipesoft.com).