Hi,
I’m facing an issue with the WebSocket in my application. After some time, I consistently getting a timeout from the event server.
- EventAndStatusSubscriptionServer Connection 3 created
2024-11-25 15:42:34.696+02:00 [ 65] INFO - EventAndStatusSubscriptionServer Events and Status session created : a2f2df77-6fe5-46b4-ac23-5133eef19209
2024-11-25 15:42:40.841+02:00 [ 63] INFO - VmsTokenProviderExtensions.GetToken Token received successfully
2024-11-25 15:42:48.213+02:00 [ 63] INFO - EventAndStatusSubscriptionServer Events and Status session discarded (timeout) : 5d86f552-e611-4153-addf-942e9779fcbf
2024-11-25 15:42:57.722+02:00 [ 45] INFO - EventAndStatusSubscriptionServer Events and Status session discarded (timeout) : 837be36b-6607-431c-8cbb-b82e79222f48
2024-11-25 15:43:10.617+02:00 [ 46] INFO - VmsTokenProviderExtensions.GetToken Token received successfully
2024-11-25 15:43:12.260+02:00 [ 35] INFO - StatusSessionServer Finished loading updated VMS configuration
2024-11-25 15:48:04.608+02:00 [ 11] WARNING - EventAndStatusSubscriptionServer Receiving data on connection 3, state of web socket is Aborted. System.Net.WebSockets.WebSocketException: The remote party closed the WebSocket connection without completing the close handshake.
2024-11-25 15:48:04.608+02:00 [ 11] INFO - EventAndStatusSubscriptionServer Events and Status session set inactive : a2f2df77-6fe5-46b4-ac23-5133eef19209
2024-11-25 15:48:04.608+02:00 [ 11] INFO - EventAndStatusSubscriptionServer Connection 3 closed
2024-11-25 15:48:08.073+02:00 [ 70] INFO - EventAndStatusSubscriptionServer Connection 4 created
2024-11-25 15:48:08.120+02:00 [ 70] INFO - EventAndStatusSubscriptionServer Events and Status session created : d2f17507-d337-4807-81c5-c49ed4a23ce5
2024-11-25 15:48:34.608+02:00 [ 61] INFO - EventAndStatusSubscriptionServer Events and Status session discarded (timeout) : a2f2df77-6fe5-46b4-ac23-5133eef19209
2024-11-25 16:17:24.275+02:00 [ 12] WARNING - EventAndStatusSubscriptionServer Receiving data on connection 4, state of web socket is Aborted. System.Net.WebSockets.WebSocketException: The remote party closed the WebSocket connection without completing the close handshake.
2024-11-25 16:17:24.275+02:00 [ 12] INFO - EventAndStatusSubscriptionServer Events and Status session set inactive : d2f17507-d337-4807-81c5-c49ed4a23ce5
2024-11-25 16:17:24.275+02:00 [ 12] INFO - EventAndStatusSubscriptionServer Connection 4 closed
2024-11-25 16:17:54.286+02:00 [ 7] INFO - EventAndStatusSubscriptionServer Events and Status session discarded (timeout) : d2f17507-d337-4807-81c5-c49ed4a23ce5
When this happens, any attempts to reconnect to the WebSocket result in a “server error,” and the only way to reestablish the connection is by restarting the event server.
Any ideas?