icm/WS/ping_interval

Short text

Interval at which the application server sends a ping message to the client if a WebSocket connection is inactive.

Parameter Description

You can use the parameter icm/WS/ping_interval = <sec> to specify the interval at which the server sends a ping message to the client. The ping message is only sent by the server if there is no communications activity. No additional load is created if there is active communication. The ABAP application server supports the sending of ping messages in accordance with RFC 6455.

Regardless of the configuration of the client and of the server, an existing WebSocket connection can also be unexpectedly closed by intermediary systems (such as proxies). This usually happens when the connection is inactive. To prevent the connection being terminated unintentionally, you can keep the connective active by sending “pings”.

The purpose of sending ping/pong messages is to demonstrate to intermediary systems, such as proxies, that the connection remains active. Inactive communication partners can also be identified by the lack of pong response from the client. If the client does not respond to the application server’s ping request twice in a row, the application server terminates the WebSocket connection.

The default value is 60 seconds. If you want to deactivate the ping/pong messages, you can do so by setting the value 0 seconds. Valid values are 0, 10 – n.

Application Area

Internet Communication Manager

Parameter Unit

Seconds

Default Value

60 seconds

Who is permitted to make changes?

Customer

Operating System Restrictions

None

Database System Restrictions

None

Are other parameters affected or dependent?

None

Values allowed

0, 10 – n

You May Also Like

Leave a Reply?