aMule Forum
English => aMule Help => Topic started by: synikal on January 22, 2008, 03:16:13 AM
-
Hi all,
I have a strange issue with the most current cvs snapshot of amule and playing nicely with miniupnpd. Does anyone have a working configuration like this that they can give me a few pointers? It seems to me that upnp detects a Wan Service and then forgets about it when it actually goes to add port mappings. Heres the log:
2008-01-21 18:02:43: UPnP.cpp(1420): Universal Plug and Play: Internet Gateway Device Detected.
2008-01-21 18:02:43: UPnP.cpp(746): Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'.
2008-01-21 18:02:43: UPnP.cpp(1748): Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://10.1.0.1:2189/evt/IPConn, error: UPNP_E_SUBSCRIBE_UNACCEPTED.
2008-01-21 18:02:43: UPnP.cpp(763): Universal Plug and Play: Uninteresting service detected: 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'. Ignoring.
2008-01-21 18:02:43: UPnP.cpp(763): Universal Plug and Play: Uninteresting service detected: 'urn:schemas-dummy-com:service:Dummy:1'. Ignoring.
2008-01-21 18:02:43: UPnP.cpp(1420): Universal Plug and Play: Internet Gateway Device Detected.
2008-01-21 18:02:43: UPnP.cpp(1134): Universal Plug and Play: UPnP Error: CUPnPControlPoint::AddPortMapping: Wan Service not detected.
Thanks for any help anyone can give.
-
2008-01-21 18:02:43: UPnP.cpp(1748): Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://10.1.0.1:2189/evt/IPConn, error: UPNP_E_SUBSCRIBE_UNACCEPTED.
...
2008-01-21 18:02:43: UPnP.cpp(1134): Universal Plug and Play: UPnP Error: CUPnPControlPoint::AddPortMapping: Wan Service not detected.
For some reason, libupnp was not able to subscribe to the service, even though it has found it. Could it be a configuration option in your modem/router? Or maybe a problem with its UPnP support?
Anyway, aMule keeps searching for other useful services, but in this case, has found none. WanPPPConnection would work too. Look at your modem/router's configuration page to see if you have to enable something.
-
See Attached
-
OK, here is the problem:
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PortMappingNumberOfEntries"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(852): Universal Plug and Play: AddPortMapping(NewRemoteHost='', NewExternalPort='40623', NewProtocol='UDP', NewInternalPort='40623', NewInternalClient='192.168.0.4', NewEnabled='1', NewPortMappingDescription='aMule UDP socket (TCP+3)', NewLeaseDuration='0')
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: m_UpnpSendAction: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(852): Universal Plug and Play: AddPortMapping(NewRemoteHost='', NewExternalPort='40620', NewProtocol='TCP', NewInternalPort='40620', NewInternalClient='192.168.0.4', NewEnabled='1', NewPortMappingDescription='aMule TCP Listen Socket', NewLeaseDuration='0')
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: m_UpnpSendAction: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(852): Universal Plug and Play: AddPortMapping(NewRemoteHost='', NewExternalPort='40720', NewProtocol='UDP', NewInternalPort='40720', NewInternalClient='192.168.0.4', NewEnabled='1', NewPortMappingDescription='aMule UDP Extended eMule Socket', NewLeaseDuration='0')
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: m_UpnpSendAction: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("ConnectionType"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PossibleConnectionTypes"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("ConnectionStatus"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("Uptime"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("LastConnectionError"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("RSIPAvailable"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("NATEnabled"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("ExternalIPAddress"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PortMappingNumberOfEntries"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PortMappingLeaseDuration"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(852): Universal Plug and Play: GetStatusInfo()
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: m_UpnpSendAction: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
2008-03-01 11:17:21: UPnP.cpp(1196): Universal Plug and Play: CUPnPControlPoint::DeletePortMappings: m_ActivePortMappingsMap.size() == 3
2008-03-01 11:17:21: UPnP.cpp(354): Universal Plug and Play: Error: GetStateVariable("PortMappingNumberOfEntries"): in a call to m_UpnpGetServiceVarStatus: UPnP SDK error: UPNP_E_BAD_HTTPMSG (-119).
I think I will need more help this time. You will need to compile libupnp yourself in debug mode, then you will need post the files IUpnpErrFile.txt and IUpnpInfoFile.txt, so that we can track the html message that failed. For tips on how to compile libupnp, see the file amule_build_install.sh.
I am not able to reproduce it here, so I will need your help to crack this one. What is the version of libupnp that you are using? Have you tried 1.6.5?
Cheers!