Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72014

SSL websocket html now working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 5.12.0 RC
    • WebSockets
    • None
    • Ubuntu 18.04.1 LTS
      openssl 1.1.0g
      Firefox 63.0.3 (64-bit)
    • Linux/X11

      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()

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            manordheim Mårten Nordheim
            oxoocoffee Robert J. Gebis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes