miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can't use minissdpd + miniupnpd + minidlna

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Bugs
View previous topic :: View next topic  
Author Message
daniell



Joined: 16 Jul 2015
Posts: 3
Location: Hungary

PostPosted: Thu Jul 16, 2015 8:37 am    Post subject: Can't use minissdpd + miniupnpd + minidlna Reply with quote

Hi!

I'm running minissdpd and minidlna on an OpenBSD 5.5 i386 machine.
Two networks (a wired and a wireless) are bridged together on the OpenBSD box, and I'm trying to service DLNA clients on both networks (same subnet, just different medium).
So there is no problem
The problem I'm facing is minidlnad works by itself (ie.: without minissdpd), and it can be discovered on both networks, play media, etc... However, when I try to use minidlnad with minissdpd (I also want to use miniupnpd along with minidlna, so I'm gonna need minissdpd), the discovery doesn't work.
I'm testing from my phone on wifi, using the TV SideView app (but could be anything else, really). Interesting thing
with this test, is that if I first start minidlnad without minissdpd, and make the phone app discover my DLNA server, then if I shut down minidlnad, then start minissdpd first and restart minidlnad, the cached server (previously discovered) is reachable from the phone app, and I can play whatever is shared on the media server. So the thing works, kind of, but if I tap discovery again on the phone app, then it won't find the media server anymore.

Here are the outputs from minissdpd and minidlnad with debugging enabled:

##### Without minissdpd, minidlnad works as expected
Code:

# /usr/local/sbin/minidlnad -d -v -f /etc/minidlna.conf:
[2015/07/05 22:45:48] minidlna.c:1029: warn: Starting MiniDLNA version 1.1.4.
[2015/07/05 22:45:48] minidlna.c:1077: warn: HTTP listening on port 8200
[2015/07/05 22:45:48] getifaddr.c:338: info: Enabling interface 192.168.0.1/255.255.255.0
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:45:48] getifaddr.c:338: info: Enabling interface 192.168.0.3/255.255.255.0
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [7]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [7]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [7]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [7]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [7]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [7]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [7]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [7]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [7]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [7]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [7]
[2015/07/05 22:45:48] minissdp.c:743: maxdebug: Sending ssdp:byebye [7]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [7]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [7]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [7]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [7]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [7]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [7]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [7]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [7]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [7]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [7]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [7]
[2015/07/05 22:45:48] minissdp.c:300: maxdebug: Sending ssdp:alive [7]
[2015/07/05 22:45:49] minissdp.c:647: debug: SSDP M-SEARCH from 192.168.0.17:51847 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 1, MAN: "ssdp:discover"
[2015/07/05 22:45:49] minissdp.c:247: debug: Sending M-SEARCH response to 192.168.0.17:51847 ST: urn:schemas-upnp-org:device:MediaServer:
[2015/07/05 22:45:49] minissdp.c:647: debug: SSDP M-SEARCH from 192.168.0.17:51847 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 1, MAN: "ssdp:discover"
[2015/07/05 22:45:49] minissdp.c:247: debug: Sending M-SEARCH response to 192.168.0.17:51847 ST: urn:schemas-upnp-org:device:MediaServer:
[2015/07/05 22:45:49] minissdp.c:647: debug: SSDP M-SEARCH from 192.168.0.17:51847 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 1, MAN: "ssdp:discover"
[2015/07/05 22:45:49] minissdp.c:247: debug: Sending M-SEARCH response to 192.168.0.17:51847 ST: urn:schemas-upnp-org:device:MediaServer:
[2015/07/05 22:45:49] minissdp.c:647: debug: SSDP M-SEARCH from 192.168.0.17:51847 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 1, MAN: "ssdp:discover"
[2015/07/05 22:45:49] minissdp.c:247: debug: Sending M-SEARCH response to 192.168.0.17:51847 ST: urn:schemas-upnp-org:device:MediaServer:
[2015/07/05 22:45:50] minissdp.c:647: debug: SSDP M-SEARCH from 192.168.0.17:51847 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 1, MAN: "ssdp:discover"
[2015/07/05 22:45:50] minissdp.c:247: debug: Sending M-SEARCH response to 192.168.0.17:51847 ST: urn:schemas-upnp-org:device:MediaServer:
[2015/07/05 22:45:50] minissdp.c:647: debug: SSDP M-SEARCH from 192.168.0.17:51847 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 1, MAN: "ssdp:discover"
[2015/07/05 22:45:50] minissdp.c:247: debug: Sending M-SEARCH response to 192.168.0.17:51847 ST: urn:schemas-upnp-org:device:MediaServer:
[2015/07/05 22:45:50] minidlna.c:1273: debug: HTTP connection from 192.168.0.17:59273
[2015/07/05 22:45:50] clients.c:295: debug: Added client [Generic UPnP 1.0/192.168.0.17/FF:FF:FF:FF:FF:FF] to cache slot 0.
[2015/07/05 22:45:50] upnphttp.c:880: debug: HTTP REQUEST: GET /rootDesc.xml HTTP/1.1


