Getting Unknown error on UPnP port forwarding. Acording to tcpdump: Request: POST /ipc HTTP/1.1 Host: 192.168.0.1:1900 User-Agent: KTorrent/5.0dev Content-length: 606 Content-Type: text/xml SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping" <?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"><NewExternalPort>8888</NewExternalPort><NewProtocol>UDP</NewProtocol><NewInternalPort>8888</NewInternalPort><NewInternalClient>192.168.0.101</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>KTorrent UPNP 32</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></m:AddPortMapping></SOAP-ENV:Body></SOAP-ENV:Envelope> Response: HTTP/1.1 500 Internal Server Error CONTENT-LENGTH: 474 CONTENT-TYPE: text/xml; charset="utf-8" DATE: Mon, 16 May 2016 21:51:58 GMT EXT: SERVER: ipos/7.0 UPnP/1.0 TL-WDR4300/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> <SOAP-ENV:Fault> <faultcode>SOAP-ENV:Client</faultcode> <faultstring>UPnPError</faultstring> <detail> <UPnPError xmlns="urn:schemas-upnp-org:control-1-0"> <errorCode>402</errorCode> <errorDescription>No RemoteHost</errorDescription> </UPnPError> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> The only defference with 4.x ktorrent is absent <NewRemoteHost></NewRemoteHost> block. Here is an ktorrent 4.x request: POST /ipc HTTP/1.1 Host: 192.168.0.1:1900 User-Agent: KTorrent/4.3.1 Content-length: 636 Content-Type: text/xml SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping" <?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>6882</NewExternalPort><NewProtocol>UDP</NewProtocol><NewInternalPort>6882</NewInternalPort><NewInternalClient>192.168.0.104</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>KTorrent UPNP 0</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></m:AddPortMapping></SOAP-ENV:Body></SOAP-ENV:Envelope> Reproducible: Always
I get the same on TL-WR740N, ktorrent 5.0.1 The same response from the router as reported by Vovochka.
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!