aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: UPnP error  (Read 26239 times)

ycfu

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 8
UPnP error
« on: January 18, 2008, 06:12:39 AM »

I can not use amule's UPnP, but in azureus, UPnP is normal.
When amule is started, it will present the wrong information about upnp.

My NAT Server is based on FreeBSD(Version FreeBSD freebsd.home 6.2-STABLE FreeBSD 6.2-STABLE), UPnP Server use miniupnpd(ports name miniupnpd-1.0_12).
My amule's version is amule CVS(Snapshot: Thu Jan 17 07:01:56 CET 2008).
aMule version information:
Code: [Select]
2008-01-18 12:44:11: amuleDlg.cpp(218):  - \u9019\u662faMule SVN using wxGTK2 v2.8.7 (Snapshot: Thu Jan 17 07:01:56 CET 2008) (\u57fa\u4e8e eMule)
2008-01-18 12:44:11: amuleDlg.cpp(220):    \u904b\u884c\u4e8e Linux 2.6.22-3-686 i686
2008-01-18 12:44:11: amuleDlg.cpp(222):  - \u8acb\u8a2a\u554f http://www.amule.org \u4ee5\u4e0b\u8f09\u6700\u65b0\u7248\u672c

UPnP information:
Code: [Select]
2008-01-18 12:44:11: ExternalConn.cpp(139): *** TCP socket (ECServer) listening on 0.0.0.0:4712
2008-01-18 12:44:11: MuleUDPSocket.cpp(79): MuleUDPSocket: Created Server UDP-Socket at port 4665
2008-01-18 12:44:11: MuleUDPSocket.cpp(79): MuleUDPSocket: Created Client UDP-Socket at port 4670
2008-01-18 12:44:11: UPnP.cpp(91): Universal Plug and Play: Successfully opened libixml.so.2.
2008-01-18 12:44:11: UPnP.cpp(91): Universal Plug and Play: Successfully opened libupnp.so.2.
2008-01-18 12:44:12: UPnP.cpp(91): Universal Plug and Play: Successfully opened libupnp.so.3.
2008-01-18 12:44:12: UPnP.cpp(1063): Universal Plug and Play: bound to 192.168.1.6:50000.
2008-01-18 12:44:15: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-01-18 12:44:15: UPnP.cpp(1420): Universal Plug and Play: Internet Gateway Device Detected.
2008-01-18 12:44:15: UPnP.cpp(746): Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'.
2008-01-18 12:44:15: UPnP.cpp(1748): Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://192.168.1.3:5555/evt/IPConn, error: UPNP_E_SUBSCRIBE_UNACCEPTED.
2008-01-18 12:44:15: UPnP.cpp(763): Universal Plug and Play: Uninteresting service detected: 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'. Ignoring.
2008-01-18 12:44:15: UPnP.cpp(763): Universal Plug and Play: Uninteresting service detected: 'urn:schemas-dummy-com:service:Dummy:1'. Ignoring.
2008-01-18 12:44:15: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-01-18 12:44:15: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-01-18 12:44:15: UPnP.cpp(1420): Universal Plug and Play: Internet Gateway Device Detected.
2008-01-18 12:44:15: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-01-18 12:44:15: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-01-18 12:44:15: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-01-18 12:44:15: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-01-18 12:44:15: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-01-18 12:44:15: UPnP.cpp(1134): Universal Plug and Play: UPnP Error: CUPnPControlPoint::AddPortMapping: Wan Service not detected.

How to solve this problem, is it a question about setup? or need patch for miniupnpd?
« Last Edit: July 14, 2008, 02:34:31 AM by ycfu »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: UPnP error
« Reply #1 on: January 20, 2008, 02:56:15 PM »

Hi ycfu,

The first thing I see is that you have two versions of the UPnP library installed, look:
UPnP information:
2008-01-18 12:44:11: UPnP.cpp(91): Universal Plug and Play: Successfully opened libixml.so.2.
2008-01-18 12:44:11: UPnP.cpp(91): Universal Plug and Play: Successfully opened libupnp.so.2.
2008-01-18 12:44:12: UPnP.cpp(91): Universal Plug and Play: Successfully opened libupnp.so.3.
2008-01-18 12:44:12: UPnP.cpp(1063): Universal Plug and Play: bound to 192.168.1.6:50000.

Please, remove all instances of the old lib. But that should not be the cause of the problem.

2008-01-18 12:44:15: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.

This is a little odd, why is the software trying to get the description from 127.0.0.1? Your router should not be on localhost. Also, the cause of the error is reported: UPNP_E_SOCKET_CONNECT. From the UPnP manual
Quote
UPNP E SOCKET CONNECT [-204]
UPNP E SOCKET CONNECT signifies that the SDK had a problem connecting to a remote host.
This occurs in any function that makes network connections, such as discovery (e.g. UpnpSearchAsync
or UpnpSendAdvertisement), control (e.g. UpnpSendAction), eventing
(e.g. UpnpNotify), and HTTP functions (e.g. UpnpDownloadXmlDoc).

Somehow, it manages to find a device here:

2008-01-18 12:44:15: UPnP.cpp(1420): Universal Plug and Play: Internet Gateway Device Detected.
2008-01-18 12:44:15: UPnP.cpp(746): Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'.
2008-01-18 12:44:15: UPnP.cpp(1748): Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://192.168.1.3:5555/evt/IPConn, error: UPNP_E_SUBSCRIBE_UNACCEPTED.
Notice that the IP now is 192.168.1.3, which is reasonable, though not a common router IP.

I think you should find out why are you using a localhost IP to retrieve the device description.

Cheers!
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: UPnP error
« Reply #2 on: June 27, 2008, 05:22:59 PM »

ycfu,

Any news on this problem?

Cheers!
Logged

ycfu

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 8
Re: UPnP error
« Reply #3 on: June 29, 2008, 11:54:07 PM »

First, I am very happy for amule-2.2.1 release.

This time, I install this version with package(on debian) directly.

UPnP is still unable to work.

I turned on the UPnP debug log.

This time, I can see the detailed information about UPnP.

I find , it seems to search UPnP Server and localhost at the same time.
Then, because localhost no UPnP service, it will show error message.
I think , have any possible because amule don't find upnp service on localhost?

