pupnp / pupnp

libupnp: Build UPnP-compliant control points, devices, and bridges on several operating systems.
https://pupnp.github.io/pupnp
BSD 3-Clause "New" or "Revised" License
349 stars 114 forks source link

Libupnp fails on amule with some routers #422

Open userofryzen opened 1 year ago

userofryzen commented 1 year ago

Bug report opened in the original project, but I think it's a little bit death VS a years ago: https://github.com/amule-project/amule/issues/349

2022-12-30 00:34:44: Encontrados 0 archivos compartidos 2022-12-30 00:34:44: Universal Plug and Play: Internet Gateway Device Detected. 2022-12-30 00:34:44: Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'. 2022-12-30 00:34:44: Universal Plug and Play: Error getting SCPD Document from http://192.168.1.1:52869/gateconnSCPD.xml. 2022-12-30 00:34:44: Universal Plug and Play: Uninteresting service detected: 'urn:schemas-upnp-org:service:WANIPv6FirewallControl:1'. Ignoring. 2022-12-30 00:34:44: Universal Plug and Play: Uninteresting service detected: 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'. Ignoring. 2022-12-30 00:34:44: Universal Plug and Play: Uninteresting service detected: 'urn:schemas-microsoft-com:service:OSInfo:1'. Ignoring. 2022-12-30 00:34:44: Universal Plug and Play: Internet Gateway Device Detected. 2022-12-30 00:34:44: Protocol not supported for HTTP download: https 2022-12-30 00:34:44: Hilo Asio 1 iniciado

Error getting SCPD Document from http://192.168.1.1:52869/gateconnSCPD.xml.

routers correctly working: grg 4280US routers not working with libupnp: sagemcom 5657 and zte f6640

Distro: manjaro since when is happening: Since always for me.

Qbittorrent for example is working correctly with UPNP so I don't think these are problems from the routers

Vollstrecker commented 1 year ago

Not that I know anything about the internals of this topic, but does qbittorrent also print informations what it's doing? Maybe a comparision helps.

userofryzen commented 1 year ago

imagen

@Vollstrecker here you hve the only logs that I know qbittorrent has. But.. may be you have here what it does https://github.com/arvidn/libtorrent/blob/RC_2_0/src/upnp.cpp It's from the RC but I don't think it has changed so much in my version. Tell me if you need something more or if I can "test" another program which uses libupnp to see if it's a problem with amule itself