Issue: Actions initiated on the agent remain in a pending state

Explanation: The Remote Task (Action) feature in Esprida LiveControl is an asynchronous process. This means the Esprida LiveControl Server generates a message for the Esprida LiveControl Agent to pick up through an open socket maintained between the agent and server. This socket has a maximum length that it will remain open before the agent will close it and open a new socket with the Server. This length of time is the ‘Maximum Session Length‘ parameter that can be configured on the “*Set Server Communication Configuration” page when editing a device.

If the socket does not get properly established or if the server loses the socket, then all actions will remain in a pending state on the Actions window for the agent. The Agent may be completely unaware of the socket lose therefore it will not be aware of any pending actions until the socket is re-established; when the  ‘Maximum Session Length‘  timeout occurs.

Solution: The  ‘Maximum Session Length‘  value should be configured to the longest acceptable wait time to ensure any socket loss scenario is recovered from in a timely manner.

Do not set the ‘Maximum Session Length‘  value to zero ( ‘0’) as this represents no session timeout and the Agent will never be able to recover from a socket loss scenario.