I used sample_client connect uaserverhp, it worked, but it would disconnect after 6-8 mins
The error messages on server like this:
Code: Select all
E|20:17:42.069864|25803| uatcpmsg_close_channel: ERROR channel 36553176 not found E|20:17:42.070028|25803| uasession_uatcpmsg_close_channel_complete: channel 922849536 close failed with -22 E|20:17:42.896736|25803| uasession_dispatch_message: could not find channel 922849536 E|20:17:42.896899|25803| **** uatcpmsg_uasession_dispatch_message_complete: message dispatching failed with -22 E|20:17:42.897038|25803| **** uatcpmsg_peer_recv_complete: Receive failed with -17, Message 0x22d85b0
And the other problem is reconnect of subscription.
While the above error is occurred, sample_client tried to reconnect subscriptions (if it has subscriptions before disconnect).
The state of finite state machine is 2->13->10->11->5->2 (created->disconnect->wait for publish->republishing->wait for recreate item->created)
I think it maybe lack a state 4, recreate item, between 5 and 2.