v17 UPnP connection disappears after screen lock until Kodi restarted
#1
I've noticed that the UPnP server connection disappear after the device has been asleep for a time. The only way to re-establish a connection is to kill Kodi (swipe to close on Task Manager) and re-open it.

iOS 10.2.1
iPad Pro 9.7 Inch
Kodi 17 for iOS
(Edit) Kodi 17 Server running on Windows 10 PC (64Bit)

Steps to Reproduce

1) Open UPnP connection and look at the library. Log at this stage: http://paste.ubuntu.com/23954987
2) Close/Lock the screen, wait a while usually more than 10-15 minutes
3) Re-open device and try to select a piece of media from the Library
(locked screen at 17:37 - unlocked iPad at 18:03)
4) Error dialog appears "Couldn't connect to network server" http://paste.ubuntu.com/23955302/
5) Kill Kodi (swipe to close) and restart Kodi and look at the library (this time it works) http://paste.ubuntu.com/23955383/
Reply
#2
Are you sure this happens on ios only?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
(2017-02-08, 20:53)Memphiz Wrote: Are you sure this happens on ios only?

Not seen it happen on tvOS yet (but only installed it yesterday) and I don't run Kodi as a client anywhere else.
Reply
#4
Edit to original post.
Reply
#5
Tested on tvOS earlier today. Despite about 8 hours passing since I put the ATV to sleep, when I swapped back to Kodi it could still connect to the UPnP connection.

So thus far I've only experienced this issue on iOS (specifically iPad).
Reply

Logout Mark Read Team Forum Stats Members Help
UPnP connection disappears after screen lock until Kodi restarted0