Page 1 of 1

Create UA server failed

Posted: 03 Mar 2020, 12:05
by qingmeng
Hi team,

I just used your SDK to create the OPC UA server, and is works well in my PC.
But this sometime will fail with ohter PCs.
And the ret will be 0, which indicates that there is on error when create this server, so I do not know the reason.
You can see the trace log file.
** urn:shi6w1283:UnifiedAutomation:MCDUaServerCpp: start trace
** Product version: Unified Automation GmbH C++ SDK OPC UA Demo Server 1.7.0.449
** Date: 2020-03-03
************************
************************

10:14:58.207Z|4|4600* <-- UaModule::startUp [ret=0]
10:14:58.207Z|4|4600* <== UaCoreServerApplication::start
10:14:58.207Z|4|07A8* ==> UaServer::run - Background purge and discovery registration thread started
10:15:08.206Z|4|0FBC* [uastack] OpcUa_SecureListener_ChannelManager_TimerCallback: Checking Channels for lifetime expiration!
10:15:18.204Z|4|0FBC* [uastack] OpcUa_SecureListener_ChannelManager_TimerCallback: Checking Channels for lifetime expiration!
10:15:28.215Z|4|0FBC* [uastack] OpcUa_SecureListener_ChannelManager_TimerCallback: Checking Channels for lifetime expiration!
10:15:38.213Z|4|0FBC* [uastack] OpcUa_SecureListener_ChannelManager_TimerCallback: Checking Channels for lifetime expiration!

Look forward your help.
thanks!

Re: Create UA server failed

Posted: 02 Jun 2020, 15:31
by Support Team
Hello qingmeng,

the trace you posted does not indicate any error. Please change the trace level in the server configuration to Application=Data, Stack=Debug. That will give us more information about the server start.
Please send the trace file to our support [at] unified-automation.com EMail address.