Qt6WebSockets.dll has a serious bug which stuck it and an application cannot to reconnect.
-
After a few hours of the work, the client websocket connection suddenly closes without any messages and can't be established again. Deleting and creation the QWebSocket object doesn't fix situation. Strange moment, one link termination happens always at local 9:14am every day. Closing the application and starting it again avoids the problem up to the next fail disconnect. This means the problem located in some external dll. That's same for Windows 10 and 11. Single solution I see, is a "suicide" function in the application, which will to close it on unrecoverable disconnect and it will run again by external "dispatcher"...
-
The application does not crash. It works normally, but can't to reconnect websockets. When application trying to connect again, it receives a "disconnect" signal immediately, without a "connect" signal. The "closeReason()" function of the qwebsocket object returns an empty string.
For testing in a debug mode need to make more lightweight application due heavy load of the original application.