kasim1011/OdooJsonRpcClient

Handshake failed

fanha99 opened this issue · 3 comments

hi
I tested on my xiaomi Mi 6 which is installed the chinese version of rom.
when I try to connect to testing server (odoo 11) on Lan. I got error on the app: "Handshake failed".

the debug info of app:

D/OkHttp: --> POST https://192.168.5.120:8079/web/webclient/version_info
    Content-Type: application/json; charset=UTF-8
    Content-Length: 54
    User-Agent: MI 6
D/OkHttp: {"id":"1","jsonrpc":"2.0","method":"call","params":{}}
    --> END POST (54-byte body)
D/OkHttp: <-- HTTP FAILED: javax.net.ssl.SSLHandshakeException: Handshake failed

on the odoo server I got this message:

code 400, message Bad request version ('\x00\x02\x01\x00\x00')
 � ��������������� � ��     � � �hhttp/1.1 � ��  " HTTPStatus.BAD_REQUEST

what can I do?

error

sorry, after update the code and rebuild. I can input the username and password now.
but there is no database to choice, so still couldn't login.

update:
after remove "dbfilter = ^%d$" in the odoo config file, I can connect to my LAN server now.

@fanha99

Thanks for sharing the above information. It may helpful to other users.