UPnP stopped working

With the latest update to yunohost upnp stopped working. Whats the best way to get to the problem?

No UPnP device found
Unable to open UPnP ports

Thanks,
smithers

Hi @mr_smithers,

If you are installing YunoHost on a dedicaded server or a VPS, that normal there is no UPnP cause all ports are opened. UPnP is here to manually open ports on your box.

Hej @Moul,

i’m hosting on a banana-pi at home, it already worked with my “Fritzbox”.
But i don’t know if there are any logs of the UPnP to look at…

Thanks,
smithers

I did a update today and its working again!

Thanks!

Okay, i tried to set up yunohost for a friend and i got the upnp problem again.

yunohost firewall upnp enable
Error: No UPnP device found
Error: Unable to open UPnP ports

Hello,
Sorry for the late response. I had this same problem. But if you manually open port 1900 (UPNP port) this works again. You should also close the port 1900 for UPNP (pourt open for IPV4/6 but not UPNP)

hey @ZeHiro , where did you open that port?

From yunohost admin web page. or in console
sudo yunohost firewall allow UDP 1900
And then
sudo yunohost firewall upnp status

Doesn’t work with my yunohost

Error: No UPnP device found
Error: Unable to open UPnP ports

But thanks anyways…

Can you see if the port is open in the webui?

The port was open. Still didnt work.

What is the best way to track down a issue like this? Are there communication logs to look for errors?
Its really a pain in the *?="$$"!

Syslog while enable upnp via administration gui:
Nov 4 12:48:03 localhost slapd[800]: conn=1008 fd=20 closed
Nov 4 12:48:43 localhost slapd[800]: conn=1009 fd=20 ACCEPT from IP=[::1]:41884 (IP=[::]:389)
Nov 4 12:48:43 localhost slapd[800]: conn=1009 op=0 BIND dn=“cn=admin,dc=yunohost,dc=org” method=128
Nov 4 12:48:43 localhost slapd[800]: conn=1009 op=0 BIND dn=“cn=admin,dc=yunohost,dc=org” mech=SIMPLE ssf=0
Nov 4 12:48:43 localhost slapd[800]: conn=1009 op=0 RESULT tag=97 err=0 text=
Nov 4 12:48:43 localhost slapd[800]: conn=1009 op=1 EXT oid=1.3.6.1.4.1.4203.1.11.3
Nov 4 12:48:43 localhost slapd[800]: conn=1009 op=1 WHOAMI
Nov 4 12:48:43 localhost slapd[800]: conn=1009 op=1 RESULT oid= err=0 text=
Nov 4 12:48:43 localhost slapd[800]: conn=1009 op=2 UNBIND
Nov 4 12:48:43 localhost slapd[800]: conn=1009 fd=20 closed
Nov 4 12:48:55 localhost slapd[800]: conn=1010 fd=20 ACCEPT from IP=[::1]:41888 (IP=[::]:389)
Nov 4 12:48:55 localhost slapd[800]: conn=1010 op=0 BIND dn=“cn=admin,dc=yunohost,dc=org” method=128
Nov 4 12:48:55 localhost slapd[800]: conn=1010 op=0 BIND dn=“cn=admin,dc=yunohost,dc=org” mech=SIMPLE ssf=0
Nov 4 12:48:55 localhost slapd[800]: conn=1010 op=0 RESULT tag=97 err=0 text=
Nov 4 12:48:55 localhost slapd[800]: conn=1010 op=1 EXT oid=1.3.6.1.4.1.4203.1.11.3
Nov 4 12:48:55 localhost rsyslogd-2007: action ‘action 17’ suspended, next retry is Wed Nov 4 12:49:55 2015 [try http://www.rsyslog.com/e/2007 ]
Nov 4 12:48:55 localhost slapd[800]: conn=1010 op=1 WHOAMI
Nov 4 12:48:55 localhost slapd[800]: conn=1010 op=1 RESULT oid= err=0 text=
Nov 4 12:48:55 localhost slapd[800]: conn=1010 op=2 UNBIND
Nov 4 12:48:55 localhost slapd[800]: conn=1010 fd=20 closed
Nov 4 12:49:01 localhost cron[833]: (systemyunohost-firewall-upnp) RELOAD (/etc/cron.d/yunohost-firewall-upnp)
Nov 4 12:49:07 localhost slapd[800]: conn=1011 fd=20 ACCEPT from IP=[::1]:41889 (IP=[::]:389)
Nov 4 12:49:07 localhost slapd[800]: conn=1011 op=0 BIND dn=“cn=admin,dc=yunohost,dc=org” method=128
Nov 4 12:49:07 localhost slapd[800]: conn=1011 op=0 BIND dn=“cn=admin,dc=yunohost,dc=org” mech=SIMPLE ssf=0
Nov 4 12:49:07 localhost slapd[800]: conn=1011 op=0 RESULT tag=97 err=0 text=
Nov 4 12:49:07 localhost slapd[800]: conn=1011 op=1 EXT oid=1.3.6.1.4.1.4203.1.11.3
Nov 4 12:49:07 localhost slapd[800]: conn=1011 op=1 WHOAMI
Nov 4 12:49:07 localhost slapd[800]: conn=1011 op=1 RESULT oid= err=0 text=
Nov 4 12:49:07 localhost slapd[800]: conn=1011 op=2 UNBIND
Nov 4 12:49:07 localhost slapd[800]: conn=1011 fd=20 closed
Nov 4 12:49:07 localhost slapd[800]: connection_read(20): no connection!