Posts: 794
Joined: Apr 2011
Reputation:
16
Mizaki
Posting Freak
Posts: 794
Have you tried it in another browser? What does it say in the console (press F12 and reload)? Is there a debug log?
Posts: 794
Joined: Apr 2011
Reputation:
16
Mizaki
Posting Freak
Posts: 794
It can't connect to the websocket. Have you got "allow other systems to control..." switch on in Kodi settings?
I think I put some fallback in the last update which has now been lost.
Posts: 63
Joined: Mar 2014
Reputation:
1
Yes... something like Yatse on the Android device can connect and manipulate Kodi with no problems at all.
Posts: 794
Joined: Apr 2011
Reputation:
16
Mizaki
Posting Freak
Posts: 794
I have no idea if Yaste uses websockets. It doesn't mean anything that it works. Unless you have a firewall blocking it the only reasonable reason that websockets can't connect is because "Allow programs on other systems to control Kodi" isn't turned on.
I'll see about re-adding the websocket fallback.
Posts: 794
Joined: Apr 2011
Reputation:
16
Mizaki
Posting Freak
Posts: 794
I've updated git with better websocket close handling. Try it out.
Posts: 794
Joined: Apr 2011
Reputation:
16
Mizaki
Posting Freak
Posts: 794
Yes, then it should work. It does for me.
You do not have "allow other systems" on or you have some other problem (firewall) preventing it from connecting to the websocket. I've made it louder on what it's trying. After the websocket is closed 3 times it will switch to polling (asking for information every 20 secs), instead of using notifications from websocket.
Posts: 63
Joined: Mar 2014
Reputation:
1
What port would you need to check for to open up the firewall?
Posts: 794
Joined: Apr 2011
Reputation:
16
Mizaki
Posting Freak
Posts: 794
9090 so it connects to ws://<your kodi server>:9090/jsonrpc?awxi
Line 3311 onwards in lib.xbmc.js
Posts: 166
Joined: Dec 2014
Reputation:
6
Works great on Google Canary, same as chrome but just gets updated a lot more of than normal chrome does!