Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can't connect to secure websocket server after some time of inactivity
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 326 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hans Hupe
    wrote on last edited by Hans Hupe
    #1

    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!

    1 Reply Last reply
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved