Giter Site home page Giter Site logo

Comments (3)

Harinlen avatar Harinlen commented on July 20, 2024 1

Bug 问题已经确认,Win10下找不到相关的SSL库导致相关SSL库函数无法重定向。从而无法发起SSL对话,反馈为网络无法连接问题。
Bug has been located. Qt network module cannot find SSL libraries and some functions cannot be resolved. So that it cannot start SSL connection and report a connection error.

from mu.

Harinlen avatar Harinlen commented on July 20, 2024

64-bit Windows 7 Ultimate 版下使用Qt 5.6.0+MSVC编译,输出若干函数无法确定的问题:

qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_client_method
qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_client_method
qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_server_method
qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_server_method
qt.network.ssl: QSslSocket: cannot resolve SSL_select_next_proto
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_next_proto_negotiated

初步确定是SSL库缺少导致的问题,使用 OpenSSL x64 1.0.2h 中的dll文件进行逐一检测,发现将libeay32.dll与ssleay32.dll复制后不再显示该问题。等待稍后使用Windows 10进行测试。

Testing under 64-bit Windows 7 Ultimate with Qt 5.6.0+MSVC, Qt output several problems with the function cannot be resolved.

qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_client_method
qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_client_method
qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_server_method
qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_server_method
qt.network.ssl: QSslSocket: cannot resolve SSL_select_next_proto
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_next_proto_negotiated

It could be initially ensured that this is caused by lacking of OpenSSL library files. After analysising with OpenSSL x64 1.0.2h and copying the dll to the directory, we found out that after coping libeay32.dll and ssleay32.dll there's no output of those 'cannot resolve'. It is still waiting for testing under Windows 10.

from mu.

Harinlen avatar Harinlen commented on July 20, 2024

Windows 10 下测试通过,之后的Windows发行版将会携带libeay32的相关文件。
Tested under Windows 10, passed. All the following release will add libeay32 related files.

from mu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.