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

WebSocket and ws works, wss won't

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.4.0
    • WebSockets
    • None
    • Windows, Qt5.4 (mingw/msvc)

      I tried to make a connection between my app and any web socket server with secure connection. Testing application is the one of those placed in Qt examples "sslechoclient"

      On Linux/osx everything is ok but on windows websocket state won't be changed to "Open". After QAbstractSocket::ConnectingState nothing happens.

      QSslSocket::supportSsl() returns true. QNetworkAccessManager works good with https, QSslSocket can make encrypted connection on 443 port successfully

      Just as in example, I'm trying to ignore ssl erros but:

      void SslEchoClient::onSslErrors(const QList<QSslError> &errors)

      {...}

      isn't executed (connection between signal/slot has been set properly)

      Application won't show me any warning/any error, just nothing. I can't figure out what can be wrong here.

      I'm using the latest version of openssl libraries provided as .dll files to the app root directory

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

            kurt.pattyn Kurt Pattyn
            krzysztoff7 Krzysztof
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes