# Web Socket Channel closed unexpectedly code 1011

**URL:** <https://forum.inductiveautomation.com/t/web-socket-channel-closed-unexpectedly-code-1011/63395>\
**Category:** Ignition\
**Created:** [August 24, 2022, 2:58pm UTC](https://forum.inductiveautomation.com/t/web-socket-channel-closed-unexpectedly-code-1011/63395 "2022-08-24T14:58:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bradley\_Peay](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@Bradley\_Peay](https://forum.inductiveautomation.com/u/Bradley_Peay)\
**Post date:** [August 24, 2022, 2:58pm UTC](https://forum.inductiveautomation.com/t/web-socket-channel-closed-unexpectedly-code-1011/63395/1 "2022-08-24T14:58:25Z")

</div>

I am getting some random warnings in the gateway logs for web socket disconnects. I had an issue earlier where the gateway was using 4 gb of ram, bounced the gateway and that went down to ~1/2 gb of ram, disconnects improved but still occuring. I have ~5-7 clients connected and I am using the designer on one of them at the moment.

Screenshot of gateway warning and wrapper logs are attached. Any advice is appreciated.

[wrapper.log](https://forum.inductiveautomation.com/uploads/short-url/lsOsC5oRfHqEurF2Jq73uDPuYwp.log) (237.3 KB)

 ![WebSocketError](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/8/d8cec136b7e860ea59d072c6b3f58abc7ff0b12c.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/a/2a62c3daca387f2eac49ba77725a582a4f3f0280.png)

---

<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 24, 2022, 3:27pm UTC](https://forum.inductiveautomation.com/t/web-socket-channel-closed-unexpectedly-code-1011/63395/2 "2022-08-24T15:27:10Z")

</div>

See the “caused by” is “connection was forcibly closed by the remote host”.

The browser closed the tab and abruptly cut off comms while Perspective was sending updated data.

Or an intermediate router chopped off the connection.

---

<div class="post-metadata">

**Author:** ![dwoo](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@dwoo](https://forum.inductiveautomation.com/u/dwoo)\
**Post date:** [February 3, 2023, 3:47pm UTC](https://forum.inductiveautomation.com/t/web-socket-channel-closed-unexpectedly-code-1011/63395/3 "2023-02-03T15:47:45Z")

</div>

Any updates on this....I see this constantly anytime I have the Designer up. Just last night happened again on my development system which didn't have any clients running just the designer. Development environment is a VM running Windows 10, Ignition v8.1.17 (dev lic), SQL Server Express 2019 (VM is on an external drive, Solid state, dev pc is a laptop!). Most annoying is when I'm in the middle of development and happens, then I can't save anything new.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/d/2db0a227d4f7285859cb9a2f21588039ed5db17e.png)
