Our client side program has successfully connected with cloud TRCC.
During my re-connection testing, after some POST messages are sent out successfully to TRCC, I plug out the network cable and re-plug in 1 min later.
A status msg with state="Closed, Recoverable / Suspect / None / 'channel down.' is callback, and then EMA starts to re-connect and re-authenticate automatically.
However, from the trace log, the ‘TunnelStream Open request’ could NOT be seen. Just ‘Device Login request’ and ‘SOURCE request’ are sent out, and re-sent continuously in a constant interval.
So that causes there is NO chance to callback onStatusMsg() for client sending ‘TRCC AAA Login request’ out during re-connection, and program dead loop.
As soon as connection goes down, there is no recovery on Tunnel Stream, since Tunnel Stream is closed. And once the connection is recovered, the application creates a new Tunnel Stream.