the UPnP message as follows:
Code: [Select]
2008-06-30 05:25:45: ClientCreditsList.cpp(168): \u7a4d\u5206\u6a94\u6848\u5df2\u8f09\u5165\uff0c2441\u500b\u5df2\u77e5\u4f7f\u7528\u8005
2008-06-30 05:25:45: IPFilter.cpp(109): \u6b63\u5728\u8f09\u5165IP\u904e\u6ffe\u6587\u4ef6 'ipfilter.dat' and 'ipfilter_static.dat'\u3002
2008-06-30 05:25:45: IPFilter.cpp(333): \u8f09\u5165 224908 \u500bIP\u6bb5\u81ea /home/ycfu/.aMule/ipfilter.dat\u3002 \u4e1f\u68c4\u4e86 0 \u884c\u932f\u8aa4\u6578\u64da\u3002
2008-06-30 05:25:45: IPFilter.cpp(333): \u8f09\u5165 0 \u500bIP\u6bb5\u81ea /home/ycfu/.aMule/ipfilter_static.dat\u3002 \u4e1f\u68c4\u4e86 0 \u884c\u932f\u8aa4\u6578\u64da\u3002
2008-06-30 05:25:45: ExternalConn.cpp(160): *** TCP socket (ECServer) listening on 0.0.0.0:4712
2008-06-30 05:25:45: MuleUDPSocket.cpp(81): Created Server UDP-Socket at port 14665
2008-06-30 05:25:45: MuleUDPSocket.cpp(81): Created Client UDP-Socket at port 14672
2008-06-30 05:25:45: UPnP.cpp(91): Universal Plug and Play: Successfully opened libixml.so.2.
2008-06-30 05:25:45: UPnP.cpp(87): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libupnp.so.2. Check PATH and LD_LIBRARY_PATH.
2008-06-30 05:25:45: UPnP.cpp(91): Universal Plug and Play: Successfully opened libupnp.so.3.
2008-06-30 05:25:45: UPnP.cpp(1063): Universal Plug and Play: bound to 192.168.1.6:49152.
2008-06-30 05:25:45: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-06-30 05:25:45: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_SEARCH_RESULT: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-06-30 05:25:45: UPnP.cpp(1420): Universal Plug and Play: Internet Gateway Device Detected.
2008-06-30 05:25:45: UPnP.h(269): Universal Plug and Play:
2008-06-30 05:25:45:     deviceList: 0 devices.
2008-06-30 05:25:45: UPnP.cpp(732): Universal Plug and Play:
2008-06-30 05:25:45:     Service:
2008-06-30 05:25:45:         serviceType: urn:schemas-upnp-org:service:WANIPConnection:1
2008-06-30 05:25:45:         serviceId: urn:upnp-org:serviceId:WANIPConn1
2008-06-30 05:25:45:         SCPDURL: /WANIPCn.xml
2008-06-30 05:25:45:         absSCPDURL: http://192.168.1.3:5555/WANIPCn.xml
2008-06-30 05:25:45:         controlURL: /ctl/IPConn
2008-06-30 05:25:45:         absControlURL: http://192.168.1.3:5555/ctl/IPConn
2008-06-30 05:25:45:         eventSubURL: /evt/IPConn
2008-06-30 05:25:45:         absEventSubURL: http://192.168.1.3:5555/evt/IPConn
2008-06-30 05:25:45: UPnP.cpp(746): Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'.
2008-06-30 05:25:45: UPnP.cpp(1748): Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://192.168.1.3:5555/evt/IPConn, error: UPNP_E_SUBSCRIBE_UNACCEPTED.
2008-06-30 05:25:45: UPnP.h(269): Universal Plug and Play:
2008-06-30 05:25:45:     serviceList: 1 services.
2008-06-30 05:25:45: UPnP.cpp(1001): Universal Plug and Play:
2008-06-30 05:25:45:     Device:
2008-06-30 05:25:45:         friendlyName: WANConnectionDevice
2008-06-30 05:25:45:         deviceType: urn:schemas-upnp-org:device:WANConnectionDevice:1
2008-06-30 05:25:45:         manufacturer: MiniUPnP
2008-06-30 05:25:45:         manufacturerURL: http://miniupnp.free.fr/
2008-06-30 05:25:45:         modelDescription: MiniUPnP daemon
2008-06-30 05:25:45:         modelName: MiniUPnPd
2008-06-30 05:25:45:         modelNumber: 20070827
2008-06-30 05:25:45:         modelURL: http://miniupnp.free.fr/
2008-06-30 05:25:45:         serialNumber: 00000000
2008-06-30 05:25:45:         UDN: uuid:0659fd5b-6aaa-11dc-ae42-00508bb27945
2008-06-30 05:25:45:         UPC: MINIUPNPD
2008-06-30 05:25:45:         presentationURL: http://192.168.1.3:5555/rootDesc.xml
2008-06-30 05:25:45: UPnP.h(269): Universal Plug and Play:
2008-06-30 05:25:45:     deviceList: 1 devices.
2008-06-30 05:25:45: UPnP.cpp(732): Universal Plug and Play:
2008-06-30 05:25:45:     Service:
2008-06-30 05:25:45:         serviceType: urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1
2008-06-30 05:25:45:         serviceId: urn:upnp-org:serviceId:WANCommonIFC1
2008-06-30 05:25:45:         SCPDURL: /WANCfg.xml
2008-06-30 05:25:45:         absSCPDURL: http://192.168.1.3:5555/WANCfg.xml
2008-06-30 05:25:45:         controlURL: /ctl/CmnIfCfg
2008-06-30 05:25:45:         absControlURL: http://192.168.1.3:5555/ctl/CmnIfCfg
2008-06-30 05:25:45:         eventSubURL: /evt/CmnIfCfg
2008-06-30 05:25:45:         absEventSubURL: http://192.168.1.3:5555/evt/CmnIfCfg
2008-06-30 05:25:45: UPnP.cpp(763): Universal Plug and Play: Uninteresting service detected: 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'. Ignoring.
2008-06-30 05:25:45: UPnP.h(269): Universal Plug and Play:
2008-06-30 05:25:45:     serviceList: 1 services.
2008-06-30 05:25:45: UPnP.cpp(1001): Universal Plug and Play:
2008-06-30 05:25:45:     Device:
2008-06-30 05:25:45:         friendlyName: WANDevice
2008-06-30 05:25:45:         deviceType: urn:schemas-upnp-org:device:WANDevice:1
2008-06-30 05:25:45:         manufacturer: MiniUPnP
2008-06-30 05:25:45:         manufacturerURL: http://miniupnp.free.fr/
2008-06-30 05:25:45:         modelDescription: WAN Device
2008-06-30 05:25:45:         modelName: WAN Device
2008-06-30 05:25:45:         modelNumber: 20070827
2008-06-30 05:25:45:         modelURL: http://miniupnp.free.fr/
2008-06-30 05:25:45:         serialNumber: 00000000
2008-06-30 05:25:45:         UDN: uuid:0659fd5b-6aaa-11dc-ae42-00508bb27945
2008-06-30 05:25:45:         UPC: MINIUPNPD
2008-06-30 05:25:45:         presentationURL: http://192.168.1.3:5555/rootDesc.xml
2008-06-30 05:25:45: UPnP.h(269): Universal Plug and Play:
2008-06-30 05:25:45:     deviceList: 1 devices.
2008-06-30 05:25:45: UPnP.h(269): Universal Plug and Play:
2008-06-30 05:25:45:     serviceList: 0 services.
2008-06-30 05:25:45: UPnP.cpp(1001): Universal Plug and Play:
2008-06-30 05:25:45:     Device:
2008-06-30 05:25:45:         friendlyName: FreeBSD router
2008-06-30 05:25:45:         deviceType: urn:schemas-upnp-org:device:InternetGatewayDevice:1
2008-06-30 05:25:45:         manufacturer: FreeBSD
2008-06-30 05:25:45:         manufacturerURL: http://www.freebsd.org/
2008-06-30 05:25:45:         modelDescription: FreeBSD router
2008-06-30 05:25:45:         modelName: FreeBSD router
2008-06-30 05:25:45:         modelNumber: 1
2008-06-30 05:25:45:         modelURL: http://www.freebsd.org/
2008-06-30 05:25:45:         serialNumber: 00000000
2008-06-30 05:25:45:         UDN: uuid:0659fd5b-6aaa-11dc-ae42-00508bb27945
2008-06-30 05:25:45:         UPC:
2008-06-30 05:25:45:         presentationURL: http://192.168.1.3:80/
2008-06-30 05:25:45: UPnP.cpp(1027): Universal Plug and Play:
2008-06-30 05:25:45:     Root Device:
2008-06-30 05:25:45:         URLBase:
2008-06-30 05:25:45:         Fixed URLBase: http://192.168.1.3:5555/rootDesc.xml
2008-06-30 05:25:45:         location: http://192.168.1.3:5555/rootDesc.xml
2008-06-30 05:25:45:         expires: 120
2008-06-30 05:25:45: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_SEARCH_RESULT: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-06-30 05:25:45: UPnP.cpp(1420): Universal Plug and Play: Internet Gateway Device Detected.
2008-06-30 05:25:45: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-06-30 05:25:45: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-06-30 05:25:45: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-06-30 05:25:45: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-06-30 05:25:45: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-06-30 05:25:45: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_ADVERTISEMENT_ALIVE: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-06-30 05:25:45: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_ADVERTISEMENT_ALIVE: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-06-30 05:25:45: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_ADVERTISEMENT_ALIVE: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-06-30 05:25:45: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_ADVERTISEMENT_ALIVE: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-06-30 05:25:45: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_ADVERTISEMENT_ALIVE: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-06-30 05:25:45: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_ADVERTISEMENT_ALIVE: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-06-30 05:25:45: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_ADVERTISEMENT_ALIVE: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-06-30 05:25:45: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_ADVERTISEMENT_ALIVE: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-06-30 05:25:45: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-06-30 05:25:45: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-06-30 05:25:45: UPnP.cpp(1435): Universal Plug and Play: UPNP_DISCOVERY_SEARCH_TIMEOUT.
2008-06-30 05:25:45: UPnP.cpp(1134): Universal Plug and Play: UPnP Error: CUPnPControlPoint::AddPortMapping: Wan Service not detected.
2008-06-30 05:25:45: amuleDlg.cpp(1183): \u76ae\u819a\u76ee\u9304 'no options available' \u4e0d\u5b58\u5728
2008-06-30 05:25:45: Logger.cpp(272): Error: can't open file 'no options available' (error 2: \u6c92\u6709\u6b64\u4e00\u6a94\u6848\u6216\u76ee\u9304)
2008-06-30 05:25:45: amuleDlg.cpp(217):
2008-06-30 05:25:45: amuleDlg.cpp(219):  - \u9019\u662faMule 2.2.1 using wxGTK2 v2.8.7 (\u57fa\u4e8e eMule)
2008-06-30 05:25:45: amuleDlg.cpp(221):    \u904b\u884c\u4e8e Linux 2.6.24-1-686 i686
2008-06-30 05:25:45: amuleDlg.cpp(223):  - \u8acb\u8a2a\u554f http://www.amule.org \u4ee5\u4e0b\u8f09\u6700\u65b0\u7248\u672c
2008-06-30 05:25:45: amuleDlg.cpp(224):
2008-06-30 05:25:45: IP2Country.cpp(104): 248\u500b\u570b\u65d7\u5716\u7247\u5df2\u8f09\u5165\u3002
2008-06-30 05:25:45: amuleDlg.cpp(1183): \u76ae\u819a\u76ee\u9304 'no options available' \u4e0d\u5b58\u5728
2008-06-30 05:25:45: Logger.cpp(272): Error: can't open file 'no options available' (error 2: \u6c92\u6709\u6b64\u4e00\u6a94\u6848\u6216\u76ee\u9304)
2008-06-30 05:25:45: ServerList.cpp(83): \u6b63\u5728\u8f09\u5165 server.met \u6587\u4ef6: /home/ycfu/.aMule/server.met
2008-06-30 05:25:45: ServerList.cpp(168): server.met \u4e2d\u6709 3 \u500b\u4f3a\u670d\u5668
2008-06-30 05:25:45: DownloadQueue.cpp(176): \u767c\u73fe 10 \u500b part \u6587\u4ef6
2008-06-30 05:25:45: SharedFileList.cpp(352): \u767c\u73fe 83 \u5df2\u77e5\u5206\u4eab\u7684\u6a94\u6848
2008-06-30 05:25:45: amule.cpp(801): \u6b63\u5728\u9023\u7dda
2008-06-30 05:25:45: ServerSocket.cpp(621): Servers: Trying to connect
2008-06-30 05:25:45: ServerSocket.cpp(754): \u6b63\u5728\u9023\u63a5\u81f3 !! Saugstube !! (193.138.221.214 - 193.138.221.214:4242)
2008-06-30 05:25:45: RoutingZone.cpp(188): \u8b80\u53d6 178 \u500b Kad \u806f\u7cfb\u4eba
2008-06-30 05:25:46: ThreadScheduler.cpp(308): ThreadScheduler: Completed task 'AICH Syncronizing', 0 tasks remaining.
2008-06-30 05:25:46: ServerConnect.cpp(190): \u5df2\u9023\u7dda\u5230 !! Saugstube !! (193.138.221.214:4242)
2008-06-30 05:25:47: ServerSocket.cpp(277): WARNING: !! Saugstube !! (193.138.221.214:4242) - NG : Your 14662 port is not reachable. Please review your network config.
2008-06-30 05:25:47: ServerSocket.cpp(409): Servers: Connected
2008-06-30 05:25:47: ServerConnect.cpp(263): \u5df2\u9023\u7dda\u5230: !! Saugstube !!
2008-06-30 05:25:47: ServerSocket.cpp(417): \u65b0\u4f7f\u7528\u8005 4472908
2008-06-30 05:25:47: ServerSocket.cpp(419): \u8b66\u544a\uff1a\u4f60\u6536\u5230\u4e86\u4f4eID\uff01
2008-06-30 05:25:47: ServerSocket.cpp(420): \u5927\u6982\u9019\u662f\u56e0\u7232\u60a8\u8655\u5728\u9632\u706b\u7246\u6216\u8def\u7531\u5668\u5f8c\u9762\u3002
2008-06-30 05:25:47: ServerSocket.cpp(421): \u8acb\u5230 http://wiki.amule.org \u7372\u53d6\u8a73\u60c5
« Last Edit: July 14, 2008, 02:36:05 AM by ycfu »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: UPnP error
« Reply #4 on: June 30, 2008, 07:04:33 AM »

