WizQTClient
WizQTClient copied to clipboard
编出来的客户端登不上weizhi的服务器
想问下 开发服务器 #define WIZNOTE_API_SERVER "http://api.wiz.cn/"是这个么
Same issue here. It happened since Oct 23. 2018.
[DEBUG] set user , user type : 99 [DEBUG] set server : "http://api.wiz.cn/" [DEBUG] do local account verify , folder path : "[email protected]" [DEBUG] do account verify , server type : 99 "[email protected]" false [WARNING]: QSslSocket: cannot resolve SSLv2_client_method ((null):0, (null)) [WARNING]: QSslSocket: cannot resolve SSLv2_server_method ((null):0, (null)) [DEBUG] network status check, downloaded bytes : 0 last time : -1 uploaded bytes : 0 last time : -1 [DEBUG] network status check, downloaded bytes : 0 last time : 0 uploaded bytes : 0 last time : -1
原因是QT编译时使用的ssl与运行时的ssl版本不兼容。
请安装:
sudo apt install libssl1.0-dev
然后重新编译。
install libssl1.0-dev and recompile again.
ref: https://stackoverflow.com/questions/42094214/why-is-qsslsocket-working-with-qt-5-3-but-not-qt-5-7-on-debian-stretch
那Windows上怎么办呢?
使用的 .AppImage 2.5.8版本,存在Network error 安装libssl1.0-dev之后,一直在连接,但无反应。

Debian 9 stretch 64bit
Ubuntu 16.04 解决办法如下:
sudo apt-get install libssl-dev=1.0.2g-1ubuntu4.10