# Client Disconnects

**URL:** <https://forum.inductiveautomation.com/t/client-disconnects/39845>\
**Category:** Ignition\
**Created:** [October 20, 2020, 5:40pm UTC](https://forum.inductiveautomation.com/t/client-disconnects/39845 "2020-10-20T17:40:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasonr](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jasonr](https://forum.inductiveautomation.com/u/jasonr)\
**Post date:** [October 20, 2020, 5:40pm UTC](https://forum.inductiveautomation.com/t/client-disconnects/39845/1 "2020-10-20T17:40:03Z")

</div>

We have several clients (displays) displaying different Perspective Projects throughout the plant. The clients will randomly blink as if a connection was lost and is waiting to be restored. Below are some lines that show up in the Diagnostics Log. If anybody has any suggestion about keeping clients from loosing connection their connections it would be appreciated.

SocketIODelegate 20Oct2020 13:34:28 [hostname=172.16.10.142,port=502] Socket connection closed, DriverState was Connected.

SocketIODelegate 20Oct2020 13:34:28 [hostname=172.16.10.142,port=502] Socket connection closed, DriverState was Connected.

SocketIODelegate 20Oct2020 13:34:28 [hostname=172.16.10.142,port=502] Socket connection closed, DriverState was Connected

---

<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:** [October 20, 2020, 6:01pm UTC](https://forum.inductiveautomation.com/t/client-disconnects/39845/2 "2020-10-20T18:01:55Z")

</div>

Those are messages from your Modbus driver. If they correlate with user interface hiccups, I would suspect a much more pervasive problem, like VM provisioning or CPU throttling. Look for Clock Drift warnings in your gateway log.

---

<div class="post-metadata">

**Author:** ![jasonr](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jasonr](https://forum.inductiveautomation.com/u/jasonr)\
**Post date:** [October 20, 2020, 6:57pm UTC](https://forum.inductiveautomation.com/t/client-disconnects/39845/3 "2020-10-20T18:57:23Z")

</div>

I copied from the wrong log for the client disconnects.

ClientSession 20Oct2020 13:28:35 Socket connected to session. pageId=23689069

WebSocketChannel 20Oct2020 12:32:23 Websocket connection closed unexpectedly. code=1006, reason=Disconnected

ClientSession 20Oct2020 12:32:23 WebSocket disconnected from session.

WebSocketChannel 20Oct2020 11:33:14 Websocket connection closed unexpectedly. code=1006, reason=Disconnected

---

<div class="post-metadata">

**Author:** ![Devin](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@Devin](https://forum.inductiveautomation.com/u/Devin)\
**Post date:** [December 18, 2020, 8:10pm UTC](https://forum.inductiveautomation.com/t/client-disconnects/39845/4 "2020-12-18T20:10:50Z")

</div>

I’m having a similar issue, if anyone’s found a fix to the problem. Ignition 8.1, Perspective. Causes users to be logged out from session.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/c/fcc837a0351304be4ad47ca0b7dca56f2604194e.png)

---

<div class="post-metadata">

**Author:** ![emiller](https://avatars.discourse-cdn.com/v4/letter/e/3e96dc/32.png) [@emiller](https://forum.inductiveautomation.com/u/emiller)\
**Post date:** [February 2, 2023, 1:55pm UTC](https://forum.inductiveautomation.com/t/client-disconnects/39845/5 "2023-02-02T13:55:40Z")

</div>

Same here, what can cause these errors?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/8/28694f9a2160312e3f9d74c484f54374a327b9ec.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:** [February 2, 2023, 2:32pm UTC](https://forum.inductiveautomation.com/t/client-disconnects/39845/6 "2023-02-02T14:32:13Z")

</div>

Those are connection breakages. Sometimes caused by user closing tabs in a browser that doesn't close websockets gracefully. But other times it is flaky connections. Or IT interference.
