Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Can't connect to secure websocket server after some time of inactivity



  • Hello,

    I implemented a SSL websocket server based on the example (SSL Echo Server Example) and generated my certificates with OpenSSL. It works basically, but unfortunately after running my application for a longer time (some hours) without any activities like client connections it doesn't work anymore. Thus I have this issue every day in the morning as there are no connections during the night. When a client tries to connect there is no log output or error message in my application, just an error message on the client (I tried different browsers) (ERROR: undefined) - the same behavior as the server wouldn't be running.

    It's really hard to debug, because I don't see any reaction on the server side, so any idea would be very helpful, thanks!


Log in to reply