icm/WS/ping_interval
Time interval in which the application sends a ping message to the client once a WebSocket connection has become inactive.
With parameter icm/WS/ping_interval = <sec> you can specify the time interval in which the server sends a ping message to the client. The ping message is sent by the server only when communication is inactive. The server does not do anything if communication is active. The ABAP application server supports ping messaging in compliance with RFC 6455. An open WebSocket connection can also be stopped unexpectedly, and independently of the configuration of the client and the server, by intermediary systems (e.g. proxies). This happens mostly if the connection has no activity. To prevent unwanted termination of a connection, the connection can be kept active by sending pings.
Essentially, ping/pong messaging is used to notify intermediary systems (e.g. proxies) that the connection is still active. If no pong response is received from the client, inactive communication partners can be identified. If the client does not respond (with a pong message) to the ping request from the application server twice in succession, the application server closes the WebSocket connection.
| Work area | Internet Communication Manager |
| Unit | Seconds |
| Valid values | 0, 10 - n |
| Default value | 60 seconds |
| Dynamically changeable | No |
If you want to deactivate ping/pong messaging, you can configure the parameter with the value 0 seconds.