Problem with "share iFrame saved dashboard"

Hello,

i have a problem.
I want to share my dashobard using iframe link.
When i saved this link in a HTML document and i will try to open in my browser, i have an error in this new "KIBANA_IFRAME".

"Uncaught SecurityError: Blocked a frame with origin "http://mysite:5601" from accessing a cross-origin frame. (http://musica-vis:5601/bundles/kibana.bundle.js?v=14723:157)"

"Error: Uncaught SecurityError: Blocked a frame with origin "http://mysite:5601" from accessing a cross-origin frame. (http://mysite:5601/bundles/kibana.bundle.js?v=14723:157)
at window.onerror (http://mysite:5601/bundles/commons.bundle.js?v=14723:69:13503)".

How can i fix this bug? It's a big bug in kibana 5.2.2 (my version)?

Hi Maurizio.

I googled for this and found this thread on stack overflow.

Here are details on disabling same origin policy in chrome:

Do you want see if this helps? Also have you previously used share iframe from Kibana successfully with the same set up you have? If so what was the version of that Kibana? Or you are trying this for the first time?

Thanks,
Bhavya

Hi Maurizio,

When you share your dashboard - you seem to be hitting - same origin policy exception.
If you look at the first link I posted - you will see that you might have to add code to your javascript
to handle this same origin policy exception.

Or you could add an exception for the policy as seen in the second link.

Thanks,
Bhavya

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