grover / homebridge-dacp

Remotely control Apple TV and iTunes via HomeKit.
MIT License
151 stars 14 forks source link

Issues with with session IDs #53

Open mackmoe opened 5 years ago

mackmoe commented 5 years ago

So I read the friendly gestures section and wasn't clear on what info I should include so I'll try to be brief:

TL;DR - Saw issues in the homebridge err and log files just prior to what happens in the example (from the same log) below. Could the issues that preceded the example be related to what caused it?

==> /var/log/homebridge.err <==
2018-10-03T02:43:58.630Z dacp http://192.168.1.15:3689/server-info?session-id=4 responded: { msrv:
   { mstt: 200,
--
     atSV: { major: 1, minor: 3 } } }
2018-10-03T02:43:58.640Z dacp http://192.168.1.15:3689/databases?session-id=4 failed: 400
2018-10-03T02:43:58.641Z dacp-client connected

==> /var/log/homebridge.log <==
[2018-10-2 21:43:58] [DACP] Connected to ManCave

Not a really huge concern because the plugin still connects and works remotely like, 95% of the time (obviously - lol). At any rate, I am wondering if you wouldn't mind poking around if you have any spare time? I know that since I'm running on node v8.11.4 there's a warning, do you think upgrading it to npm>=v9.3.0 would solve the issue with session persistence?