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
OpcuaServer crashes if UaExpert client is connected and Monitoring
Moderator: uasdkcpp
-
- Jr. Member
- Posts: 2
- Joined: 16 Sep 2022, 09:19
- Support Team
- Hero Member
- Posts: 3070
- Joined: 18 Mar 2011, 15:09
Re: OpcuaServer crashes if UaExpert client is connected and Monitoring
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.
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
Unified Automation Support Team