“CLOSE_RECOVERY" Dead Loop

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.



https://myloweslife.onl/

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.

Best Answer

Answers