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. QWebSocket disconnects without any notice
Qt 6.11 is out! See what's new in the release blog

QWebSocket disconnects without any notice

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 358 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.
  • mmjvoxM Offline
    mmjvoxM Offline
    mmjvox
    wrote on last edited by
    #1

    QWebSocket disconnects randomly and dosen't emit any signal as disconnected or closed or...
    only this error faces when going to send a message :

    QAbstractSocket::RemoteHostClosedError
    

    On server side (QWebSocket + QWebSocketServer) there isn't any close or disconnect signal or error.

    This happens on average 50 times a day.

    framework version for client:
    Qt 5.12.9 - windows(msvc) and linux

    framework version for server:
    static build of Qt 5.12.9 on centos gcc7

    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