Why is a Remote Session Terminated?
The Global Access Server or the eMessage Connector can terminate a remote session, and select a terminationCause. The GAS can terminate a session by sending a TERMINATION_CAUSE audit message. The following table lists the causes, their corresponding integers, and the string that appears in the audit messages:
Remote Session Termination Causes
Cause
Integer
User-facing Message
USER_SHUTDOWN
1
Remote session was terminated by the user.
DEVICE_SHUTDOWN
2
Remote session was terminated by the agent.
ABANDONED
3
Remote session was abandoned due to inactivity.
USER_INACTIVE
4
Remote session was terminated due to user inactivity.
DEVICE_INACTIVE
5
Remote session was terminated due to device inactivity..
NO_SERVERS
7
Remote Access Server (GAS) was not found for remote session.
SESSION_DENIED
9
Remove session was denied by agent.
NOT_STARTED
11
Remote session was stopped because it was never fully started.
ERROR_CREATING_REMOTE_SESSION
Error creating Remote Session on the ThingWorx Platform.
ERROR_CREATING_REMOTE_SESSION_INVALID_PARAMS
Error creating Remote Session on the ThingWorx Platform due to invalid parameters.
ERROR_UPDATING_REMOTE_SESSION
Error updating Remote Session on the ThingWorx Platform.
ERROR_UPDATING_REMOTE_SESSION_INVALID_PARAMS
Error updating Remote Session on the ThingWorx Platform due to invalid parameters.
ERROR_BUILDING_REMOTE_ACCESS_SERVER_CLIENT
Error building Remote Access Server client.
ERROR_LOADING_REMOTE_ACCESS_MODEL_OBJECT
Error loading Remote Access model object from ThingWorx Platform.
ERROR_STARTING_REMOTE_SESSION
Error starting remote session on the Remote Access Server (GAS).
ERROR_BUILDING_AGENT_EGRESS
Error detected while building agent egress to connect to remote session.
ERROR_AGENT_CONNECT_SESSION
Error detected from agent when attempting to connect to remote session.
Was this helpful?