Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
XBMC uPnP client losses connection
#1
I am using XBMC Frodo (v12.0 stable) on Ubuntu Linux and am having an isue with the uPnP CLIENT. I share videos from another linux box using minidlna. When I first start XBMC it can access the uPnP server without a problem. However, after suspend or hibernating with XBMC running and then bringing the machine back online I get the message "Could not connect to network server". It seems XBMC maintains a persistent connection to the server and if this connection is broken (such as when the wifi resets coming back from suspend or hibernate) it never attempts to reconnect to the uPnP server and just reports an error. The only way I've been able to restore the connection is to restart the XBMC application. Is this a problem or am I missing something? It would seem to be bad policy to never attempt a connection to a server if it fails at any point.

Thanks in advance,
Angelo
Reply
#2
Hmm.. after looking at the source code a little bit I'm suspicious that this may be an issue with suspend/hibernate causing the multicast groups to drop and messing up the uPnP listener. If this is the case, then it can't see any uPnP devices after the resume and simply doesn't believe there is a server to connect to anymore. This at least would make a little more sense. Any ideas from anyone with more knowledge of the code?
Reply
#3
I'm having the same issue: media center pc with Frodo stable release, on windows 7 32 bit. When the mediacenter pc returns from hibernation I'm unable to connect to the uPNP server on the media center (using XBMC on my iPad). Also if I browse the network for uPNP servers, the mediacenter is no longer listed. After quitting XBMC application on the mediacenter, and opening XBMC again, the uPNP functionality is working again, and I can connect to any uPNP shortcut I previously made on my iPad XBMC.

I would be glad to be of any assistance in solving this issue.
Reply
#4
My problem is a bit two-fold. I have uPnP on the correct bridged br0 interface only for a short while after XBMC is starte.. Then it moves on to broadcast on my external interface (p1p1), possibly after screensaver/dpms idle kicks in. Are there any options to control this behaviour with?
Reply
#5
(2013-02-19, 13:48)wreynaert Wrote: I'm having the same issue: media center pc with Frodo stable release, on windows 7 32 bit. When the mediacenter pc returns from hibernation I'm unable to connect to the uPNP server on the media center (using XBMC on my iPad). Also if I browse the network for uPNP servers, the mediacenter is no longer listed. After quitting XBMC application on the mediacenter, and opening XBMC again, the uPNP functionality is working again, and I can connect to any uPNP shortcut I previously made on my iPad XBMC.

I would be glad to be of any assistance in solving this issue.

I have the same issue and almost same setup (Win8 x64 media server) except sometimes quitting the application on iPad client won't even fix it.
Reply
#6
Has this ever been resolved because I'm getting the same prob. It's very annoying
Reply
#7
Use a proper networking sharing solution like samba or nfs.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#8
Was checking to see if anything has changed in the 6 months since this was reported and unfortunately no improvement. If anything, I'll write up a trac about this with some tcpdumps aswell. Also please ignore the statement of the above poster, its a bad reflection on the work gone into the upnp improvements this year.
Reply
#9
Known issue.
This is part of the solution and then smb, NFS and upnp have to be unloaded before suspend. Also, see https://github.com/xbmc/xbmc/pull/2895
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC uPnP client losses connection0