Page 1 of 1

sudden issues with Kodi

Posted: Monday 11 April 2016 21:10
by nosehook
Hi,

I suddenly get errors in my log with regard to Kodi:

Code: Select all

2016-04-11 21:08:15.931 EventSystem: Script event triggered: kodiw3
2016-04-11 21:08:16.379 Hardware Monitor: Fetching data (System sensors)
2016-04-11 21:08:16.576 LUA: kodi status On
2016-04-11 21:08:16.576 LUA: media type No media
2016-04-11 21:08:16.579 EventSystem: Script event triggered: kodiw3
2016-04-11 21:08:17.196 Harmony Hub: Error pinging server.. Resetting connection.
2016-04-11 21:08:42.462 Kodi: Restarting I/O service thread.
2016-04-11 21:08:42.463 Error: Kodi: (Kodi woonkamer) Code -32601 Text 'Method not found.' ID '1007' Request '{"jsonrpc":"2.0","method":"JSONRPC.Ping","id":1001}'
2016-04-11 21:08:42.464 Error: Kodi: (Kodi woonkamer) Code -32601 Text 'Method not found.' ID '1001' Request '{"jsonrpc":"2.0","method":"JSONRPC.Ping","id":1001}'
2016-04-11 21:08:46.505 Hardware Monitor: Fetching data (System sensors)
2016-04-11 21:08:46.695 LUA: kodi status On
2016-04-11 21:08:46.696 LUA: media type No media

the debug shows:

Code: Select all

2016-04-11 21:18:47.150 EventSystem: Script event triggered: kodiw3
2016-04-11 21:18:47.152 Kodi: (Kodi woonkamer) Disonnected.
2016-04-11 21:18:48.088 Kodi: (Kodi woonkamer) Connected to '192.168.0.113:9090'.
2016-04-11 21:18:48.092 Kodi: (Kodi woonkamer) Event: 'On'.
2016-04-11 21:18:48.151 LUA: kodi status Off
2016-04-11 21:18:48.152 LUA: media type No media
2016-04-11 21:18:48.154 EventSystem: Script event triggered: kodiw3
2016-04-11 21:18:48.156 Kodi: (Kodi woonkamer) Sending data: '{"jsonrpc":"2.0","method":"System.GetProperties","params":{"properties":["canhibernate","cansuspend","canshutdown"]},"id":1007}'
2016-04-11 21:18:49.012 Hardware Monitor: Fetching data (System sensors)
2016-04-11 21:18:49.157 Kodi: (Kodi woonkamer) Sending data: '{"jsonrpc":"2.0","method":"JSONRPC.Ping","id":1001}'
2016-04-11 21:18:49.194 LUA: kodi status On
2016-04-11 21:18:49.194 LUA: media type No media
2016-04-11 21:18:49.197 EventSystem: Script event triggered: kodiw3
2016-04-11 21:18:52.905 Kodi: Restarting I/O service thread.
2016-04-11 21:18:52.906 Kodi: (Kodi woonkamer) Handling message: '{"error":{"code":-32601,"message":"Method not found."},"id":1007,"jsonrpc":"2.0"}'.
2016-04-11 21:18:52.907 Error: Kodi: (Kodi woonkamer) Code -32601 Text 'Method not found.' ID '1007' Request '{"jsonrpc":"2.0","method":"JSONRPC.Ping","id":1001}'
2016-04-11 21:18:52.907 Kodi: (Kodi woonkamer) Handling message: '{"error":{"code":-32601,"message":"Method not found."},"id":1001,"jsonrpc":"2.0"}'.
2016-04-11 21:18:52.908 Error: Kodi: (Kodi woonkamer) Code -32601 Text 'Method not found.' ID '1001' Request '{"jsonrpc":"2.0","method":"JSONRPC.Ping","id":1001}'
2016-04-11 21:19:01.205 LUA: Domoticz alive !
2016-04-11 21:19:01.234 LUA: kodi status On
2016-04-11 21:19:01.235 LUA: media type No media
2016-04-11 21:19:01.238 EventSystem: Script event triggered: kodiw3
2016-04-11 21:19:19.136 Hardware Monitor: Fetching data (System sensors)
2016-04-11 21:19:19.163 Kodi: (Kodi woonkamer) Sending data: '{"jsonrpc":"2.0","method":"JSONRPC.Ping","id":1001}'
2016-04-11 21:19:19.166 Kodi: (Kodi woonkamer) Handling message: '{"error":{"code":-32601,"message":"Method not found."},"id":1001,"jsonrpc":"2.0"}'.
2016-04-11 21:19:19.167 Error: Kodi: (Kodi woonkamer) Code -32601 Text 'Method not found.' ID '1001' Request '{"jsonrpc":"2.0","method":"JSONRPC.Ping","id":1001}'
2016-04-11 21:19:19.318 LUA: kodi status On
2016-04-11 21:19:19.318 LUA: media type No media
2016-04-11 21:19:19.321 EventSystem: Script event triggered: kodiw3
I tried to google and seach this forum but can not find the cause..

Any hints/ideas?

Re: sudden issues with Kodi

Posted: Wednesday 13 April 2016 7:58
by Dnpwwo
Can you supply more details including:
  • Which version of Domoticz on what platform
  • Which version of Kodi
  • Anything changed on your setup recently
  • What you did during the log capture
AFAIK nothing has changed in Domoticz that should cause issues with the ping (1001) or shutdown option query (1007) that should upset Kodi but I have not personally tested it against the new 'Jarvis' version that is only at RC2 level the last time I checked.

Re: sudden issues with Kodi

Posted: Wednesday 13 April 2016 9:09
by nosehook
Ofcourse:
- Domotic Version 3.4834
- Kodi version 16.0: GIT 20160220-A5F3A99 on a WIN 10 ZOTAC ZBOX
- 3 dummy devices added, one for text, one for alert, one switch
- 2 scripts added as found on the forum to ping devices. Ping was setup for my phone, not the HTPC
- the HTPC was idle (main menu, no media playing)

I did a complete clean install (flash image and setup monit) and did a restauration of my latest back: the issue returned. I restored the backup of the previous day and the issue was gone. The difference between the two is the python script for pinging deviced and the dummy device it sends it's data to.

Currently there are no fault codes being returned.