Hi UA,
I just found that the connection hang in UaExpert also causes the uaserver shutdown to hang.
Server version used: beta 1.4
UaExpert version: 1.2.2 175
Steps to repro:
1) UaExpert connects to the Demo Server using the None endpoint
>>things work fine
2) UaExpert disconnects from the server
3) UaExpert then connects using Basic256. But UaExpert is untrusted, so connection won't get through
4) Do step (1) again
>>Note UaExpert hangs
5) Shut down demo server.
>>Note server shutdown also hangs. Trace is below
Thanks again,
Haydee
---- portions of the srvTrace----
12:37:30.593Z|4|0C44* ==> UaServerApplication::stop
12:37:30.593Z|6|0C44* --> UaObjectServer::startServerShutDown
12:37:30.593Z|6|0C44* <-- UaObjectServer::startServerShutDown
12:37:30.593Z|6|0C44* --> SessionManager::startServerShutDown
12:37:30.593Z|6|0C44* <-- SessionManager::startServerShutDown - numberOfClients=1
12:37:33.604Z|4|0C44* --> UaModule::shutDown
12:37:33.604Z|6|0C44* --> UaServer::shutDown
12:37:33.604Z|4|06DC* <== UaServer::run
12:37:33.604Z|6|0C44* --> SessionManager::closeAllUaSessions
12:37:33.604Z|6|0C44* --> UaSession::close [ID=1780939912] deleteSubscriptions = true
12:37:33.604Z|6|0C44* --> UaSubscription::close [SubID=2]
12:37:33.604Z|4|0C44* STATE of UaSubscription changed to CLOSED [SubID=2]
12:37:33.604Z|6|0C44* Started internal StopMonitoring transaction [SubID=2] [TransactionID=1]
12:37:33.604Z|6|0C44* --> EventManagerBase::beginEventTransaction
12:37:33.604Z|6|0C44* <-- EventManagerBase::beginEventTransaction [ret=0x0]
12:37:33.604Z|6|0C44* --> EventManagerBase::beginStopMonitoring hEventItem = 1
12:37:33.604Z|5|0C44* Dtor EventFilter
12:37:33.604Z|6|0C44* <-- EventManagerBase::beginStopMonitoring [ret=0x0]
12:37:33.604Z|6|0C44* --> EventManagerBase::beginEventTransaction
12:37:33.604Z|6|0C44* <-- EventManagerBase::beginEventTransaction [ret=0x0]
12:37:33.604Z|6|0C44* --> EventManagerBase::beginStopMonitoring hEventItem = 1
12:37:33.604Z|5|0C44* Dtor EventFilter
12:37:33.604Z|7|0C44* Dtor UaMonitoredItem
12:37:33.604Z|6|0C44* UaSubscription::finishStopMonitoring - Finished internal stop monitoring of items
12:37:33.604Z|6|0C44* UaSubscription::finishStopMonitoring - Finished StopMonitoring transaction [SubID=2] [TransactionID=1]
12:37:33.604Z|6|0C44* <-- EventManagerBase::beginStopMonitoring [ret=0x0]
12:37:33.604Z|6|0C44* --> EventManagerBase::finishEventTransaction
12:37:33.604Z|6|0C44* <-- EventManagerBase::finishEventTransaction [ret=0x0]
12:37:33.604Z|6|0C44* --> EventManagerBase::finishEventTransaction
12:37:33.604Z|6|0C44* <-- EventManagerBase::finishEventTransaction [ret=0x0]
12:37:33.604Z|6|0C44* <-- UaSubscription::close [ret=0x0]
12:37:33.604Z|6|0C44* <-- UaSession::close [ret=0x0]
12:37:33.604Z|6|0C44* --> UaSession::cancelPublishRequests [ID=1780939912]
12:37:33.604Z|6|0C44* <-- UaSession::cancelPublishRequests [ret=0x0]
12:37:33.604Z|6|0C44* <-- SessionManager::closeAllUaSessions
12:37:33.604Z|6|0C44* --> UaTransactionManager::shutDown
12:37:33.604Z|6|0C44* <-- UaTransactionManager::shutDown [ret=0x0]
12:37:33.604Z|6|0C44* --> UaTransactionManager::shutDown
12:37:33.604Z|6|0C44* <-- UaTransactionManager::shutDown [ret=0x0]
12:37:33.604Z|5|0C44* Dtor UaTransactionManager
12:37:33.604Z|6|0C44* --> UaSubscriptionManager::shutDown
12:37:33.682Z|6|0E08* --> UaSubscription::close [SubID=2]
12:37:33.682Z|6|0E08* <-- UaSubscription::close - already closed
12:37:33.682Z|5|0E08* --> Dtor UaSubscription [SubID=2]
12:37:33.682Z|5|0E08* <-- Dtor UaSubscription
12:37:39.516Z|4|1540* [uastack] OpcUa_SecureListener_ChannelManager_TimerCallback: Checking Channels for lifetime expiration!
UaExpert hang causes server shutdown to hang
Moderator: uasdkcpp
-
- Sr. Member
- Posts: 16
- Joined: 03 Jul 2013, 06:03
- Support Team
- Hero Member
- Posts: 3078
- Joined: 18 Mar 2011, 15:09
Re: UaExpert hang causes server shutdown to hang
The version you are using is a very early Beta version. This version had several issues that are already solved. We can not reproduce any error you describe using the actual version. It makes no sense to use this 6 month old Beta. There was already delivered a newer Beta version to you, please use that version and re-test your scenario again.Server version used: beta 1.4
Best Regards
Support Team
-
- Sr. Member
- Posts: 16
- Joined: 03 Jul 2013, 06:03
Re: UaExpert hang causes server shutdown to hang
thanks! It's fixed in the newer beta