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

SSL websocket html now working

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 5.12.0 RC
    • Fix Version/s: None
    • Component/s: WebSockets
    • Labels:
      None
    • Environment:
      Ubuntu 18.04.1 LTS
      openssl 1.1.0g
      Firefox 63.0.3 (64-bit)
    • Platform/s:
      Linux/X11

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

       

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes