[Web Interface Addon] AWXi - Ajax Based Web Interface

  Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Mizaki Offline
Fan
Posts: 737
Joined: Apr 2011
Reputation: 14
Post: #781
Good to hear.

Would be nice if others who have had the buttons/volume not binding could confirm it works with latest git.

[Image: watched-clearlogo.jpg]
AWXi - Ajax web interface. Wiki
find quote
tmacca Offline
Junior Member
Posts: 2
Joined: Mar 2015
Reputation: 0
Post: #782
Hi Mizaki

Same problem here for me. I have tested in 2 or 3 different browsers. If I clear the browser cache, I can get it to work once, but the next time I visit the page its gone again. Clearing the cache works again - until next time I visit

WebSocket connection to 'ws://192.168.0.231:9090/jsonrpc?awxi' failed: Error during WebSocket handshake: Invalid status line

weirdly, I cannot see port 9090 (JSON-RPC) open

I have set the options in Kodi -

- Allow control of Kodi via HTTP - ON
- Allow programs on this system to control Kodi - ON
- Allow programs on other systems to control Kodi - ON


osmc@osmc:~$ sudo netstat -lp --inet
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:36666 *:* LISTEN 299/kodi.bin
tcp 0 0 *:1183 *:* LISTEN 299/kodi.bin
tcp 0 0 *:1071 *:* LISTEN 299/kodi.bin
tcp 0 0 *:57807 *:* LISTEN 190/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 180/rpcbind
tcp 0 0 *:http-alt *:* LISTEN 299/kodi.bin
tcp 0 0 *:1169 *:* LISTEN 299/kodi.bin
tcp 0 0 osmc:domain *:* LISTEN 205/connmand
tcp 0 0 *:ssh *:* LISTEN 208/sshd
udp 0 0 *:15393 *:* 299/kodi.bin
udp 0 0 *:9777 *:* 299/kodi.bin
udp 0 0 osmc:domain *:* 205/connmand
udp 0 0 *:sunrpc *:* 180/rpcbind
udp 0 0 osmc-livingroom.the:ntp *:* 251/ntpd
udp 0 0 osmc:ntp *:* 251/ntpd
udp 0 0 *:ntp *:* 251/ntpd
udp 0 0 *:mdns *:* 219/avahi-daemon: r
udp 0 0 *:33027 *:* 190/rpc.statd
udp 0 0 *:777 *:* 180/rpcbind
udp 0 0 osmc:790 *:* 190/rpc.statd
udp 0 0 *:60714 *:* 219/avahi-daemon: r
udp 0 0 *:1900 *:* 299/kodi.bin

osmc@osmc:~$ sudo netstat -lp --inet | grep "$299/"
tcp 0 0 *:36666 *:* LISTEN 299/kodi.bin
tcp 0 0 *:1183 *:* LISTEN 299/kodi.bin
tcp 0 0 *:1071 *:* LISTEN 299/kodi.bin
tcp 0 0 *:http-alt *:* LISTEN 299/kodi.bin
tcp 0 0 *:1169 *:* LISTEN 299/kodi.bin
udp 0 0 *:15393 *:* 299/kodi.bin
udp 0 0 *:9777 *:* 299/kodi.bin
udp 0 0 *:1900 *:* 299/kodi.bin



Even stranger - I can see 9090 open on ipv6, but not on v4


osmc@osmc:~$ sudo netstat -lp | grep "$299/"
tcp 0 0 *:36666 *:* LISTEN 299/kodi.bin
tcp 0 0 *:1183 *:* LISTEN 299/kodi.bin
tcp 0 0 *:1071 *:* LISTEN 299/kodi.bin
tcp 0 0 *:http-alt *:* LISTEN 299/kodi.bin
tcp 0 0 *:1169 *:* LISTEN 299/kodi.bin
tcp6 0 0 [::]:36666 [::]:* LISTEN 299/kodi.bin
tcp6 0 0 [::]:36667 [::]:* LISTEN 299/kodi.bin
tcp6 0 0 [::]:9090 [::]:* LISTEN 299/kodi.bin
tcp6 0 0 [::]:http-alt [::]:* LISTEN 299/kodi.bin
udp 0 0 *:15393 *:* 299/kodi.bin
udp 0 0 *:9777 *:* 299/kodi.bin
udp 0 0 *:1900 *:* 299/kodi.bin
unix 2 [ ACC ] STREAM LISTENING 9224 299/kodi.bin /var/tmp/osmc.settings.sockfile
unix 2 [ ACC ] STREAM LISTENING 7558 299/kodi.bin /var/tmp/osmc.settings.update.sockfile
unix 2 [ ACC ] STREAM LISTENING 9248 299/kodi.bin /home/osmc/.kodi/temp/commoncache.socket
(This post was last modified: 2015-03-22 15:06 by tmacca.)
find quote
tmacca Offline
Junior Member
Posts: 2
Joined: Mar 2015
Reputation: 0
Post: #783
Just to add to the above post - I *think* the reason it seems to work sometimes and not others is something to do with ipv6.

On the occasions that it does work, it seems to be connected using ipv6. But even that is a little bit hit and miss, as it doesn't always pick up the ipv6 connection.
find quote
Mizaki Offline
Fan
Posts: 737
Joined: Apr 2011
Reputation: 14
Post: #784
Is this with git version? It shouldn't care about websocket (in a way).

TCP6 for me too, so looks fine.
Code:
netstat -anlp | grep 9090
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp6       0      0 :::9090                 :::*                    LISTEN      27500/kodi.bin

[Image: watched-clearlogo.jpg]
AWXi - Ajax web interface. Wiki
(This post was last modified: 2015-03-23 22:49 by Mizaki.)
find quote
Post Reply