---
title: Websocket Idle Timeout
description: The idle timeout in milliseconds for WebSockets. If the connection is not active for this time, the agent pings AM to keep the WebSocket alive.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.ping.websocket.after.inactive.milliseconds
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.ping.websocket.after.inactive.milliseconds.html
---

# Websocket Idle Timeout

The idle timeout in milliseconds for WebSockets. If the connection is not active for this time, the agent pings AM to keep the WebSocket alive.

|                          |                                                                                                  |
| ------------------------ | ------------------------------------------------------------------------------------------------ |
| Property name            | `org.forgerock.agents.ping.websocket.after.inactive.milliseconds`                                |
| Aliases                  | `org.forgerock.agents.ping.websocket.after.inactive.milliseconds`   Introduced in Java Agent 5.8 |
| Function                 | Timeout                                                                                          |
| Type                     | Integer                                                                                          |
| Default                  | `20000`                                                                                          |
| Bootstrap property       | No                                                                                               |
| Required property        | No                                                                                               |
| Restart required         | No                                                                                               |
| Local configuration file | `AgentConfig.properties`                                                                         |
