Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QML resp api failed on qt.network.ssl:QSslSocket: cannot resolve SSLv2_client_metho

    QML and Qt Quick
    4
    5
    174
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      weza_hss last edited by

      Dear experts,

      More time again, I need your help to better understand what happen in my QML solution.

      This is the problem, I cannot calling a REST API to get some data...
      For connect to the rest api server I am using the javascript XMLHttpRequest, that return theses errors:

      qt.network.ssl: QSslSocket: cannot_revolve_SSLv2_client_method
      qt.network.ssl: QSslSocket: cannot_revolve_SSLv2_server_method

      So, searching on google apperently the fix is change the openssl version to the 1.1.1 ... Like some people comment that it work. But not for me :)

      THIS IS MY ENVIRONMENT :

      • OS ubuntu 16.04
      • openssl 1.1.1d ( installed by me this version)
      • QT_5_5_1
      • REST API ( running the same network...)
      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        Qt 5.5.1 uses OpenSSL 1.0.X.

        OpenSSL 1.1 is not backward compatible with OpenSSL 1.0.

        So either update Qt to a current version or install the latest of the OpenSSL 1.0 series.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 1
        • W
          weza_hss last edited by

          @SGaist said in QML resp api failed on qt.network.ssl:QSslSocket: cannot resolve SSLv2_client_metho:

          1.0.

          Hi SGaist,

          I cannot found a version of QT5.11 to install on my system. Second the Openssl version that I have installed on my OS is 1.1.1d that is the last: https://www.openssl.org/source/

          Is gso bad cannot solve this problem, because the openssl is not working correctly...

          jsulm Pablo J. Rogina 2 Replies Last reply Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion @weza_hss last edited by

            @weza_hss said in QML resp api failed on qt.network.ssl:QSslSocket: cannot resolve SSLv2_client_metho:

            I cannot found a version of QT5.11 to install on my system

            You probably mean you can't find it via apt?
            That's because Ubuntu does not provide it.
            But you can download the online installer and install whatever version you want.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • Pablo J. Rogina
              Pablo J. Rogina @weza_hss last edited by

              @weza_hss said in QML resp api failed on qt.network.ssl:QSslSocket: cannot resolve SSLv2_client_metho:

              I have installed on my OS is 1.1.1d that is the last

              It's the last for the 1.1.x release.

              You were told by @SGaist to "install the latest of the OpenSSL 1.0 series" see here

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              1 Reply Last reply Reply Quote 1
              • First post
                Last post