WebSocket through Chromium Embedded Framework (CEF) Problems

Hello,

i am developing a cross-platform gui remote for kodi/osmc.
I connect using Websocket’s to :9090/jsonrpc but the Handshake fails.

Using Chrome directly or another Browser works as expectet.
I asume there is a “bug” that has Problems with “empty” User-Agent, “empty” because i cant provide your the right character that is provided by cef.

cef works with an own websocket server btw.

TCPdump looks like the this:
17:49:17.717052 IP (tos 0x0, ttl 64, id 19129, offset 0, flags [DF], proto TCP (6), length 429)
10.0.8.231.60556 > 10.0.8.233.websm: Flags [P.], cksum 0x79a7 (correct), seq 1:378, ack 1, win 4117, options [nop,nop,TS val 769086337 ecr 432609], length 377
E…J.@.@…

…#…’.b…y…
-.S…GET /jsonrpc HTTP/1.1
Host: 10.0.8.233:9090
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket
Origin: http://localhost:34000
Sec-WebSocket-Version: 13
User-Agent:
Accept-Encoding: gzip,deflate
Accept-Language: en-us,en
Sec-WebSocket-Key: hYXkpQWkQcHeLYzIpjQu3g==
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits

17:49:17.720619 IP (tos 0x0, ttl 64, id 13869, offset 0, flags [DF], proto TCP (6), length 52)
10.0.8.233.websm > 10.0.8.231.60556: Flags [.], cksum 0x9053 (correct), seq 1, ack 378, win 235, options [nop,nop,TS val 432609 ecr 769086337], length 0
E…46-@.@…

…#…b…S…
…-.S.

Thats where the response ends…

Any ideas?

Kind regards,
John

This is not directly related to OSMC. BElieve you can get better support at http://forum.kodi.tv/