I’m creating a project that will be used for advertising purposes on our website. I’ve setup my project with some Perspective views and configured the views to Public security. When I navigate to the endpoint for my session directly, Perspective loads and everything is displayed as normal, but when I embed the session into a very basic HTML page, it did not initially load due to it’s X-Frame-Options being set to same-origin. To resolve this, I used this article from the support website to disable all the CORS security options because they won’t apply here, as the data is meant to be open and public:
# Java Additional Parameters
which allowed the Perspective session to at-least begin loading. After that change though, it appears that the session fails to initialize, but I’m not sure why or if i’ve missed another security option somewhere. Here is the browser error message, for reference:
and the basic HMTL file that I’m using to load the session embedded, for testing:
<iframe src=“http://192.168.57.8:9088/data/perspective/client/Web” style=“position:fixed; width: 100%; height: 100%;”>
Version is 8.1.9, Ignition is running inside the official IA docker containers, on a Ubuntu bare-metal server.