Unable to authenticate Perspective client

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:

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.

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

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

@PGriffith, I did that settings already but I am getting the same error



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

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

How do I get support help?

Open a ticket:

https://support.inductiveautomation.com/