TCP Keep Alive
The TCP keep alive timeout and interval can be configured for when these properties need to be changed. These values can be set in the appsettings.json file.
json
"tcpSettings": {
"TcpKeepAliveTime": "02:00:00",
"TcpKeepAliveInterval": "00:00:01"
}The values displayed above are the default .NET values, and for the timeout, the maximum allowed value.
These properties can also be set via command line arguments, or environment variables
| Property | Argument | Environment Variable |
|---|---|---|
| tcpSettings:TcpKeepAliveTime | --tcp-keep-alive-time | BROKER_TCP_KEEP_ALIVE_TIME |
| tcpSettings | --tcp-keep-alive-interval | BROKER_TCP_KEEP_ALIVE_INTERVAL |
Intended Usage
TCP keep alive settings should be changed in environments that impose a network request duration timeout externally, and long running network requests made by UNIFYConnect are failing due to this.