Details
-
Bug
-
Status: Closed
-
P2: Important
-
Resolution: Invalid
-
5.12.0 RC
-
None
-
None
-
Ubuntu 18.04.1 LTS
openssl 1.1.0g
Firefox 63.0.3 (64-bit)
Description
Hello,
Today I submitted earlier bug related to Qt Websockets - https://bugreports.qt.io/browse/QTBUG-72011
After installing Qt 5.12 rc with Qt Creator 4.8 rc I did try to build SSL websocket client and server examples that did come with Qt 5.12 rc. As I pointed out in QTBUG-72011, running websocket client and server (C+) works now. What does not work is trying to use sslechoclient.html (located in sslechoserver project) to connect to same ssl web socket server example (C+)
firefox sslechoclient.html
I added onError() code which is visible in attached screen shot.
Error 1015 according to https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent
"Indicates that the connection was closed due to a failure to perform a TLS handshake (e.g., the server certificate can't be verified)"
No sources were modified except me adding eve.code in onclose()