Skip to Main Content
SEI Idea Portal
Status Submitted
Workspace HC-DPS-EI: ZFP
Created by Dean Dodd
Created on Dec 7, 2021

Automatically Reconnect Broken Websocket Connections

No description provided
Description

When a ZFP client is disconnected from the ZFP server they are presented with an error "System communication error. Please attempt to log out and log back into the application. If problem persists contact system administrator"


This happens regardless of the length of time the ZFP server is not available e.g. even if its for less than 1 second whilst the load balancer is failed over all the ZFP users receive this message.


The idea is for ZFP to attempt to automatically reconnect to the ZFP server before presenting this error to the user, it should attempt to reconnect a configurable amount of times with a defined timeout for each connection attempt and only after those have expired should it present the error to the users. If the server connection does return and the user has not logged out and back in like is suggested then ZFP should automatically reconnect giving a more seamless and user friendly experience. The settings for the connection attempts and number of retries should be configured in AppSettings.config.


This functionality with give the appearance of a more robost and stable product to our clients where they are not given an error at the slightest connection issue. This would reduce the amount of service credits we pay our customers for ZFP outages as clients would automatically be reconnected and there would be no loss of service to our customers.