Client Disconnects

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

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.

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

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.

3 Likes

Same here, what can cause these errors?

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.