WebSocket qml:Messages can only be sent when the socket is open.
Solved
QML and Qt Quick
-
I tried exposing my WebSocket server through a Cloudflare Tunnel. It works fine on other online sites via wss://mysite.com, but in QML, the WebSocket connection fails with the message 'Messages can only be sent when the socket is open.' Direct localhost connections work, how to fix it ?
-