ycfu,

You probably have a UPnP server working in your localhost. The UPnP module in aMule does not search for a particular host. It sends a broadcast message, and all the servers that listen reply.

Try to find which program is providing a UPnP device on your localhost and disable it to see if it works. If you can confirm that this is indeed the problem, I can address it on the code.

Cheers!
Logged

ycfu

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 8
Re: UPnP error
« Reply #5 on: June 30, 2008, 01:04:13 PM »

On localhost, no UPnP service running.

I use upnpc (upnpc: Miniupnp test client) test, messge as following:
Code: [Select]
# upnpc -s
upnpc : miniupnp test client. (c) 2006-2007 Thomas Bernard
Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :

 desc: http://192.168.1.3:5555/rootDesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.1.3:5555/ctl/IPConn
Local LAN ip address : 192.168.1.6
Connection Type : IP_Routed
Status : Connected, uptime=50865
MaxBitRateDown : 524288 bps   MaxBitRateUp 131072 bps
ExternalIPAddress = 220.133.100.143
Bytes:   Sent: 4209653561       Recv: 253682346
Packets: Sent:  2066973 Recv:  1471645

Code: [Select]
# upnpc -l
upnpc : miniupnp test client. (c) 2006-2007 Thomas Bernard
Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :

 desc: http://192.168.1.3:5555/rootDesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.1.3:5555/ctl/IPConn
Local LAN ip address : 192.168.1.6
Connection Type : IP_Routed
Status : Connected, uptime=50994
MaxBitRateDown : 524288 bps   MaxBitRateUp 131072 bps
ExternalIPAddress = 220.xxx.xxx.xxx

I use telnet test port 6544, as following:
Code: [Select]
# telnet 127.0.0.1 6544
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
#

I do not know why search upnp service on localhost.
« Last Edit: July 14, 2008, 02:38:15 AM by ycfu »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: UPnP error
« Reply #6 on: July 01, 2008, 06:08:39 AM »

What is the version of libupnp that you are using? Please try the latest one, which is 1.6.6. It would also be great if you could compile it yourself and enable debug and post the files IUpnpInfoFile.txt and IUpnpErrFile.txt. These will be created at the same directory where aMule is beeing started.

The behaviour is very odd, I still fail to understand what is going on. I think that somehow you have a UPnP device software running in the localhost. I also think that you might have a firewall blocking the connection. Try to run "iptables -F" as root and then run aMule as normal user. That should deactivate any firewall rules you might have.

