# Unable to authenticate Perspective client

**URL:** <https://forum.inductiveautomation.com/t/unable-to-authenticate-perspective-client/63644>\
**Category:** Ignition Early Access\
**Tags:** perspective\
**Created:** [August 31, 2022, 4:26pm UTC](https://forum.inductiveautomation.com/t/unable-to-authenticate-perspective-client/63644 "2022-08-31T16:26:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [August 31, 2022, 4:26pm UTC](https://forum.inductiveautomation.com/t/unable-to-authenticate-perspective-client/63644/1 "2022-08-31T16:26:28Z")

</div>

I have one user who is unable to authenticate through an IDP on a Perspective project. He has tried on different browsers.  
He gets the following error in the gateway.

> | WebSocketChannel | 31Aug2022 09:22:02 | Websocket connection closed unexpectedly. code=1002, reason=Invalid UTF-8 in text frame, codeMeaning=Protocol error, codeDescription=The endpoint is terminating the connection due to a protocol error. |
> | --- | --- | --- |
> | ClientSession | 31Aug2022 09:22:02 | WebSocket disconnected from session. |
> | WebSocketChannel | 31Aug2022 09:21:52 | Websocket connection closed unexpectedly. code=1002, reason=Invalid UTF-8 in text frame, codeMeaning=Protocol error, codeDescription=The endpoint is terminating the connection due to a protocol error. |

It continuously loops at the following:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/3/03a7ef57c90cface505a0f42734f1a3df05983a0.jpeg)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 31, 2022, 4:37pm UTC](https://forum.inductiveautomation.com/t/unable-to-authenticate-perspective-client/63644/2 "2022-08-31T16:37:11Z")

</div>

Well, this is after authentication; this is the Perspective session attempting to start up.

Is there any middleware (firewall, port scanner, etc) between this computer and the gateway? If you look in the network tab in browser devtools while the attempt is made, does anything leap out at you? (You might need to click in to the websocket handshake to see the actual websocket messages).

Both sides seem to agree that there’s something weird in the data going back and forth.

---

<div class="post-metadata">

**Author:** ![Adekunle\_Bakare](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Adekunle\_Bakare](https://forum.inductiveautomation.com/u/Adekunle_Bakare)\
**Post date:** [December 8, 2022, 7:56pm UTC](https://forum.inductiveautomation.com/t/unable-to-authenticate-perspective-client/63644/3 "2022-12-08T19:56:04Z")

</div>

I am having the same issue when I used it in iframe. The iframe works fine on Firefox but having the same error screen as above on Microsoft Edge. I went to check the network tab and this is what I got below

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

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 9, 2022, 4:07pm UTC](https://forum.inductiveautomation.com/t/unable-to-authenticate-perspective-client/63644/4 "2022-12-09T16:07:52Z")

</div>

If you're using IIS as a reverse proxy, you might need to disable the permessage-deflaate compression?  
[https://docs.inductiveautomation.com/display/DOC81/Gateway+Configuration+File+Reference#GatewayConfigurationFileReference-PerspectiveWebSocketCompression](https://docs.inductiveautomation.com/display/DOC81/Gateway+Configuration+File+Reference#GatewayConfigurationFileReference-PerspectiveWebSocketCompression)

---

<div class="post-metadata">

**Author:** ![Adekunle\_Bakare](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Adekunle\_Bakare](https://forum.inductiveautomation.com/u/Adekunle_Bakare)\
**Post date:** [December 9, 2022, 4:32pm UTC](https://forum.inductiveautomation.com/t/unable-to-authenticate-perspective-client/63644/5 "2022-12-09T16:32:25Z")

</div>

@paul-griffith, I did that settings already but I am getting the same error

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/5/25cbcc249e3b5f151a9c04e5b67f6250fc481102.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/a/da9ed39a093aca20e5c492214111ed8cdcc0ec16.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/4/44ee512dd8b049a2bccecd2ee953cb981febc3cf.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 9, 2022, 4:34pm UTC](https://forum.inductiveautomation.com/t/unable-to-authenticate-perspective-client/63644/6 "2022-12-09T16:34:22Z")

</div>

You should contact support. I don't know what's going wrong.

---

<div class="post-metadata">

**Author:** ![Adekunle\_Bakare](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Adekunle\_Bakare](https://forum.inductiveautomation.com/u/Adekunle_Bakare)\
**Post date:** [December 9, 2022, 4:36pm UTC](https://forum.inductiveautomation.com/t/unable-to-authenticate-perspective-client/63644/7 "2022-12-09T16:36:08Z")

</div>

The error is only on Microsoft Edge but working fine on Firefox

---

<div class="post-metadata">

**Author:** ![Adekunle\_Bakare](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Adekunle\_Bakare](https://forum.inductiveautomation.com/u/Adekunle_Bakare)\
**Post date:** [December 9, 2022, 4:36pm UTC](https://forum.inductiveautomation.com/t/unable-to-authenticate-perspective-client/63644/8 "2022-12-09T16:36:37Z")

</div>

How do I get support help?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 9, 2022, 4:37pm UTC](https://forum.inductiveautomation.com/t/unable-to-authenticate-perspective-client/63644/9 "2022-12-09T16:37:30Z")

</div>

Open a ticket:

[https://support.inductiveautomation.com/](https://support.inductiveautomation.com/)