##### With minissdpd, the discovery fails
Code:

# /usr/local/sbin/minidlnad -d -v -f /etc/minidlna.conf:
[2015/07/05 22:50:08] minidlna.c:1029: warn: Starting MiniDLNA version 1.1.4.
[2015/07/05 22:50:08] minissdp.c:114: error: bind(udp): Address already in use
[2015/07/05 22:50:08] minidlna.c:1069: info: Failed to open socket for receiving SSDP. Trying to use MiniSSDPd
[2015/07/05 22:50:08] minidlna.c:1077: warn: HTTP listening on port 8200
[2015/07/05 22:50:08] minissdp.c:80: error: setsockopt(udp, IP_ADD_MEMBERSHIP): Bad file descriptor
[2015/07/05 22:50:08] minissdp.c:180: warn: Failed to add multicast membership for address 192.168.0.1
[2015/07/05 22:50:08] minissdp.c:80: error: setsockopt(udp, IP_ADD_MEMBERSHIP): Bad file descriptor
[2015/07/05 22:50:08] minissdp.c:180: warn: Failed to add multicast membership for address 192.168.0.3
[2015/07/05 22:50:08] getifaddr.c:338: info: Enabling interface 192.168.0.1/255.255.255.0
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [5]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [5]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [5]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [5]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [5]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [5]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [5]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [5]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [5]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [5]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [5]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [5]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:08] getifaddr.c:338: info: Enabling interface 192.168.0.3/255.255.255.0
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:50:08] minissdp.c:743: maxdebug: Sending ssdp:byebye [6]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:08] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:09] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:09] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:09] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:09] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:09] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:09] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:19] minidlna.c:1117: debug: Sending SSDP notifies
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:19] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:24] minidlna.c:1117: debug: Sending SSDP notifies
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [5]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [6]
[2015/07/05 22:50:24] minissdp.c:300: maxdebug: Sending ssdp:alive [6]


# meanwhile in minissdpd:
Code:

# /usr/local/sbin/minissdpd -i bge0 -i fxp0 -d:
minissdpd[1468]: (s=6) new request connection
minissdpd[1468]: (s=6) request type=4 str='uuid:f558d441-5741-4fc2-8ca1-9133916a24f6'
minissdpd[1468]: usn='uuid:f558d441-5741-4fc2-8ca1-9133916a24f6::uuid:f558d441-5741-4fc2-8ca1-9133916a24f6'
minissdpd[1468]: server='5.5 DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.1.4'
minissdpd[1468]: location='http://:8200/rootDesc.xml'
minissdpd[1468]: (s=6) request connection closed
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:schemas-upnp-org:device:MediaServer:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:51847 ST:urn:schemas-upnp-org:device:MediaServer:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:schemas-upnp-org:device:MediaServer:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:51847 ST:urn:schemas-upnp-org:device:MediaServer:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:schemas-upnp-org:device:MediaServer:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:51847 ST:urn:schemas-upnp-org:device:MediaServer:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:schemas-upnp-org:device:MediaServer:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:51847 ST:urn:schemas-upnp-org:device:MediaServer:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:schemas-upnp-org:device:MediaServer:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:51847 ST:urn:schemas-upnp-org:device:MediaServer:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:schemas-upnp-org:device:MediaServer:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:51847 ST:urn:schemas-upnp-org:device:MediaServer:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:schemas-upnp-org:device:MediaRenderer:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:1901 ST:urn:schemas-upnp-org:device:MediaRenderer:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:schemas-upnp-org:device:MediaRenderer:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:1901 ST:urn:schemas-upnp-org:device:MediaRenderer:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:lge-com:service:webos-second-screen:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:1901 ST:urn:lge-com:service:webos-second-screen:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:lge-com:service:webos-second-screen:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:1901 ST:urn:lge-com:service:webos-second-screen:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:lge-com:service:webos-second-screen:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:1901 ST:urn:lge-com:service:webos-second-screen:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:lge-com:service:webos-second-screen:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:1901 ST:urn:lge-com:service:webos-second-screen:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:schemas-upnp-org:device:MediaRenderer:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:1901 ST:urn:schemas-upnp-org:device:MediaRenderer:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:schemas-upnp-org:device:MediaRenderer:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:1901 ST:urn:schemas-upnp-org:device:MediaRenderer:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:lge-com:service:webos-second-screen:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:1901 ST:urn:lge-com:service:webos-second-screen:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:lge-com:service:webos-second-screen:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:1901 ST:urn:lge-com:service:webos-second-screen:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:schemas-upnp-org:device:MediaRenderer:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:1901 ST:urn:schemas-upnp-org:device:MediaRenderer:1
minissdpd[1468]: ** i=0 deltadev=0 **
minissdpd[1468]: SSDP request: 'M-SEARCH' (1) unknown st=urn:schemas-upnp-org:device:MediaRenderer:1
minissdpd[1468]: SSDP M-SEARCH from 192.168.0.17:1901 ST:urn:schemas-upnp-org:device:MediaRenderer:1
minissdpd[1468]: ** i=0 deltadev=0 **


###### minidlna.conf
Code:

port=8200
network_interface=bge0,fxp0
enable_tivo=no
strict_dlna=no
inotify=no
notify_interval=5


I really don't know if this is an issue with minidlna or minissdpd. To be sure, I've tried the latest git versions of both software, but the symptoms are the same.
Is this some kind of a restriction with minissdpd? Is there any way to dig further into this?
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1469

PostPosted: Thu Jul 16, 2015 12:45 pm    Post subject: Reply with quote

I guess there is a bug in minissdpd, I will look at the code.
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1469

PostPosted: Thu Jul 16, 2015 12:48 pm    Post subject: Reply with quote

Code:
minissdpd[1468]: (s=6) new request connection
minissdpd[1468]: (s=6) request type=4 str='uuid:f558d441-5741-4fc2-8ca1-9133916a24f6'
minissdpd[1468]: usn='uuid:f558d441-5741-4fc2-8ca1-9133916a24f6::uuid:f558d441-5741-4fc2-8ca1-9133916a24f6'
minissdpd[1468]: server='5.5 DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.1.4'
minissdpd[1468]: location='http://:8200/rootDesc.xml'

http://:8200/rootDesc.xml is not valid
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1469

PostPosted: Thu Jul 16, 2015 1:40 pm    Post subject: Reply with quote

please try with this patch to MiniDLNA :
Code:

diff --git a/minidlna.c b/minidlna.c
index be34fe3..bfe63a6 100644
--- a/minidlna.c
+++ b/minidlna.c
@@ -1055,6 +1055,7 @@ main(int argc, char **argv)
        if (sssdp < 0)
        {
                DPRINTF(E_INFO, L_GENERAL, "Failed to open socket for receiving
+               reload_ifaces(0);       /* populate lan_addr[0].str */
                if (SubmitServicesToMiniSSDPD(lan_addr[0].str, runtime_vars.port
                        DPRINTF(E_FATAL, L_GENERAL, "Failed to connect to MiniSS
        }

_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
daniell



Joined: 16 Jul 2015
Posts: 3
Location: Hungary

PostPosted: Thu Jul 16, 2015 8:36 pm    Post subject: Reply with quote

Nice! This diff actually works for me.
Back to top
View user's profile Send private message
daniell



Joined: 16 Jul 2015
Posts: 3
Location: Hungary

PostPosted: Fri Jul 17, 2015 8:09 am    Post subject: Reply with quote

Do you have contact with the minidlna dev, or should I propose this solution to him on its support page?


--
Daniel
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1469

PostPosted: Mon Jul 20, 2015 8:54 am    Post subject: Reply with quote

daniell wrote:
Do you have contact with the minidlna dev, or should I propose this solution to him on its support page?

I posted the patch on http://minidlna.sourceforge.net/ but sourceforge is then in "maintenance mode" Sad
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1469

PostPosted: Thu Jul 30, 2015 1:51 pm    Post subject: Reply with quote

fixed upstream http://sourceforge.net/p/minidlna/patches/151/
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.