Page 1 of 1

OpcuaServer crashes if UaExpert client is connected and Monitoring

Posted: 16 Sep 2022, 09:41
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

Re: OpcuaServer crashes if UaExpert client is connected and Monitoring

Posted: 09 Mar 2023, 19:35
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.