Code: [Select]
2008-06-30 05:25:45: UPnP.cpp(1388): Universal Plug and Play: error(UPNP_DISCOVERY_SEARCH_RESULT): Error retrieving device description from http://127.0.0.1:6544/getDeviceDesc: UPNP_E_SOCKET_CONNECT.
2008-06-30 05:25:45: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_SEARCH_RESULT: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-06-30 05:25:45: UPnP.cpp(1420): Universal Plug and Play: Internet Gateway Device Detected.
...
2008-06-30 05:25:45: UPnP.cpp(746): Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'.
2008-06-30 05:25:45: UPnP.cpp(1748): Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://192.168.1.3:5555/evt/IPConn, error: UPNP_E_SUBSCRIBE_UNACCEPTED.

That means that the connection to http://127.0.0.1:6544/getDeviceDesc was not successful, but the connection to http://192.168.1.3:5555/rootDesc.xml was ok. Also, the Internet Gateway Device has been detected. But then after the subscription has not been accepted. This happens because the device has returned a code different from "200". Probably we can solve the mistery with the files IUpnpInfoFile.txt and IUpnpErrFile.txt. I hope you are able to generate them.
Logged

ycfu

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 8
Re: UPnP error
« Reply #7 on: July 07, 2008, 07:12:44 AM »

First, I use libupnp3 package in Debian, that version is 1.6.6-1.
I try to download source code of libupnp3 and compile it with debug support.
Then I remove libupnp3 package and edit/run / etc/ld.so.conf/ldconfig.
Then I execute amule, but I have not found IUpnpInfoFile.txt and IUpnpErrFile.txt.

Second, I have found the trouble maker of upnp service, unexpectedly it is NFS service (/etc/init.d/nfs-kernel-server and /etc/init.d/nfs-common).

Third, I turn off the NFS service, but upnp still has some error.
the UPnP message as follows:
Code: [Select]
2008-07-07 12:43:22: ClientCreditsList.cpp(168): \u7a4d\u5206\u6a94\u6848\u5df2\u8f09\u5165\uff0c2889\u500b\u5df2\u77e5\u4f7f\u7528\u8005
2008-07-07 12:43:22: IPFilter.cpp(109): \u6b63\u5728\u8f09\u5165IP\u904e\u6ffe\u6587\u4ef6 'ipfilter.dat' and 'ipfilter_static.dat'\u3002
2008-07-07 12:43:22: IPFilter.cpp(333): \u8f09\u5165 224908 \u500bIP\u6bb5\u81ea /home/ycfu/.aMule/ipfilter.dat\u3002 \u4e1f\u68c4\u4e86 0 \u884c\u932f\u8aa4\u6578\u64da\u3002
2008-07-07 12:43:22: IPFilter.cpp(333): \u8f09\u5165 0 \u500bIP\u6bb5\u81ea /home/ycfu/.aMule/ipfilter_static.dat\u3002 \u4e1f\u68c4\u4e86 0 \u884c\u932f\u8aa4\u6578\u64da\u3002
2008-07-07 12:43:22: ExternalConn.cpp(160): *** TCP socket (ECServer) listening on 0.0.0.0:4712
2008-07-07 12:43:22: MuleUDPSocket.cpp(81): Created Server UDP-Socket at port 14665
2008-07-07 12:43:22: MuleUDPSocket.cpp(81): Created Client UDP-Socket at port 14672
2008-07-07 12:43:22: UPnP.cpp(91): Universal Plug and Play: Successfully opened libixml.so.2.
2008-07-07 12:43:22: UPnP.cpp(87): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libupnp.so.2. Check PATH and LD_LIBRARY_PATH.
2008-07-07 12:43:22: UPnP.cpp(91): Universal Plug and Play: Successfully opened libupnp.so.3.
2008-07-07 12:43:22: UPnP.cpp(1063): Universal Plug and Play: bound to 192.168.1.6:49152.
2008-07-07 12:43:22: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_SEARCH_RESULT: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-07-07 12:43:22: UPnP.cpp(1420): Universal Plug and Play: Internet Gateway Device Detected.
2008-07-07 12:43:22: UPnP.h(269): Universal Plug and Play:
2008-07-07 12:43:22:     deviceList: 0 devices.
2008-07-07 12:43:22: UPnP.cpp(732): Universal Plug and Play:
2008-07-07 12:43:22:     Service:
2008-07-07 12:43:22:         serviceType: urn:schemas-upnp-org:service:WANIPConnection:1
2008-07-07 12:43:22:         serviceId: urn:upnp-org:serviceId:WANIPConn1
2008-07-07 12:43:22:         SCPDURL: /WANIPCn.xml
2008-07-07 12:43:22:         absSCPDURL: http://192.168.1.3:5555/WANIPCn.xml
2008-07-07 12:43:22:         controlURL: /ctl/IPConn
2008-07-07 12:43:22:         absControlURL: http://192.168.1.3:5555/ctl/IPConn
2008-07-07 12:43:22:         eventSubURL: /evt/IPConn
2008-07-07 12:43:22:         absEventSubURL: http://192.168.1.3:5555/evt/IPConn
2008-07-07 12:43:22: UPnP.cpp(746): Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'.
2008-07-07 12:43:22: UPnP.cpp(1748): Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://192.168.1.3:5555/evt/IPConn, error: UPNP_E_SUBSCRIBE_UNACCEPTED.
2008-07-07 12:43:22: UPnP.h(269): Universal Plug and Play:
2008-07-07 12:43:22:     serviceList: 1 services.
2008-07-07 12:43:22: UPnP.cpp(1001): Universal Plug and Play:
2008-07-07 12:43:22:     Device:
2008-07-07 12:43:22:         friendlyName: WANConnectionDevice
2008-07-07 12:43:22:         deviceType: urn:schemas-upnp-org:device:WANConnectionDevice:1
2008-07-07 12:43:22:         manufacturer: MiniUPnP
2008-07-07 12:43:22:         manufacturerURL: http://miniupnp.free.fr/
2008-07-07 12:43:22:         modelDescription: MiniUPnP daemon
2008-07-07 12:43:22:         modelName: MiniUPnPd
2008-07-07 12:43:22:         modelNumber: 20070827
2008-07-07 12:43:22:         modelURL: http://miniupnp.free.fr/
2008-07-07 12:43:22:         serialNumber: 00000000
2008-07-07 12:43:22:         UDN: uuid:0659fd5b-6aaa-11dc-ae42-00508bb27945
2008-07-07 12:43:22:         UPC: MINIUPNPD
2008-07-07 12:43:22:         presentationURL: http://192.168.1.3:5555/rootDesc.xml
2008-07-07 12:43:22: UPnP.h(269): Universal Plug and Play:
2008-07-07 12:43:22:     deviceList: 1 devices.
2008-07-07 12:43:22: UPnP.cpp(732): Universal Plug and Play:
2008-07-07 12:43:22:     Service:
2008-07-07 12:43:22:         serviceType: urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1
2008-07-07 12:43:22:         serviceId: urn:upnp-org:serviceId:WANCommonIFC1
2008-07-07 12:43:22:         SCPDURL: /WANCfg.xml
2008-07-07 12:43:22:         absSCPDURL: http://192.168.1.3:5555/WANCfg.xml
2008-07-07 12:43:22:         controlURL: /ctl/CmnIfCfg
2008-07-07 12:43:22:         absControlURL: http://192.168.1.3:5555/ctl/CmnIfCfg
2008-07-07 12:43:22:         eventSubURL: /evt/CmnIfCfg
2008-07-07 12:43:22:         absEventSubURL: http://192.168.1.3:5555/evt/CmnIfCfg
2008-07-07 12:43:22: UPnP.cpp(763): Universal Plug and Play: Uninteresting service detected: 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'. Ignoring.
2008-07-07 12:43:22: UPnP.h(269): Universal Plug and Play:
2008-07-07 12:43:22:     serviceList: 1 services.
2008-07-07 12:43:22: UPnP.cpp(1001): Universal Plug and Play:
2008-07-07 12:43:22:     Device:
2008-07-07 12:43:22:         friendlyName: WANDevice
2008-07-07 12:43:22:         deviceType: urn:schemas-upnp-org:device:WANDevice:1
2008-07-07 12:43:22:         manufacturer: MiniUPnP
2008-07-07 12:43:22:         manufacturerURL: http://miniupnp.free.fr/
2008-07-07 12:43:22:         modelDescription: WAN Device
2008-07-07 12:43:22:         modelName: WAN Device
2008-07-07 12:43:22:         modelNumber: 20070827
2008-07-07 12:43:22:         modelURL: http://miniupnp.free.fr/
2008-07-07 12:43:22:         serialNumber: 00000000
2008-07-07 12:43:22:         UDN: uuid:0659fd5b-6aaa-11dc-ae42-00508bb27945
2008-07-07 12:43:22:         UPC: MINIUPNPD
2008-07-07 12:43:22:         presentationURL: http://192.168.1.3:5555/rootDesc.xml
2008-07-07 12:43:22: UPnP.h(269): Universal Plug and Play:
2008-07-07 12:43:22:     deviceList: 1 devices.
2008-07-07 12:43:22: UPnP.h(269): Universal Plug and Play:
2008-07-07 12:43:22:     serviceList: 0 services.
2008-07-07 12:43:22: UPnP.cpp(1001): Universal Plug and Play:
2008-07-07 12:43:22:     Device:
2008-07-07 12:43:22:         friendlyName: FreeBSD router
2008-07-07 12:43:22:         deviceType: urn:schemas-upnp-org:device:InternetGatewayDevice:1
2008-07-07 12:43:22:         manufacturer: FreeBSD
2008-07-07 12:43:22:         manufacturerURL: http://www.freebsd.org/
2008-07-07 12:43:22:         modelDescription: FreeBSD router
2008-07-07 12:43:22:         modelName: FreeBSD router
2008-07-07 12:43:22:         modelNumber: 1
2008-07-07 12:43:22:         modelURL: http://www.freebsd.org/
2008-07-07 12:43:22:         serialNumber: 00000000
2008-07-07 12:43:22:         UDN: uuid:0659fd5b-6aaa-11dc-ae42-00508bb27945
2008-07-07 12:43:22:         UPC:
2008-07-07 12:43:22:         presentationURL: http://192.168.1.3:80/
2008-07-07 12:43:22: UPnP.cpp(1027): Universal Plug and Play:
2008-07-07 12:43:22:     Root Device:
2008-07-07 12:43:22:         URLBase:
2008-07-07 12:43:22:         Fixed URLBase: http://192.168.1.3:5555/rootDesc.xml
2008-07-07 12:43:22:         location: http://192.168.1.3:5555/rootDesc.xml
2008-07-07 12:43:22:         expires: 120
2008-07-07 12:43:22: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_SEARCH_RESULT: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-07-07 12:43:22: UPnP.cpp(1420): Universal Plug and Play: Internet Gateway Device Detected.
2008-07-07 12:43:22: UPnP.cpp(1435): Universal Plug and Play: UPNP_DISCOVERY_SEARCH_TIMEOUT.
2008-07-07 12:43:22: UPnP.cpp(1134): Universal Plug and Play: UPnP Error: CUPnPControlPoint::AddPortMapping: Wan Service not detected.
2008-07-07 12:43:22: amuleDlg.cpp(1183): \u76ae\u819a\u76ee\u9304 'no options available' \u4e0d\u5b58\u5728
2008-07-07 12:43:22: Logger.cpp(272): Error: can't open file 'no options available' (error 2: \u6c92\u6709\u6b64\u4e00\u6a94\u6848\u6216\u76ee\u9304)
2008-07-07 12:43:22: amuleDlg.cpp(217):
2008-07-07 12:43:22: amuleDlg.cpp(219):  - \u9019\u662faMule 2.2.1 using wxGTK2 v2.8.7 (\u57fa\u4e8e eMule)
2008-07-07 12:43:22: amuleDlg.cpp(221):    \u904b\u884c\u4e8e Linux 2.6.24-1-686 i686
2008-07-07 12:43:22: amuleDlg.cpp(223):  - \u8acb\u8a2a\u554f http://www.amule.org \u4ee5\u4e0b\u8f09\u6700\u65b0\u7248\u672c
2008-07-07 12:43:22: amuleDlg.cpp(224):
2008-07-07 12:43:22: IP2Country.cpp(104): 248\u500b\u570b\u65d7\u5716\u7247\u5df2\u8f09\u5165\u3002
2008-07-07 12:43:22: amuleDlg.cpp(1183): \u76ae\u819a\u76ee\u9304 'no options available' \u4e0d\u5b58\u5728
2008-07-07 12:43:22: Logger.cpp(272): Error: can't open file 'no options available' (error 2: \u6c92\u6709\u6b64\u4e00\u6a94\u6848\u6216\u76ee\u9304)
2008-07-07 12:43:22: ServerList.cpp(83): \u6b63\u5728\u8f09\u5165 server.met \u6587\u4ef6: /home/ycfu/.aMule/server.met
2008-07-07 12:43:22: ServerList.cpp(168): server.met \u4e2d\u6709 3 \u500b\u4f3a\u670d\u5668
2008-07-07 12:43:22: DownloadQueue.cpp(176): \u767c\u73fe 9 \u500b part \u6587\u4ef6
2008-07-07 12:43:22: SharedFileList.cpp(352): \u767c\u73fe 83 \u5df2\u77e5\u5206\u4eab\u7684\u6a94\u6848
2008-07-07 12:43:22: amule.cpp(801): \u6b63\u5728\u9023\u7dda
2008-07-07 12:43:22: ServerSocket.cpp(621): Servers: Trying to connect
2008-07-07 12:43:22: ServerSocket.cpp(754): \u6b63\u5728\u9023\u63a5\u81f3 !! Saugstube !! (193.138.221.214 - 193.138.221.214:4242)
2008-07-07 12:43:22: RoutingZone.cpp(188): \u8b80\u53d6 192 \u500b Kad \u806f\u7cfb\u4eba
2008-07-07 12:43:23: ThreadScheduler.cpp(308): ThreadScheduler: Completed task 'AICH Syncronizing', 0 tasks remaining.
2008-07-07 12:43:23: ServerConnect.cpp(190): \u5df2\u9023\u7dda\u5230 !! Saugstube !! (193.138.221.214:4242)
2008-07-07 12:43:24: ServerSocket.cpp(277): WARNING: !! Saugstube !! (193.138.221.214:4242) - NG : Your 14662 port is not reachable. Please review your network config.
2008-07-07 12:43:24: ServerSocket.cpp(409): Servers: Connected
2008-07-07 12:43:24: ServerConnect.cpp(263): \u5df2\u9023\u7dda\u5230: !! Saugstube !!
2008-07-07 12:43:24: ServerSocket.cpp(417): \u65b0\u4f7f\u7528\u8005 3233010
2008-07-07 12:43:24: ServerSocket.cpp(419): \u8b66\u544a\uff1a\u4f60\u6536\u5230\u4e86\u4f4eID\uff01
2008-07-07 12:43:24: ServerSocket.cpp(420): \u5927\u6982\u9019\u662f\u56e0\u7232\u60a8\u8655\u5728\u9632\u706b\u7246\u6216\u8def\u7531\u5668\u5f8c\u9762\u3002
2008-07-07 12:43:24: ServerSocket.cpp(421): \u8acb\u5230 http://wiki.amule.org \u7372\u53d6\u8a73\u60c5
2008-07-07 12:43:31: UPnP.cpp(1392): Universal Plug and Play: UPNP_DISCOVERY_ADVERTISEMENT_ALIVE: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
.....
« Last Edit: July 18, 2008, 12:00:07 AM by ycfu »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: UPnP error
« Reply #8 on: July 08, 2008, 04:46:20 AM »

Hi ycfu,

The problem is here:

Code: [Select]
2008-07-07 12:43:22: UPnP.cpp(732): Universal Plug and Play:
2008-07-07 12:43:22:     Service:
2008-07-07 12:43:22:         serviceType: urn:schemas-upnp-org:service:WANIPConnection:1
2008-07-07 12:43:22:         serviceId: urn:upnp-org:serviceId:WANIPConn1
2008-07-07 12:43:22:         SCPDURL: /WANIPCn.xml
2008-07-07 12:43:22:         absSCPDURL: http://192.168.1.3:5555/WANIPCn.xml
2008-07-07 12:43:22:         controlURL: /ctl/IPConn
2008-07-07 12:43:22:         absControlURL: http://192.168.1.3:5555/ctl/IPConn
2008-07-07 12:43:22:         eventSubURL: /evt/IPConn
2008-07-07 12:43:22:         absEventSubURL: http://192.168.1.3:5555/evt/IPConn
2008-07-07 12:43:22: UPnP.cpp(746): Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'.
2008-07-07 12:43:22: UPnP.cpp(1748): Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://192.168.1.3:5555/evt/IPConn, error: UPNP_E_SUBSCRIBE_UNACCEPTED.

Seems like older versions of miniUPnPd do not handle the subscription on WANIPConnection services. I have added a search for WANCommonInterFaceConfig and for Layer3Forwarding, maybe now it works. Would you mind testing tomorrow svn tarball?

Cheers!
Logged

ycfu

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 8
Re: UPnP error
« Reply #9 on: July 09, 2008, 04:05:27 PM »

Ok, I downloaded "aMule-CVS-20080709.tar.bz2", and compile it using the following settings:
./configure --prefix=/tmp/amule --enable-wxcas --enable-cas --enable-alc --enable-alcc --enable-amule-daemon --enable-amulecmd --enable-amulecmdgui --enable-webserver --enable-webservergui --enable-amule-gui

Compiler environment reference to:
http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian

The UPnP message as follows:
Code: [Select]
2008-07-09 21:35:26: ClientCreditsList.cpp(168): \u7a4d\u5206\u6a94\u6848\u5df2\u8f09\u5165\uff0c2892\u500b\u5df2\u77e5\u4f7f\u7528\u8005
2008-07-09 21:35:26: IPFilter.cpp(109): \u6b63\u5728\u8f09\u5165IP\u904e\u6ffe\u6587\u4ef6 'ipfilter.dat' and 'ipfilter_static.dat'\u3002
2008-07-09 21:35:26: IPFilter.cpp(334): \u8f09\u5165 224908 \u500bIP\u6bb5\u81ea /home/ycfu/.aMule/ipfilter.dat\u3002 \u4e1f\u68c4\u4e86 0 \u884c\u932f\u8aa4\u6578\u64da\u3002
2008-07-09 21:35:26: IPFilter.cpp(334): \u8f09\u5165 0 \u500bIP\u6bb5\u81ea /home/ycfu/.aMule/ipfilter_static.dat\u3002 \u4e1f\u68c4\u4e86 0 \u884c\u932f\u8aa4\u6578\u64da\u3002
2008-07-09 21:35:26: ExternalConn.cpp(160): *** TCP socket (ECServer) listening on 0.0.0.0:4712
2008-07-09 21:35:26: MuleUDPSocket.cpp(81): Created Server UDP-Socket at port 14665
2008-07-09 21:35:26: MuleUDPSocket.cpp(81): Created Client UDP-Socket at port 14672
2008-07-09 21:35:26: UPnPBase.cpp(857): Universal Plug and Play: bound to 192.168.1.6:49152.
2008-07-09 21:35:26: UPnPBase.cpp(1186): Universal Plug and Play: UPNP_DISCOVERY_SEARCH_RESULT: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-07-09 21:35:26: UPnPBase.cpp(1214): Universal Plug and Play: Internet Gateway Device Detected.
2008-07-09 21:35:26: UPnPBase.h(193): Universal Plug and Play:
2008-07-09 21:35:26:     deviceList: 0 devices.
2008-07-09 21:35:26: UPnPBase.cpp(524): Universal Plug and Play:
2008-07-09 21:35:26:     Service:
2008-07-09 21:35:26:         serviceType: urn:schemas-upnp-org:service:WANIPConnection:1
2008-07-09 21:35:26:         serviceId: urn:upnp-org:serviceId:WANIPConn1
2008-07-09 21:35:26:         SCPDURL: /WANIPCn.xml
2008-07-09 21:35:26:         absSCPDURL: http://192.168.1.3:5555/WANIPCn.xml
2008-07-09 21:35:26:         controlURL: /ctl/IPConn
2008-07-09 21:35:26:         absControlURL: http://192.168.1.3:5555/ctl/IPConn
2008-07-09 21:35:26:         eventSubURL: /evt/IPConn
2008-07-09 21:35:26:         absEventSubURL: http://192.168.1.3:5555/evt/IPConn
2008-07-09 21:35:26: UPnPBase.cpp(540): Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'.
2008-07-09 21:35:26: UPnPBase.cpp(1542): Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://192.168.1.3:5555/evt/IPConn, error: UPNP_E_SUBSCRIBE_UNACCEPTED.
2008-07-09 21:35:26: UPnPBase.h(193): Universal Plug and Play:
2008-07-09 21:35:26:     serviceList: 1 services.
2008-07-09 21:35:26: UPnPBase.cpp(795): Universal Plug and Play:
2008-07-09 21:35:26:     Device:
2008-07-09 21:35:26:         friendlyName: WANConnectionDevice
2008-07-09 21:35:26:         deviceType: urn:schemas-upnp-org:device:WANConnectionDevice:1
2008-07-09 21:35:26:         manufacturer: MiniUPnP
2008-07-09 21:35:26:         manufacturerURL: http://miniupnp.free.fr/
2008-07-09 21:35:26:         modelDescription: MiniUPnP daemon
2008-07-09 21:35:26:         modelName: MiniUPnPd
2008-07-09 21:35:26:         modelNumber: 20070827
2008-07-09 21:35:26:         modelURL: http://miniupnp.free.fr/
2008-07-09 21:35:26:         serialNumber: 00000000
2008-07-09 21:35:26:         UDN: uuid:0659fd5b-6aaa-11dc-ae42-00508bb27945
2008-07-09 21:35:26:         UPC: MINIUPNPD
2008-07-09 21:35:26:         presentationURL: http://192.168.1.3:5555/rootDesc.xml
2008-07-09 21:35:26: UPnPBase.h(193): Universal Plug and Play:
2008-07-09 21:35:26:     deviceList: 1 devices.
2008-07-09 21:35:26: UPnPBase.cpp(524): Universal Plug and Play:
2008-07-09 21:35:26:     Service:
2008-07-09 21:35:26:         serviceType: urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1
2008-07-09 21:35:26:         serviceId: urn:upnp-org:serviceId:WANCommonIFC1
2008-07-09 21:35:26:         SCPDURL: /WANCfg.xml
2008-07-09 21:35:26:         absSCPDURL: http://192.168.1.3:5555/WANCfg.xml
2008-07-09 21:35:26:         controlURL: /ctl/CmnIfCfg
2008-07-09 21:35:26:         absControlURL: http://192.168.1.3:5555/ctl/CmnIfCfg
2008-07-09 21:35:26:         eventSubURL: /evt/CmnIfCfg
2008-07-09 21:35:26:         absEventSubURL: http://192.168.1.3:5555/evt/CmnIfCfg
2008-07-09 21:35:26: UPnPBase.cpp(540): Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'.
2008-07-09 21:35:26: UPnPBase.cpp(1542): Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1, absEventSubURL: http://192.168.1.3:5555/evt/CmnIfCfg, error: UPNP_E_SUBSCRIBE_UNACCEPTED.
2008-07-09 21:35:26: UPnPBase.h(193): Universal Plug and Play:
2008-07-09 21:35:26:     serviceList: 1 services.
2008-07-09 21:35:26: UPnPBase.cpp(795): Universal Plug and Play:
2008-07-09 21:35:26:     Device:
2008-07-09 21:35:26:         friendlyName: WANDevice
2008-07-09 21:35:26:         deviceType: urn:schemas-upnp-org:device:WANDevice:1
2008-07-09 21:35:26:         manufacturer: MiniUPnP
2008-07-09 21:35:26:         manufacturerURL: http://miniupnp.free.fr/
2008-07-09 21:35:26:         modelDescription: WAN Device
2008-07-09 21:35:26:         modelName: WAN Device
2008-07-09 21:35:26:         modelNumber: 20070827
2008-07-09 21:35:26:         modelURL: http://miniupnp.free.fr/
2008-07-09 21:35:26:         serialNumber: 00000000
2008-07-09 21:35:26:         UDN: uuid:0659fd5b-6aaa-11dc-ae42-00508bb27945
2008-07-09 21:35:26:         UPC: MINIUPNPD
2008-07-09 21:35:26:         presentationURL: http://192.168.1.3:5555/rootDesc.xml
2008-07-09 21:35:26: UPnPBase.h(193): Universal Plug and Play:
2008-07-09 21:35:26:     deviceList: 1 devices.
2008-07-09 21:35:26: UPnPBase.h(193): Universal Plug and Play:
2008-07-09 21:35:26:     serviceList: 0 services.
2008-07-09 21:35:26: UPnPBase.cpp(795): Universal Plug and Play:
2008-07-09 21:35:26:     Device:
2008-07-09 21:35:26:         friendlyName: FreeBSD router
2008-07-09 21:35:26:         deviceType: urn:schemas-upnp-org:device:InternetGatewayDevice:1
2008-07-09 21:35:26:         manufacturer: FreeBSD
2008-07-09 21:35:26:         manufacturerURL: http://www.freebsd.org/
2008-07-09 21:35:26:         modelDescription: FreeBSD router
2008-07-09 21:35:26:         modelName: FreeBSD router
2008-07-09 21:35:26:         modelNumber: 1
2008-07-09 21:35:26:         modelURL: http://www.freebsd.org/
2008-07-09 21:35:26:         serialNumber: 00000000
2008-07-09 21:35:26:         UDN: uuid:0659fd5b-6aaa-11dc-ae42-00508bb27945
2008-07-09 21:35:26:         UPC:
2008-07-09 21:35:26:         presentationURL: http://192.168.1.3:80/
2008-07-09 21:35:26: UPnPBase.cpp(821): Universal Plug and Play:
2008-07-09 21:35:26:     Root Device:
2008-07-09 21:35:26:         URLBase:
2008-07-09 21:35:26:         Fixed URLBase: http://192.168.1.3:5555/rootDesc.xml
2008-07-09 21:35:26:         location: http://192.168.1.3:5555/rootDesc.xml
2008-07-09 21:35:26:         expires: 120
2008-07-09 21:35:26: UPnPBase.cpp(1186): Universal Plug and Play: UPNP_DISCOVERY_SEARCH_RESULT: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
2008-07-09 21:35:26: UPnPBase.cpp(1214): Universal Plug and Play: Internet Gateway Device Detected.
2008-07-09 21:35:26: UPnPBase.cpp(1229): Universal Plug and Play: UPNP_DISCOVERY_SEARCH_TIMEOUT.
2008-07-09 21:35:26: UPnPBase.cpp(928): Universal Plug and Play: UPnP Error: CUPnPControlPoint::AddPortMapping: Wan Service not detected.
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_Transfer
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_Connecting
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_OnQueue
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_A4AFNoNeededPartsQueueFull
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_StatusUnknown
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_ExtendedProtocol
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_SecIdent
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_BadGuy
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_CreditsGrey
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_CreditsYellow
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_Upload
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_Friend
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_eMule
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_mlDonkey
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_eDonkeyHybrid
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_aMule
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_lphant
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_Shareaza
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_xMule
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_Unknown
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_CommentOnly
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Client_Encrypted
2008-07-09 21:35:26: amuleDlg.cpp(221):
2008-07-09 21:35:26: amuleDlg.cpp(223):  - \u9019\u662faMule SVN using wxGTK2 v2.8.7 (Snapshot: Wed Jul  9 07:01:57 CEST 2008) (\u57fa\u4e8e eMule)
2008-07-09 21:35:26: amuleDlg.cpp(225):    \u904b\u884c\u4e8e Linux 2.6.24-1-686 i686
2008-07-09 21:35:26: amuleDlg.cpp(227):  - \u8acb\u8a2a\u554f http://www.amule.org \u4ee5\u4e0b\u8f09\u6700\u65b0\u7248\u672c
2008-07-09 21:35:26: amuleDlg.cpp(228):
2008-07-09 21:35:26: amuleDlg.cpp(1223): Warning: Can't load icon for Toolbar_Blink
2008-07-09 21:35:26: ServerList.cpp(83): \u6b63\u5728\u8f09\u5165 server.met \u6587\u4ef6: /home/ycfu/.aMule/server.met
2008-07-09 21:35:26: ServerList.cpp(168): server.met \u4e2d\u6709 3 \u500b\u4f3a\u670d\u5668
2008-07-09 21:35:26: DownloadQueue.cpp(176): \u767c\u73fe 9 \u500b part \u6587\u4ef6
2008-07-09 21:35:26: SharedFileList.cpp(352): \u767c\u73fe 83 \u5df2\u77e5\u5206\u4eab\u7684\u6a94\u6848
2008-07-09 21:35:26: amule.cpp(801): \u6b63\u5728\u9023\u7dda
2008-07-09 21:35:26: ServerSocket.cpp(621): Servers: Trying to connect
2008-07-09 21:35:26: ServerSocket.cpp(754): \u6b63\u5728\u9023\u63a5\u81f3 !! Saugstube !! (193.138.221.214 - 193.138.221.214:4242)
2008-07-09 21:35:26: RoutingZone.cpp(188): \u8b80\u53d6 197 \u500b Kad \u806f\u7cfb\u4eba
2008-07-09 21:35:28: UPnPBase.cpp(1186): Universal Plug and Play: UPNP_DISCOVERY_ADVERTISEMENT_ALIVE: Retrieving device description from http://192.168.1.3:5555/rootDesc.xml.
.....

I need to update miniupnpd on freebsd, then try again?
« Last Edit: July 14, 2008, 02:39:20 AM by ycfu »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: UPnP error
« Reply #10 on: July 10, 2008, 06:49:00 AM »

I need you to use the following sources for libupnp:

svn co https://pupnp.svn.sourceforge.net/svnroot/pupnp/branches/branch-1.6.x libupnp-1.6.x

The current release has no proper debug messages for this situation. We must find out why it is returning UPNP_E_SUBSCRIBE_UNACCEPTED for your router.
Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206
Re: UPnP error
« Reply #11 on: July 10, 2008, 10:40:49 AM »

Hi,
I have similar problem with my D-Link DSL-G604T with Routertech firmware 2.5.

Quote
The upnp service in RT2.5 is a port of Miniupnp http://miniupnp.free.fr/ developed on the 20071220 release, and then upgraded to the 20080224 release.
...
This implementation of upnp only has 2 functions, a display function of "Internet Gateway Device" in compatible clients (ie Windows XP), and the ability to only set incoming portfowards, which cannot override manual port forwards through the router GUI.
...
Miniupnp is also compiled with support for an alternative to upnp NAT-PMP http://en.wikipedia.org/wiki/NAT_Port_Mapping_Protocol and this can be enabled with
...

Full UPnP.txt in attachment,
I enabled UPnP in ther router and leave default setting.
Code: [Select]
/var # cat /etc/upnpd.conf
deny 0-1024 0.0.0.0/0 0-1024
/var #

