<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unable to create uPnP port mapping &amp;quot;failed with code 501 (Action Failed)&amp;quot; in Mobile Broadband</title>
    <link>https://community.ee.co.uk/t5/Mobile-Broadband/Unable-to-create-uPnP-port-mapping-quot-failed-with-code-501/m-p/1467021#M32064</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an 4G Mini Mobile wifi router with uPnP enabled, &amp;nbsp;&lt;SPAN&gt;s/w Version 4G_WiFi_V01.06.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm trying to setup port forwarding for development but am always getting the same error: &lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;failed with code 501 (Action Failed)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, just trying to list any existing mappings that maybe already present on the router I get the error&amp;nbsp;&lt;FONT face="courier new,courier"&gt;SpecifiedArrayIndexInvalid&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have tried this from a Raspberry Pi and macOS using 3 different clients:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;upnpc CLI command (&amp;nbsp;&lt;A href="https://github.com/miniupnp/miniupnp" target="_blank"&gt;https://github.com/miniupnp/miniupnp&lt;/A&gt;&amp;nbsp;). &amp;nbsp;v.2.2.4 and v2.2.8&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;portmapper Java GUI (&lt;A href="https://sourceforge.net/projects/upnp-portmapper/" target="_blank"&gt;https://sourceforge.net/projects/upnp-portmapper/&lt;/A&gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;upnp router controller GUI (&lt;A href="https://snapcraft.io/install/upnp-router-control/raspbian" target="_blank"&gt;https://snapcraft.io/install/upnp-router-control/raspbian&lt;/A&gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The router has an available upnp endpoint but I have to specify a flag to overcome a "not connected?" error, even though I'm using the router right now to post this. Is that error and a blank "&lt;FONT face="courier new,courier"&gt;ExternalIPAddress" and "Status : Disconnected"&amp;nbsp;&lt;/FONT&gt;underlying causes?&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Examples&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Getting connection status:&lt;/U&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;upnpc -i -s&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;List of UPNP devices found on the network :&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;desc: &lt;A href="http://192.168.1.1:5000/rootDesc.xml" target="_blank"&gt;http://192.168.1.1:5000/rootDesc.xml&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;st: urn:schemas-upnp-org:device:InternetGatewayDevice:1&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Found a (not connected?) IGD : &lt;A href="http://192.168.1.1:5000/ctl/IPConn" target="_blank"&gt;http://192.168.1.1:5000/ctl/IPConn&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Trying to continue anyway&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Local LAN ip address : 192.168.1.206&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Connection Type : IP_Routed&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Status : Disconnected, uptime=7259s, LastConnectionError : ERROR_NONE&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; Time started : Wed Oct 30 03:19:47 2024&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;MaxBitRateDown : 8388608 bps (8.3 Mbps) &amp;nbsp; MaxBitRateUp 4194304 bps (4.1 Mbps)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;GetExternalIPAddress failed. (empty string)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Bytes: &amp;nbsp; Sent: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 Recv: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Packets: Sent: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 Recv: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Attempt to map a port:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;upnpc -i -e "mytest" -a 192.168.1.206 8080 8080 TCP&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Found a (not connected?) IGD : &lt;A href="http://192.168.1.1:5000/ctl/IPConn" target="_blank"&gt;http://192.168.1.1:5000/ctl/IPConn&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Trying to continue anyway&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Local LAN ip address : 192.168.1.206&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ExternalIPAddress = &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;AddPortMapping(8080, 8080, 192.168.1.206) failed with code 501 (&lt;STRONG&gt;Action Failed&lt;/STRONG&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Listing mappings:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;upnpc -i -l&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Found a (not connected?) IGD : &lt;A href="http://192.168.1.1:5000/ctl/IPConn" target="_blank"&gt;http://192.168.1.1:5000/ctl/IPConn&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Trying to continue anyway&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Local LAN ip address : 192.168.1.192&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Connection Type : IP_Routed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Status : Disconnected, uptime=8990s, LastConnectionError : ERROR_NONE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Time started : Wed Oct 30 03:19:46 2024&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;MaxBitRateDown : 8388608 bps (8.3 Mbps) MaxBitRateUp 4194304 bps (4.1 Mbps)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;GetExternalIPAddress failed. (empty string)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;i protocol exPort-&amp;gt;inAddr:inPort description remoteHost leaseTime&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;GetGenericPortMappingEntry() returned 713 (&lt;STRONG&gt;SpecifiedArrayIndexInvalid&lt;/STRONG&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any idea?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Oct 2024 05:57:28 GMT</pubDate>
    <dc:creator>ferric</dc:creator>
    <dc:date>2024-10-30T05:57:28Z</dc:date>
    <item>
      <title>Unable to create uPnP port mapping "failed with code 501 (Action Failed)"</title>
      <link>https://community.ee.co.uk/t5/Mobile-Broadband/Unable-to-create-uPnP-port-mapping-quot-failed-with-code-501/m-p/1467021#M32064</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an 4G Mini Mobile wifi router with uPnP enabled, &amp;nbsp;&lt;SPAN&gt;s/w Version 4G_WiFi_V01.06.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm trying to setup port forwarding for development but am always getting the same error: &lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;failed with code 501 (Action Failed)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, just trying to list any existing mappings that maybe already present on the router I get the error&amp;nbsp;&lt;FONT face="courier new,courier"&gt;SpecifiedArrayIndexInvalid&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have tried this from a Raspberry Pi and macOS using 3 different clients:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;upnpc CLI command (&amp;nbsp;&lt;A href="https://github.com/miniupnp/miniupnp" target="_blank"&gt;https://github.com/miniupnp/miniupnp&lt;/A&gt;&amp;nbsp;). &amp;nbsp;v.2.2.4 and v2.2.8&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;portmapper Java GUI (&lt;A href="https://sourceforge.net/projects/upnp-portmapper/" target="_blank"&gt;https://sourceforge.net/projects/upnp-portmapper/&lt;/A&gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;upnp router controller GUI (&lt;A href="https://snapcraft.io/install/upnp-router-control/raspbian" target="_blank"&gt;https://snapcraft.io/install/upnp-router-control/raspbian&lt;/A&gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The router has an available upnp endpoint but I have to specify a flag to overcome a "not connected?" error, even though I'm using the router right now to post this. Is that error and a blank "&lt;FONT face="courier new,courier"&gt;ExternalIPAddress" and "Status : Disconnected"&amp;nbsp;&lt;/FONT&gt;underlying causes?&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Examples&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Getting connection status:&lt;/U&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;upnpc -i -s&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;List of UPNP devices found on the network :&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;desc: &lt;A href="http://192.168.1.1:5000/rootDesc.xml" target="_blank"&gt;http://192.168.1.1:5000/rootDesc.xml&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;st: urn:schemas-upnp-org:device:InternetGatewayDevice:1&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Found a (not connected?) IGD : &lt;A href="http://192.168.1.1:5000/ctl/IPConn" target="_blank"&gt;http://192.168.1.1:5000/ctl/IPConn&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Trying to continue anyway&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Local LAN ip address : 192.168.1.206&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Connection Type : IP_Routed&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Status : Disconnected, uptime=7259s, LastConnectionError : ERROR_NONE&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; Time started : Wed Oct 30 03:19:47 2024&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;MaxBitRateDown : 8388608 bps (8.3 Mbps) &amp;nbsp; MaxBitRateUp 4194304 bps (4.1 Mbps)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;GetExternalIPAddress failed. (empty string)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Bytes: &amp;nbsp; Sent: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 Recv: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Packets: Sent: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 Recv: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Attempt to map a port:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;upnpc -i -e "mytest" -a 192.168.1.206 8080 8080 TCP&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Found a (not connected?) IGD : &lt;A href="http://192.168.1.1:5000/ctl/IPConn" target="_blank"&gt;http://192.168.1.1:5000/ctl/IPConn&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Trying to continue anyway&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Local LAN ip address : 192.168.1.206&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ExternalIPAddress = &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;AddPortMapping(8080, 8080, 192.168.1.206) failed with code 501 (&lt;STRONG&gt;Action Failed&lt;/STRONG&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Listing mappings:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;upnpc -i -l&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Found a (not connected?) IGD : &lt;A href="http://192.168.1.1:5000/ctl/IPConn" target="_blank"&gt;http://192.168.1.1:5000/ctl/IPConn&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Trying to continue anyway&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Local LAN ip address : 192.168.1.192&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Connection Type : IP_Routed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Status : Disconnected, uptime=8990s, LastConnectionError : ERROR_NONE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Time started : Wed Oct 30 03:19:46 2024&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;MaxBitRateDown : 8388608 bps (8.3 Mbps) MaxBitRateUp 4194304 bps (4.1 Mbps)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;GetExternalIPAddress failed. (empty string)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;i protocol exPort-&amp;gt;inAddr:inPort description remoteHost leaseTime&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;GetGenericPortMappingEntry() returned 713 (&lt;STRONG&gt;SpecifiedArrayIndexInvalid&lt;/STRONG&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any idea?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 05:57:28 GMT</pubDate>
      <guid>https://community.ee.co.uk/t5/Mobile-Broadband/Unable-to-create-uPnP-port-mapping-quot-failed-with-code-501/m-p/1467021#M32064</guid>
      <dc:creator>ferric</dc:creator>
      <dc:date>2024-10-30T05:57:28Z</dc:date>
    </item>
  </channel>
</rss>

