Bug -  Web Socket transport is blocked when a message box is shown
While a message box is displayed on top of the GUI, such as, for example:

"Playback failed. One or more items failed to play. Check the log for more information about this message"
[ OK ]

at this moment it is impossible to send a command via the WS transport( ws://ipaddress:9090/jsonrpc ) - no acknowledge, taken action or response ever received even when trying to remotely close
this box with this command: {"jsonrpc":"2.0","method":"Input.Back","id":1}

The only way to revive the WS transport is to send the "Input.Back" command through the http transport:

URL: http://ipaddress:8080/jsonrpc
Content-Type: application/json
Data: {"jsonrpc":"2.0","method":"Input.Back","id":1}

Is it possible to fix it so that WS transport does not get blocked?

Kodi Version: 15.1 Git:2015-08-22-234ccf8. Android TV box
I have replicated this on both the webserver and json-rpc server (9090). WIth the JSON-RPC port it will still have an open socket but will not respond to commands sent to it until the dialog box is closed.

It seems to only freeze that one server (whether it be webserver or json-rpc).
Guys, any news about this bug?
I'm not able to reproduce this bug anymore.
Tested it in all ways.

One thing: when user interaction iface (popup, input popup, etc.) shown, than responses may be much slower.

Plese, take it in consideration, when implementing your own JSON-RPC Websockets client.

My Kodi and OS versions: https://snag.gy/1Gx5li.jpg.

I'm tested with official build for Windows, downloaded from https://kodi.tv/download.
Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help
Web Socket transport is blocked when a message box is shown00