Create UA server failed

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
qingmeng
Full Member
Full Member
Posts: 8
Joined: 21 Nov 2018, 11:05

Create UA server failed

Post 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!

User avatar
Support Team
Hero Member
Hero Member
Posts: 2522
Joined: 18 Mar 2011, 15:09

Re: Create UA server failed

Post 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.
Best regards
Unified Automation Support Team

Post Reply