-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.5.0
-
None
-
Win 7 x86, VS 2010
Trying to connect to 3rd party websockets server and sometimes connection successful, sometimes not.
Error output:
QAbstractSocket::ConnectionRefusedError "QWebSocketPrivate::processHandshake: Connection closed while reading header."
QAbstractSocket::ConnectionRefusedError "Invalid statusline in response: upgrade: websocket\r\n."
QAbstractSocket::ConnectionRefusedError "Invalid statusline in response: connection: Upgrade\r\n."
QAbstractSocket::ConnectionRefusedError "Invalid statusline in response: sec-websocket-accept: lssSn848w3ryEO8PQwaR9svd7ZA=\r\n."
QAbstractSocket::ConnectionRefusedError "Invalid statusline in response: \r\n."
Wireshark output:
GET /rtlscp/location/stream/ HTTP/1.1
Host: 192.168.18.200:9003
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: BSADkFnVrGpl5bJy9Kf6Uw==
Sec-WebSocket-Version: 13HTTP/1.1 101 Switching Protocols
upgrade: websocket
connection: Upgrade
sec-websocket-accept: lssSn848w3ryEO8PQwaR9svd7ZA=