OpcuaServer crashes if UaExpert client is connected and Monitoring

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

Moderator: uasdkcpp

Post Reply
sahnnu16
Jr. Member
Jr. Member
Posts: 2
Joined: 16 Sep 2022, 09:19

OpcuaServer crashes if UaExpert client is connected and Monitoring

Post by sahnnu16 »

Hello Team


I am developing OpcuaServer using C++ UA SDK . Upon stopping the server process from service manager the server crashes if it is connected to UaExpert client and it has Monitoring tags.

Any hint will be helpful how to implement the stop server functionality correctly

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

Re: OpcuaServer crashes if UaExpert client is connected and Monitoring

Post by Support Team »

Hi,

we can not reproduce the issue, and we do shutdown the server all the time when still being connected with the UaExpert and monitoring.

The server will send shutdown notification to all connected clients and disconnect the endpoints und finally shut down. The client may run into their reconnect loops and try again to connect while server is still shuting down. However, it works like a charm.

Please check with C++ DemoServer and UaExpert.
Best regards
Unified Automation Support Team

Post Reply