Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: bence.meszaros on August 28, 2018, 10:48:45 AM
-
Hi There,
I am using WarmStandby connection with reconnection to Outbound, Stat and T servers without any problem in our test environment however in production I keep getting "java.io.IOException: An existing connection was forcibly closed by the remote host" both on server and client side. It turned out that TCP Resets (RST) are sent by the F5 load balancer which resets "idle" network connections after 5 minutes.
Automatic re-connection and a ChannelListener with onChannelOpened did the trick of re-registering the events but it seems to be clumsy and error prone to me. I was told that resetting idle connections is a common practice by routers, load balancers and firewalls, and disabling it is currently not an option...
Have you ever seen this? What is the best practice here? A built-in keep alive trigger would do but I could not find anything like this on ClientChannel. Any idea to sort this out would be appreciated.
Thanks
-
The use of addp is for preventing that happen (among other issues it prevents). Lookup for addp in the docs
-
Whoa, that was fast. Indeed, this ADDP guy is what I need, many thanks.
-
Nice! Set it up before you open the Protocols