Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
6.4.0
-
None
-
-
69e2b30057 (qt/qtwebsockets/dev) 69e2b30057 (qt/tqtc-qtwebsockets/dev) e4ada4e19e (qt/qtwebsockets/6.4) e4ada4e19e (qt/tqtc-qtwebsockets/6.4)
Description
When I use my code to connect to my MQTT server over WebSocket using QT 6.3.2, everything works perfectly.
But when I compiled the exact same code with QT 6.4.0, the connection to my MQTT server over websockets always timesout with no error messages.
There's no compiler errors.
If I compile for WebAssembly, everything works. I assume webassembly do not use any of the network and ssl libraries used by IOS & OSX, so I suspect something is wrong with the network and/or ssl libraries.
By the way, I also tested with the WebSocket MQTT example and I get the same issue. If I compile using version 6.3.2, the MQTT connection connects perfectly over websockets. If I compile the exact same code using version 6.4.0, the MQTT connection timesout.
Attachments
For Gerrit Dashboard: QTBUG-108276 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
443485,5 | Update websocket example to use the new sub-protocol feature | dev | qt/qtmqtt | Status: MERGED | +2 | 0 |
443526,9 | QWebSocket: honor subprotocols specified with setRawHeader | dev | qt/qtwebsockets | Status: MERGED | +2 | 0 |
444669,2 | Update websocket example to use the new sub-protocol feature | 6.4 | qt/qtmqtt | Status: MERGED | +2 | 0 |
445038,2 | QWebSocket: honor subprotocols specified with setRawHeader | 6.4 | qt/qtwebsockets | Status: MERGED | +2 | 0 |