2015-11-16, 03:02
I've got a network issue that seems to repeat itself 10 times in roughly 9 minutes, or somewhere around every 54 seconds or so. It doesn't just affect the box that kodi is running on. It causes a hiccup on the entire network, as the cable modem / router from my ISP seems to freak out when this happens. Repeating traceroutes show latencies from 500-2500 ms or more on the first hop at 192.168.0.1 for any/all machines in the house. Exiting Kodi solves the problem, and the network shows no signs of any trouble after that. Fire Kodi back up again and the periodic trouble returns.
I am at a loss as to what might be causing it. I'm using PingPlotter running on my main up-to-date Win10 desktop to help in troubleshooting, which is a different machine than Kodi runs on. I've got an up-to-date Win7 home theater PC in the livingroom for Kodi. Both of these machines are wired directly into the router with CAT5e, so there isn't any wireless interference at play, either. Here's the troubleshooting I've done so far:
Kodi running, with problem shown as periodic huge peaks of latency
Kodi exited around 3:41, problem gone
Kodi restarted just after 3:47, problem returns
In UPnP I disabled 'share my libraries' and found no change. Re-enabled.
Disabled UPnP 'allow remote control' and found no change. Re-enabled.
Disabled 'allow remote control via HTTP' and found no change. Re-enabled.
Disabled 'allow remote control by programs on this system' and found no change. Re-enabled.
Disabled AirPlay and found no change. Left off for next step, as that was required.
Disabled zeroconf's 'announce services to other systems' and found no change. Re-enabled it and AirPlay.
Since the problem shows latency on 192.168.0.1, the router itself, and is the same on any of the other machines here I kind of doubt the OS on any other machine here is playing any part. I had been pulling my hair out over this one, trying different network cards and cutting/crimping/running new network cables to try and track down the source of the issue, including having my ISP over here to check all my equipment for their service. They even gave me a new cable modem / router, which somehow seemed to fix the issue temporarily. I think the only reason that even did anything to "solve" the problem was because one of the things we did while the cable guy was here and had finished replacing the modem was to shut all computers down and start with just my desktop. All seemed fine. Fired up some other machines, all seemed fine. So he went on his way, job done.
Then later that day when I got around to firing Kodi up again, the problem was back. Aha! Kill Kodi, problem goes away. OK, so it has something to do with Kodi. That's one step closer to solving it, but I've gone as far as I can to try and figure this out. I'll be glad to do any work I need to do to try to help get this solved, but I don't know what else I can do on my own now. I've backed up my current settings and I've started going backwards in release versions to see if/when the problem goes away/appears. But I've only just started that portion, and I've tested 15.2, 15.1, and 15.0 now and they all do it. I think I'll actually go a step further and nuke each version and existing settings so I'm starting fresh with each version, as that may help, too. But I thought I would at least get this out there while some of this is still fresh in my mind, before I forget any details.
edit: I'd post a log, but when I turned debugging on and let the box sit through a few of the hiccups and then turned logging back off and had a look through the log there was nothing listed during that time that the machine just sat there and the hiccups occurred.
I am at a loss as to what might be causing it. I'm using PingPlotter running on my main up-to-date Win10 desktop to help in troubleshooting, which is a different machine than Kodi runs on. I've got an up-to-date Win7 home theater PC in the livingroom for Kodi. Both of these machines are wired directly into the router with CAT5e, so there isn't any wireless interference at play, either. Here's the troubleshooting I've done so far:
Kodi running, with problem shown as periodic huge peaks of latency
Kodi exited around 3:41, problem gone
Kodi restarted just after 3:47, problem returns
In UPnP I disabled 'share my libraries' and found no change. Re-enabled.
Disabled UPnP 'allow remote control' and found no change. Re-enabled.
Disabled 'allow remote control via HTTP' and found no change. Re-enabled.
Disabled 'allow remote control by programs on this system' and found no change. Re-enabled.
Disabled AirPlay and found no change. Left off for next step, as that was required.
Disabled zeroconf's 'announce services to other systems' and found no change. Re-enabled it and AirPlay.
Since the problem shows latency on 192.168.0.1, the router itself, and is the same on any of the other machines here I kind of doubt the OS on any other machine here is playing any part. I had been pulling my hair out over this one, trying different network cards and cutting/crimping/running new network cables to try and track down the source of the issue, including having my ISP over here to check all my equipment for their service. They even gave me a new cable modem / router, which somehow seemed to fix the issue temporarily. I think the only reason that even did anything to "solve" the problem was because one of the things we did while the cable guy was here and had finished replacing the modem was to shut all computers down and start with just my desktop. All seemed fine. Fired up some other machines, all seemed fine. So he went on his way, job done.
Then later that day when I got around to firing Kodi up again, the problem was back. Aha! Kill Kodi, problem goes away. OK, so it has something to do with Kodi. That's one step closer to solving it, but I've gone as far as I can to try and figure this out. I'll be glad to do any work I need to do to try to help get this solved, but I don't know what else I can do on my own now. I've backed up my current settings and I've started going backwards in release versions to see if/when the problem goes away/appears. But I've only just started that portion, and I've tested 15.2, 15.1, and 15.0 now and they all do it. I think I'll actually go a step further and nuke each version and existing settings so I'm starting fresh with each version, as that may help, too. But I thought I would at least get this out there while some of this is still fresh in my mind, before I forget any details.
edit: I'd post a log, but when I turned debugging on and let the box sit through a few of the hiccups and then turned logging back off and had a look through the log there was nothing listed during that time that the machine just sat there and the hiccups occurred.