Reconnecting after a connection interruption
If a client becomes detached from the ICE Server for any unexpected reason (expected reasons include quitting the app or logging out), the client will begin attempting to reestablish a connection to the ICE Server. It will choose the next appropriate available ingress address using the configured strategy; if the connection attempt fails for any reason, the next address will be tried and so on. The client will continue this process (using a backoff timer to rate-limit requests) until a connection is established or a terminal connection response is received by the client.
There are two terminal reconnect HTTP status codes that, when received, stop the client from trying to reconnect any more:
HTTP 401 - Not Authorized - Implies the user’s session has been terminated by the administrator or system. The user must log in with their username/password credential to regain access to the system. ICE clients
never store the user’s password on the device.
HTTP 601 - No License Available - Implies that all licenses are currently in use.
HTTP 514 - Session Expired - The user’s session has timed out or been terminated by an administrator; the user must reconnect using their username and password credentials.