Unable to view Perspective inside Iframe or Object tag in HTML

Hi,

I am trying to integrate Perspective view inside an HTML5 Iframe tag and Object tag. i have edited the X_frame policies and am able to view the Perspective loading screen. However, I am unable to see anything other than the Authenticating, loading and Initializing client screen. Upon further inspection, I was able to find that there is a websocket connection error which fails because of HTTP Authentication since no valid credentials were provided. I am confused as to how I can proceed with this. Attached is the screenshot of the error and the loading screen.

Any help will be appreciated. Thanks in advance.

I just had the same thing happen to me while trying to open up a Perspective view using Chrome. I was able to get it working by opening up a new Guest window.

Context:
I use the same Chrome instance (different tab) to connect to the Gateway, but using https. Since my server is not on a company domain, I use self-signed certificates, but somehow that has also caused issues within Ignition Designer when trying to edit a Perspective view. My solution - during development - is to not force https and connect using http. So, I connect to the Gateway with https - just because that’s what my bookmark is set to, but connect to Perspective with http.

Every once in a while, I get issues trying to connect to the Gateway and I either open up a Guest Window or restart Chrome. Something with ERR_TOO_MANY_REDIRECTS. When I just experienced this websocket failure trying to connect to a Perspective view, I then tried to connect to the Gateway using http and got this ERR_TOO_MANY_REDIRECTS message. That’s what tipped me off to trying on a Guest Window.

I’m sorry I can’t really offer a solution, but hopefully it helps shed a little light on the matter.