This forum has been archived. All content is frozen. Please use KDE Discuss instead.

upnp: Error parsing xml

Tags: None
(comma "," separated)
wwmm
Registered Member
Posts
1
Karma
0
OS

upnp: Error parsing xml

Fri Mar 15, 2013 1:37 pm
Hi

I am using ktorrent 4.3.1 from arch linux repository and I am having problems with upnp port forwarding. On ktorrent log output there is the following:

Fri Mar 15 10:23:54 2013: Trying to find UPnP devices on the local network
Fri Mar 15 10:23:54 2013: Detected IGD ipos/7.0 UPnP/1.0 TL-MR3420/1.0
Fri Mar 15 10:23:54 2013: Downloading XML file http://192.168.1.1:1900/igd.xml
Fri Mar 15 10:23:55 2013: Error parsing XML

Strangely it is working with ktupnptest:

Code: Select all
Fri Mar 15 10:32:41 2013: Searching for routers ...
Fri Mar 15 10:32:41 2013: Trying to find UPnP devices on the local network
Fri Mar 15 10:32:41 2013: Sending :
Fri Mar 15 10:32:41 2013: M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
ST:urn:schemas-upnp-org:device:InternetGatewayDevice:1
MAN:"ssdp:discover"
MX:3


Fri Mar 15 10:32:41 2013: Received :
Fri Mar 15 10:32:41 2013: M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
ST:urn:schemas-upnp-org:device:InternetGatewayDevice:1
MAN:"ssdp:discover"
MX:3


Fri Mar 15 10:32:41 2013: Received :
Fri Mar 15 10:32:41 2013: HTTP/1.1 200 OK
CACHE-CONTROL: max-age=100
DATE: Fri, 15 Mar 2013 10:32:41 GMT
EXT:
LOCATION: http://192.168.1.1:1900/igd.xml
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
USN: uuid:060b7353-fca6-4070-85f4-1fbfb9add62c::urn:schemas-upnp-org:device:InternetGatewayDevice:1


Fri Mar 15 10:32:41 2013: Detected IGD ipos/7.0 UPnP/1.0 TL-MR3420/1.0
Fri Mar 15 10:32:41 2013: Downloading XML file http://192.168.1.1:1900/igd.xml
Fri Mar 15 10:32:41 2013: Sending
Fri Mar 15 10:32:41 2013: POST /ipc HTTP/1.1
Fri Mar 15 10:32:41 2013: Host: 192.168.1.1:1900
Fri Mar 15 10:32:41 2013: User-Agent: KTorrent/0.0.0
Fri Mar 15 10:32:41 2013: Content-length: 299
Fri Mar 15 10:32:41 2013: Content-Type: text/xml
Fri Mar 15 10:32:41 2013: SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetExternalIPAddress"
Fri Mar 15 10:32:41 2013:
Fri Mar 15 10:32:41 2013:
Fri Mar 15 10:32:41 2013: <?xml version="1.0"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:GetExternalIPAddress xmlns:m="urn:schemas-upnp-org:service:WANIPConnection:1"/></SOAP-ENV:Body></SOAP-ENV:Envelope>
Fri Mar 15 10:32:41 2013: UPnP: External IP: 179.227.136.34
Fri Mar 15 10:32:43 2013: Forwarding port 4000 (UDP)
Fri Mar 15 10:32:43 2013: Forwarding port 4000 (UDP)
Fri Mar 15 10:32:43 2013: Sending
Fri Mar 15 10:32:43 2013: POST /ipc HTTP/1.1
Fri Mar 15 10:32:43 2013: Host: 192.168.1.1:1900
Fri Mar 15 10:32:43 2013: User-Agent: KTorrent/0.0.0
Fri Mar 15 10:32:43 2013: Content-length: 636
Fri Mar 15 10:32:43 2013: Content-Type: text/xml
Fri Mar 15 10:32:43 2013: SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping"
Fri Mar 15 10:32:43 2013:
Fri Mar 15 10:32:43 2013:
Fri Mar 15 10:32:43 2013: <?xml version="1.0"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:AddPortMapping xmlns:m="urn:schemas-upnp-org:service:WANIPConnection:1"><NewRemoteHost></NewRemoteHost><NewExternalPort>4000</NewExternalPort><NewProtocol>UDP</NewProtocol><NewInternalPort>4000</NewInternalPort><NewInternalClient>192.168.1.102</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>KTorrent UPNP 0</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></m:AddPortMapping></SOAP-ENV:Body></SOAP-ENV:Envelope>
Fri Mar 15 10:32:44 2013: Received :
Fri Mar 15 10:32:44 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: upnp:rootdevice
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:060b7353-fca6-4070-85f4-1fbfb9add62c::upnp:rootdevice