aMule SVN 20080709 compiled with libupnp 1.6.6 on Mac OSX Tiger tell me:
Code: [Select]
2008-07-09 22:42:49: *** TCP socket (ECServer) listening on 0.0.0.0:4712
2008-07-09 22:42:49: Created Server UDP-Socket at port 4665
2008-07-09 22:42:49: Created Client UDP-Socket at port 4672
2008-07-09 22:42:49: Universal Plug and Play: bound to 192.168.1.11:50000.
2008-07-09 22:42:49: Universal Plug and Play: Internet Gateway Device Detected.
2008-07-09 22:42:49: Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANIPConnection:1'.
2008-07-09 22:42:49: Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:WANIPConnection:1, absEventSubURL: http://192.168.1.1:5000/evt/IPConn, error: UPNP_E_SUBSCRIBE_UNACCEPTED.
2008-07-09 22:42:49: Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'.
2008-07-09 22:42:49: Universal Plug and Play: Internet Gateway Device Detected.
2008-07-09 22:42:49: Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1, absEventSubURL: http://192.168.1.1:5000/evt/CmnIfCfg, error: UPNP_E_SUBSCRIBE_UNACCEPTED.
2008-07-09 22:42:49: Universal Plug and Play: WAN Service Detected: 'urn:schemas-upnp-org:service:Layer3Forwarding:1'.
2008-07-09 22:42:49: Universal Plug and Play: Error subscribing to service urn:schemas-upnp-org:service:Layer3Forwarding:1, absEventSubURL: http://192.168.1.1:5000/evt/L3F, error: UPNP_E_SUBSCRIBE_UNACCEPTED.
2008-07-09 22:42:49: Universal Plug and Play: UPnP Error: CUPnPControlPoint::AddPortMapping: Wan Service not detected.
2008-07-09 22:42:51:
2008-07-09 22:42:51:  - Questo è aMule SVN using wxMac v2.8.8 (Snapshot: Wed Jul  9 07:01:57 CEST 2008) basato su eMule.
2008-07-09 22:42:51:    In esecuzione su Mac OS X (Darwin 8.11.0 Power Macintosh)
2008-07-09 22:42:51:  - Visita http://www.amule.org per sapere se è disponibile una nuova versione.
2008-07-09 22:42:51:

Router tell me:
Code: [Select]
Jul  9 21:09:17 | MINIUPNPD initialized
Jul  9 21:09:17 | HTTP listening on port 5000
...
Jul  9 21:42:49 | SUBSCRIBE not implemented yet
Jul  9 21:42:49 | SUBSCRIBE not implemented yet
Jul  9 21:42:49 | SUBSCRIBE not implemented yet

Is "subscribe" needed for aMule?
Maybe I need to enable NAT-PMP?

« Last Edit: July 10, 2008, 10:42:21 AM by gtoso »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: UPnP error
« Reply #12 on: July 10, 2008, 01:38:28 PM »

Yes, in the current implementation, SUBSCRIBE is needed. But if someone points me to the correct way to do it without SUBSCRIBE, I can implement it.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: UPnP error
« Reply #13 on: July 10, 2008, 02:24:23 PM »

Ok, I will do a more permissive implementation. I will invert the order of things and allow a service not to be successful in subscription. That has consequences, but they should be harmless. Please test with tomorrow svn tarball and report.

gtoso, thank you very much for the information on SUBSCRIBE for your router. That seems to be the piece of information I was missing.
Logged

ycfu

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 8
Re: UPnP error
« Reply #14 on: July 10, 2008, 07:28:43 PM »

ok, I am sorry I did not understand meaning.
Since the problem is SUBSCRIBE in minoupnpd(old version not support?).
I show the Azureus's miniupnpd log(it's work), and the amule's miniupnpd log.
the azureus's log as follows(it's work):
Code: [Select]
miniupnpd[5531]: HTTP listening on port 5555
miniupnpd[5531]: SSDP M-SEARCH from 192.168.1.6:8008 ST: upnp:rootdevice
miniupnpd[5531]: HTTP connection from 192.168.1.6:53373
miniupnpd[5531]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5531]: HTTP connection from 192.168.1.6:53374
miniupnpd[5531]: HTTP REQUEST : GET /WANIPCn.xml (HTTP/1.1)
miniupnpd[5531]: HTTP connection from 192.168.1.6:53375
miniupnpd[5531]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[5531]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetGenericPortMappingEntry
miniupnpd[5531]: GetGenericPortMappingEntry: index=0
miniupnpd[5531]: Returning UPnPError 713: SpecifiedArrayIndexInvalid
miniupnpd[5531]: HTTP connection from 192.168.1.6:53376
miniupnpd[5531]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[5531]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetGenericPortMappingEntry
miniupnpd[5531]: GetGenericPortMappingEntry: index=0
miniupnpd[5531]: Returning UPnPError 713: SpecifiedArrayIndexInvalid
miniupnpd[5531]: HTTP connection from 192.168.1.6:53377
miniupnpd[5531]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[5531]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
miniupnpd[5531]: AddPortMapping: external port 31465 to 192.168.1.6:31465 protocol UDP for: Azureus UPnP 31465 UDP
miniupnpd[5531]: UPnP permission rule 0 matched : port mapping accepted
miniupnpd[5531]: redirecting port 31465 to 192.168.1.6:31465 protocol UDP for: Azureus UPnP 31465 UDP
miniupnpd[5531]: HTTP connection from 192.168.1.6:53378
miniupnpd[5531]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[5531]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
miniupnpd[5531]: AddPortMapping: external port 31465 to 192.168.1.6:31465 protocol TCP for: Azureus UPnP 31465 TCP
miniupnpd[5531]: UPnP permission rule 0 matched : port mapping accepted
miniupnpd[5531]: redirecting port 31465 to 192.168.1.6:31465 protocol TCP for: Azureus UPnP 31465 TCP
miniupnpd[5531]: HTTP connection from 192.168.1.6:53379
miniupnpd[5531]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[5531]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
miniupnpd[5531]: AddPortMapping: external port 6883 to 192.168.1.6:6883 protocol TCP for: Azureus UPnP 6883 TCP
miniupnpd[5531]: UPnP permission rule 0 matched : port mapping accepted
miniupnpd[5531]: redirecting port 6883 to 192.168.1.6:6883 protocol TCP for: Azureus UPnP 6883 TCP

the amule's log as follows:
Code: [Select]
miniupnpd[5527]: HTTP listening on port 5555
miniupnpd[5527]: SSDP M-SEARCH from 192.168.1.6:49383 ST: upnp:rootdevice
miniupnpd[5527]: HTTP connection from 192.168.1.6:50486
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50487
miniupnpd[5527]: HTTP REQUEST : SUBSCRIBE /evt/IPConn (HTTP/1.1)
miniupnpd[5527]: SUBSCRIBE not implemented yet
miniupnpd[5527]: HTTP connection from 192.168.1.6:50488
miniupnpd[5527]: HTTP REQUEST : SUBSCRIBE /evt/CmnIfCfg (HTTP/1.1)
miniupnpd[5527]: SUBSCRIBE not implemented yet
miniupnpd[5527]: SSDP M-SEARCH from 192.168.1.6:49383 ST: upnp:rootdevice
miniupnpd[5527]: HTTP connection from 192.168.1.6:50489
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50492
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50493
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50494
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50495
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50496
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50497
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50498
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50499
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50576
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50577
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50578
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50579
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50580
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50581
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50582
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50583
miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)

They are different is:
Code: [Select]
miniupnpd[5531]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5531]: HTTP connection from 192.168.1.6:53374
miniupnpd[5531]: HTTP REQUEST : GET /WANIPCn.xml (HTTP/1.1)
miniupnpd[5531]: HTTP connection from 192.168.1.6:53375
miniupnpd[5531]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[5531]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetGenericPortMappingEntry
.....

miniupnpd[5527]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5527]: HTTP connection from 192.168.1.6:50487
miniupnpd[5527]: HTTP REQUEST : SUBSCRIBE /evt/IPConn (HTTP/1.1)
miniupnpd[5527]: SUBSCRIBE not implemented yet
.....

May try to use POST method to replace SUBSCRIBE method?
« Last Edit: July 10, 2008, 07:39:55 PM by ycfu »
Logged
Pages: [1] 2