Jump to content

DLNA not discoverable


Sorceror

Recommended Posts

Sorceror

After update to 3.5.3.0 version the DLNA server is not discoverable. I'm not sure but the previous version was about 3.2.x

 

I have emby server installed on 18.04 Ubuntu system which is used as server/router.
So there are two interfaces 192.168.2.1(local network) and 10.5.214.16 (external network)

 

There is no error message in the server log and the server is binded to the 1900 port.
netstat output:
udp     1574      0 0.0.0.0:1900            0.0.0.0:*                           13240/EmbyServer

 

When I try to "find" the server using DLNA client I can see my request from the local network:
[uFW AUDIT] IN=enx801f02d62380 OUT= MAC=80:1f:02:d6:23:80:d8:cb:8a:13:fb:0f:08:00 SRC=192.168.2.120 DST=192.168.2.1 LEN=32 TOS=0x00 PREC=0x00 TTL=128 ID=16239 PROTO=UDP SPT=59263 DPT=1900 LEN=12
There is also blocked multicast because external interface ports are blocked:
[uFW BLOCK] IN=eth0 OUT= MAC= SRC=10.5.214.16 DST=239.255.255.250 LEN=174 TOS=0x00 PREC=0x00 TTL=4 ID=1793 DF PROTO=UDP SPT=36376 DPT=1900 LEN=154

 

Should not there be also a local network multicast?

 

Even when firewall is completly disabled the DLNA server is not visible on my local network.

 


 

Link to comment
Share on other sites

Sorceror

Hi,
the alive message interval is now at 1800s which was default value but I also tried values up to 30s.

The client discovery interval is also set to 30s

Link to comment
Share on other sites

Sorceror

Unfortunately it is not working even when the firewall is disabled or when the multicast is unblocked. I posted current settings but i tried to allow external port 1900 or to disable firewall.
I am not sure how it really works but the only communication with destination 239.255.255.250 is from my external interface. Should not there be also a local network variant? Or it would be great if i could configure DLNA to listen and communicate only on specific interface.

Link to comment
Share on other sites

ghost2015
Hi, there is a problem with dlna server on my installation.
 
I'll try to describe my configuration
 
I have server with 3 network adapters 
first one is on my local network 192.168.11.0/24 eth0
second connects to remote file servers 10.10.100.0/24 eth1
and the last one interface with real ip 158.255.*.* eth2
 
when system configured with only one network interface  (eth0) then all work fine.. DLNA appears on all my devices and can scan TV, AV... as client ( Play on...)
If I configure second interface or all three interfaces dlna stop working on any interface at all... but netstat output says that DLNA listening port 1900

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN

tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 :::8920                 :::*                    LISTEN
tcp6       0      0 :::8096                 :::*                    LISTEN
udp    20480      0 0.0.0.0:1900            0.0.0.0:*
udp     4928      0 0.0.0.0:7359            0.0.0.0:*
udp    44800      0 0.0.0.0:44011           0.0.0.0:*
 
how to resolve this issue ? 
Edited by ghost2015
Link to comment
Share on other sites

Looks like you went back and forth between beta and stable. Please be aware this is not supported. At this point you will either need to go back to the beta version, or do a fresh install of the stable version. Thanks.

Link to comment
Share on other sites

ghost2015

Hi Luke, you are right. It was an experiment, i tried beta version and then rollback to stable, my mistake

 

now I have test clean installation, but DLNA is not working when 2 or more network adapters configured.

logs with one and two adapter in attach

 

after install with one network all works perfect DLNA shows on any device and work

after I add second network - no DLNA server on any interface

 

Log-1eth.txt

Log-2eth.txt

Link to comment
Share on other sites

Ok, at the moment I'm not quite sure of the issue as it seems to be working fine in our testing. We'll continue to investigate. Thanks.

Link to comment
Share on other sites

ghost2015

This will be my current installation on my network with DLNA problem

real server  vs real situation vs real logs and full access

Link to comment
Share on other sites

Sorceror

Hi,
I have been away from the computer lately. There is my latest server log file.
But according to other reported issue it seems to me it is indead problem with multiple interfaces.
So I disabled my external interface to test it. It is USB->LAN adapter so I just pull it out and now with only one interface DLNA is working again.
Could it be that DLNA service is using only the default interface to "respond" even if it is listening to all interfaces?
Either way it would be best if we can select the specific interface for DLNA as well as we are able to choose the interface for HTTPS.

embyserver.txt

Edited by Sorceror
Link to comment
Share on other sites

  • 1 month later...

Hi,

I have been away from the computer lately. There is my latest server log file.

But according to other reported issue it seems to me it is indead problem with multiple interfaces.

So I disabled my external interface to test it. It is USB->LAN adapter so I just pull it out and now with only one interface DLNA is working again.

Could it be that DLNA service is using only the default interface to "respond" even if it is listening to all interfaces?

Either way it would be best if we can select the specific interface for DLNA as well as we are able to choose the interface for HTTPS.

 

We're looking into this, thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...