# Unable to view Perspective inside Iframe or Object tag in HTML

**URL:** <https://forum.inductiveautomation.com/t/unable-to-view-perspective-inside-iframe-or-object-tag-in-html/44947>\
**Category:** Ignition\
**Tags:** ignition80, ignition81, perspective\
**Created:** [March 26, 2021, 9:05am UTC](https://forum.inductiveautomation.com/t/unable-to-view-perspective-inside-iframe-or-object-tag-in-html/44947 "2021-03-26T09:05:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nimer](https://avatars.discourse-cdn.com/v4/letter/n/e274bd/32.png) [@nimer](https://forum.inductiveautomation.com/u/nimer)\
**Post date:** [March 26, 2021, 9:05am UTC](https://forum.inductiveautomation.com/t/unable-to-view-perspective-inside-iframe-or-object-tag-in-html/44947/1 "2021-03-26T09:05:28Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/6/46e45eb9d7cf67e2bb1353f05517eb561d1ff4bd.png)

Any help will be appreciated. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Canuck](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@Canuck](https://forum.inductiveautomation.com/u/Canuck)\
**Post date:** [April 7, 2021, 8:55pm UTC](https://forum.inductiveautomation.com/t/unable-to-view-perspective-inside-iframe-or-object-tag-in-html/44947/2 "2021-04-07T20:55:34Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![pc\_r](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@pc\_r](https://forum.inductiveautomation.com/u/pc_r)\
**Post date:** [November 26, 2021, 7:41am UTC](https://forum.inductiveautomation.com/t/unable-to-view-perspective-inside-iframe-or-object-tag-in-html/44947/3 "2021-11-26T07:41:42Z")

</div>

if u have solved the problem,could u please tell me the way
