# Perspective Start Blocked - Websocket connection closed unexpectedly. code=1006

**URL:** <https://forum.inductiveautomation.com/t/perspective-start-blocked-websocket-connection-closed-unexpectedly-code-1006/95359>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 30, 2024, 7:59am UTC](https://forum.inductiveautomation.com/t/perspective-start-blocked-websocket-connection-closed-unexpectedly-code-1006/95359 "2024-08-30T07:59:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehdi\_MECHEDAL](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Mehdi\_MECHEDAL](https://forum.inductiveautomation.com/u/Mehdi_MECHEDAL)\
**Post date:** [August 30, 2024, 7:59am UTC](https://forum.inductiveautomation.com/t/perspective-start-blocked-websocket-connection-closed-unexpectedly-code-1006/95359/1 "2024-08-30T07:59:58Z")

</div>

Hello,

I am not able to initiate perspective session, my app is stucked. as in the following screen shot.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/7/e7986f1acdbdb370829d00b6d58367e98940ffc7.jpeg)

This happens only when I open my perspective app through network. When I open the the app locally there is no problem.

Note: Trough network I can access to gateway portal, sync is active and working between gateways.

Here is the corresponding log:

| WebSocketChannel | 30Aug2024 09:52:19 | Websocket connection closed unexpectedly. code=1006, reason=Session Closed, codeMeaning=Normal Closure, codeDescription=Reserved. Indicates that a connection was closed abnormally (that is, with no close frame being sent) when a status code is expected. |  
| WebSocketChannel | 30Aug2024 09:52:19 | Websocket connection errored out. Keeping session open. |  
| ClientSession | 30Aug2024 09:52:19 | WebSocket disconnected from session. |

 ![Screenshot 2024-08-30 095825](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/5/85794f279da1046b8ca738080dff4c6edcc2c1cf.jpeg)

---

<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:** [August 30, 2024, 12:40pm UTC](https://forum.inductiveautomation.com/t/perspective-start-blocked-websocket-connection-closed-unexpectedly-code-1006/95359/2 "2024-08-30T12:40:22Z")

</div>

That usually means there is a firewall or router between client and gateway that doesn't support websockets. The only solution is upgrading or bypassing that problem network device.
