Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML resp api failed on qt.network.ssl:QSslSocket: cannot resolve SSLv2_client_metho
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 4 Posters 392 Views
  • 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 Offline
    W Offline
    weza_hss
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      1
      • W Offline
        W Offline
        weza_hss
        wrote on last edited by
        #3

        @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...

        jsulmJ Pablo J. RoginaP 2 Replies Last reply
        0
        • W weza_hss

          @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...

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @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
          0
          • W weza_hss

            @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...

            Pablo J. RoginaP Offline
            Pablo J. RoginaP Offline
            Pablo J. Rogina
            wrote on last edited by
            #5

            @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
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved