# Remote server forcibly closed the web socket: Session Closed

**URL:** <https://forum.inductiveautomation.com/t/remote-server-forcibly-closed-the-web-socket-session-closed/95900>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [September 12, 2024, 1:41pm UTC](https://forum.inductiveautomation.com/t/remote-server-forcibly-closed-the-web-socket-session-closed/95900 "2024-09-12T13:41:44Z")\
**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:** [September 12, 2024, 1:41pm UTC](https://forum.inductiveautomation.com/t/remote-server-forcibly-closed-the-web-socket-session-closed/95900/1 "2024-09-12T13:41:44Z")

</div>

Hello,

I have two Ignition gateways: the first is **Ignition Edge** on my local machine, and the second is a standard **Ignition** instance on a remote server.

I have set up a network connection between the two, with **Ignition Edge** configured to connect to the remote **Ignition** gateway. Both gateways are accessible from each other; I can access their respective configuration web portals without issues.

Firewall rules are configured to allow all traffic, and I can successfully ping each gateway from the other.

However, I'm encountering an issue where **Ignition Edge** fails to connect to the remote **Ignition** gateway, resulting in the following error: **Remote server forcibly closed the web socket: Session Closed**. This connection worked during the initial setup but has since stopped functioning.

Below is a screenshot for reference:

![Screenshot 2024-09-12 152635](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/4/b4cce8f328f377532d7f8d6ba574dd15be623786.jpeg)

On my Edge Gateway, I see the following log:

`MetroWebSocket	|	12Sep2024 15:33:11	|	-> outgoing local='edge' remote='ignition' method=onClose: Remote server forcibly closed the web socket: Session Closed`

And on my Ignition Gateway, I see these logs:

```python
|12Sep2024 15:36:41|[100] edge connection status has been updated from Faulted to Shutdown: Remote is reconnecting|
|---|---|
|12Sep2024 15:36:31|[100] edge connection status has been updated from Initialized to Faulted: onClose has been called on web socket:Session Closed|
|12Sep2024 15:36:21|[100] edge connection status has been updated from Unknown to Initialized|

```

Has anyone encountered this issue before or knows how to resolve it?

---

<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:** [September 12, 2024, 2:38pm UTC](https://forum.inductiveautomation.com/t/remote-server-forcibly-closed-the-web-socket-session-closed/95900/2 "2024-09-12T14:38:03Z")

</div>

That's usually a firewall in the network path. Some older firewalls simply don't support websockets, and newer ones might have websocket-specific inspection/filtering that breaks them. Ask your IT if there's been a change along the network path.
