#32 net.sbbi.upnp.messages.UPNPResponseException: Detailed error code :501, Detailed error description :PAL_UPNP_SOAP_E_ACTION_FAILED

v1.0_(example)
wont-fix
Christoph
None
1
2014-06-04
2014-06-01
Stephen Crowley
No

DEBUG Connecting to router...
INFO Creating router factory for class org.chris.portmapper.router.sbbi.SBBIRouterFactory
DEBUG Creating a new instance of the router factory class class org.chris.portmapper.router.sbbi.SBBIRouterFactory
DEBUG Router factory created
INFO Searching for routers...
DEBUG System property portmapper.locationUrl not defined: discover routers automatically.
INFO Connected to router WRT1900AC
DEBUG Updating addresses...
DEBUG Get internal IP address...
INFO Got internal host name 'WRT1900AC.' for router.
DEBUG Get external IP address...
DEBUG Connection state changed to true
INFO Got external IP address 71.11.200.111 for router.
DEBUG Updating port mappings...
INFO Get all port mappings...
DEBUG Getting port mapping with entry number 0...
DEBUG Got port mapping #0: TCP :62183 -> 192.168.1.124:62183 enabled Spotify
DEBUG Getting port mapping with entry number 1...
DEBUG Got port mapping #1: TCP :30097 -> 192.168.1.103:30097 enabled Spotify
DEBUG Getting port mapping with entry number 2...
ERROR Got exception when fetching port mapping for entry number 2. Stop getting more entries.
net.sbbi.upnp.messages.UPNPResponseException: Detailed error code :501, Detailed error description :PAL_UPNP_SOAP_E_ACTION_FAILED
at net.sbbi.upnp.messages.ActionMessageResponseParser.startElement(ActionMessageResponseParser.java:145)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:378)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2770)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333)
at net.sbbi.upnp.messages.ActionMessage.service(ActionMessage.java:172)
at net.sbbi.upnp.impls.InternetGatewayDevice.getGenericPortMappingEntry(InternetGatewayDevice.java:303)
at org.chris.portmapper.router.sbbi.SBBIRouter.getPortMappings(SBBIRouter.java:133)
at org.chris.portmapper.gui.PortMapperView.updatePortMappings(PortMapperView.java:384)
at org.chris.portmapper.gui.PortMapperView$ConnectTask.doInBackground(PortMapperView.java:517)
at org.chris.portmapper.gui.PortMapperView$ConnectTask.doInBackground(PortMapperView.java:499)
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
INFO Found 2 mappings
DEBUG done

Discussion

  • Christoph
    Christoph
    2014-06-04

    This exception is normal. The UPnP protocol does not provide a method to get the number of available port mappings. The only way to get all mappings is to fetch mappings until an error occurs.

     


Anonymous


Cancel   Add attachments