QML resp api failed on qt.network.ssl:QSslSocket: cannot resolve SSLv2_client_metho
-
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_methodSo, 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...)
-
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.
-
@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...
-
@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...
@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. -
@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...
@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