Fri Mar 15 10:32:44 2013: Received :
Fri Mar 15 10:32:44 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: uuid:060b7353-fca6-4070-85f4-1fbfb9add62c
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:060b7353-fca6-4070-85f4-1fbfb9add62c


Fri Mar 15 10:32:44 2013: Received :
Fri Mar 15 10:32:44 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: urn:schemas-upnp-org:device:InternetGatewayDevice:1
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:060b7353-fca6-4070-85f4-1fbfb9add62c::urn:schemas-upnp-org:device:InternetGatewayDevice:1


Fri Mar 15 10:32:44 2013: Received :
Fri Mar 15 10:32:44 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: urn:schemas-upnp-org:service:Layer3Forwarding:1
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:060b7353-fca6-4070-85f4-1fbfb9add62c::urn:schemas-upnp-org:service:Layer3Forwarding:1


Fri Mar 15 10:32:44 2013: Received :
Fri Mar 15 10:32:44 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: uuid:254e9977-8964-49f3-b8d5-51acb7bd40fc
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:254e9977-8964-49f3-b8d5-51acb7bd40fc


Fri Mar 15 10:32:44 2013: Received :
Fri Mar 15 10:32:44 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: urn:schemas-upnp-org:device:WANDevice:1
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:254e9977-8964-49f3-b8d5-51acb7bd40fc::urn:schemas-upnp-org:device:WANDevice:1


Fri Mar 15 10:32:44 2013: Received :
Fri Mar 15 10:32:44 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:254e9977-8964-49f3-b8d5-51acb7bd40fc::urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1


Fri Mar 15 10:32:45 2013: Received :
Fri Mar 15 10:32:45 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: uuid:9f0865b3-f5da-4ad5-85b7-7404637fdf37
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:9f0865b3-f5da-4ad5-85b7-7404637fdf37


Fri Mar 15 10:32:45 2013: Received :
Fri Mar 15 10:32:45 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: urn:schemas-upnp-org:device:WANConnectionDevice:1
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:9f0865b3-f5da-4ad5-85b7-7404637fdf37::urn:schemas-upnp-org:device:WANConnectionDevice:1


Fri Mar 15 10:32:45 2013: Received :
Fri Mar 15 10:32:45 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: urn:schemas-upnp-org:service:WANIPConnection:1
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:9f0865b3-f5da-4ad5-85b7-7404637fdf37::urn:schemas-upnp-org:service:WANIPConnection:1


Fri Mar 15 10:32:45 2013: Received :
Fri Mar 15 10:32:45 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: uuid:565aa949-67c1-4c0e-aa8f-f349e6f59311
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:565aa949-67c1-4c0e-aa8f-f349e6f59311


Fri Mar 15 10:32:45 2013: Received :
Fri Mar 15 10:32:45 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: urn:schemas-wifialliance-org:device:WFADevice:1
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:565aa949-67c1-4c0e-aa8f-f349e6f59311::urn:schemas-wifialliance-org:device:WFADevice:1


Fri Mar 15 10:32:45 2013: Received :
Fri Mar 15 10:32:45 2013: NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
LOCATION: http://192.168.1.1:1900/igd.xml
NT: urn:schemas-wifialliance-org:service:WFAWLANConfig:1
NTS: ssdp:alive
SERVER: ipos/7.0 UPnP/1.0 TL-MR3420/1.0
USN: uuid:565aa949-67c1-4c0e-aa8f-f349e6f59311::urn:schemas-wifialliance-org:service:WFAWLANConfig:1
Totoro83
Registered Member
Posts
1
Karma
0

Re: upnp: Error parsing xml

Fri Jun 27, 2014 1:31 am
I've exactly the same problem, with the same version, and ktupnptest works perfectly to me, too.
I'm using fedora 19, I don't know if it can be of any help.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: upnp: Error parsing xml

Fri Jun 27, 2014 7:00 am
Do you both happen to have the same router?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell