-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server crashes during restart #109
Comments
Error Description: After restarting the application, the channel should be reopened by the client. The client wants to reuse the previous channel and sends a reconnect open secure channel request. The channel does not exist anymore. Therefore, the server closes the connection. Thereafter, the server accesses the closed socket again. Error Fixing: |
The error description described above has not been confirmed. Testing with multiple OPC UA clients (Prosys OPC UA Client and UAExpert) did not cause any crashes. @FLIPBack - Can you provide a CORE dump for this bug? |
It could be a problem specific to Windows. The cancel command
The cancel command should be replaced by the close command. Maybe that fixes the bug. |
I'll try. Unfortunately the bug's always appearing then I'm focusing on other problem, but when I try it repeat on purpose I've never had success 😕 |
Sorry, can't understand where and what I should replace. |
You do not have to do anything. I have replaced the cancel command in the Secure Channel with the Close command. |
@huebl , I see. If you add |
I hope so |
I mean PR's description on GitHub not the commit. |
If the server restart and there are connected clients, it crushes sometimes with the following message in the log:
Restart sequence:
where
opc_server
isstd::shared_ptr<OpcUaStackServer::Server>
OS: Windows 7
Version: 3.6.2
The text was updated successfully, but these errors were encountered: