Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Qt6WebSockets.dll has a serious bug which stuck it and an application cannot to reconnect.

Qt6WebSockets.dll has a serious bug which stuck it and an application cannot to reconnect.

Scheduled Pinned Locked Moved Unsolved Qt 6
4 Posts 2 Posters 676 Views
  • 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.
  • Z Offline
    Z Offline
    Zuborg
    wrote on last edited by Zuborg
    #1

    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"...

    1 Reply Last reply
    0
    • E Offline
      E Offline
      e2002e
      wrote on last edited by
      #2

      Don't you get any log when it crashes ?
      If not then start your application under debugger.

      Z 1 Reply Last reply
      0
      • Z Offline
        Z Offline
        Zuborg
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • E e2002e

          Don't you get any log when it crashes ?
          If not then start your application under debugger.

          Z Offline
          Z Offline
          Zuborg
          wrote on last edited by
          #4

          Addition: probably, this fault appears on 100% CPU load.

          1 Reply Last reply
          0

          • Login

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