Kibana iFrame Cross-Origin

I am trying to embed a Kibana saved visual iframe into my website, but I am getting the following

Uncaught SecurityError: Blocked a frame with origin "http://XXXXXXXXX:5601" from accessing a cross-origin frame. (http://XXXXXX:5601/bundles/kibana.bundle.js?v=10229:133109)

I have tried putting it into a plain html file and it is the same error.

Is there anything specific that needs to happen to enable this?

Excuse the silly question, but is the error originating from within Kibana, or is the error being thrown by your website?

This is being thrown when my website tries to load the iframe

Are you using x-pack? Are you trying to access elements in the iframe via javascript?

I am not using x-pack and yes that is what I am trying to do when I receive the error

The Stack Overflow post that I linked to above provides more information than I could provide here.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.