<?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 Re: Pan Configurator Failing to download Panorama Config in Panorama Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/438283#M444</link>
    <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/195437"&gt;@Kaliman&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did you ever have PAN Configurator working before or is this a new instance that you are trying to get up and working? Since you're getting an error on the initial configuration grab I would take the key that you generated and verify simply using the standard API that your key is actually operating successfully to pull the candidate config.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;config&amp;gt;&amp;lt;candidate&amp;gt;&amp;lt;/candidate&amp;gt;&amp;lt;/config&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=$key&lt;/LI-CODE&gt;</description>
    <pubDate>Sun, 03 Oct 2021 04:54:42 GMT</pubDate>
    <dc:creator>BPry</dc:creator>
    <dc:date>2021-10-03T04:54:42Z</dc:date>
    <item>
      <title>Pan Configurator Failing to download Panorama Config</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/438276#M443</link>
      <description>&lt;P&gt;I have configured the latest version of the PAN-Configurator.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created my API key from a superuser account.&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I tried to issue a command to label some rules it fails&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;php rules-edit.php in=api://192.168.0.10 ruletype=security location=NDH1-CHC-FW actions=tag-Add:REV4DELeltion 'filter=(rule is.disabled)'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I get the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;---------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;- Downloading config from API...&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;* ** ERROR ** * &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&amp;lt;config&amp;gt; was not found&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;XML line #-1, XPATH: /result&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;lt;#document&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;result&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;response status="success"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/response&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;/result&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;lt;/#document&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;*** Backtrace ***&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;0 ****&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;derr&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;()&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;::/home/expedition/pan-configurator/lib/misc-classes/class-PanAPIConnector.php line 1327&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;1 ****&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;PanAPIConnector:192.168.0.10&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s3"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;PanAPIConnector::getSavedConfig()&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s3"&gt; @&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;/home/expedition/pan-configurator/lib/misc-classes/class-PanAPIConnector.php line 1303&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;2 ****&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;PanAPIConnector:192.168.0.10&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s3"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;PanAPIConnector::getCandidateConfig()&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s3"&gt; @&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;/home/expedition/pan-configurator/utils/rules-edit.php line 374&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-----------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;any ideas would be appreciated!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Oct 2021 02:50:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/438276#M443</guid>
      <dc:creator>Kaliman</dc:creator>
      <dc:date>2021-10-03T02:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pan Configurator Failing to download Panorama Config</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/438283#M444</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/195437"&gt;@Kaliman&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did you ever have PAN Configurator working before or is this a new instance that you are trying to get up and working? Since you're getting an error on the initial configuration grab I would take the key that you generated and verify simply using the standard API that your key is actually operating successfully to pull the candidate config.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;config&amp;gt;&amp;lt;candidate&amp;gt;&amp;lt;/candidate&amp;gt;&amp;lt;/config&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=$key&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 03 Oct 2021 04:54:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/438283#M444</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2021-10-03T04:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pan Configurator Failing to download Panorama Config</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/438330#M445</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/43480"&gt;@BPry&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you for your time.&lt;BR /&gt;this tool was working before. However it has been a long time I tried.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your command and&amp;nbsp;I was getting an error with the syntax.&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;expedition@Expedition&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;:&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;~/pan-configurator/utils&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;$ /api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;config&amp;gt;&amp;lt;candidate&amp;gt;&amp;lt;/candidate&amp;gt;&amp;lt;/config&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key="key"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;-bash: syntax error near unexpected token `&amp;lt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, I tried to test with pan-python command and I got a successful response:&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;kaliman@OP bin % python panxapi.py -h 192.168.0.10 -K "KEY" -xr -s "/config/devices/entry/deviceconfig/system/hostname"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;show: success&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;lt;hostname&amp;gt;panoramalocal&amp;lt;/hostname&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Kaliman@OP bin %&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;BR /&gt;My question to you is, how can I reset my pan-configurator key?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;I am wondering if I made a mistake on the key.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Oct 2021 19:07:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/438330#M445</guid>
      <dc:creator>Kaliman</dc:creator>
      <dc:date>2021-10-03T19:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pan Configurator Failing to download Panorama Config</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/438389#M446</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/195437"&gt;@Kaliman&lt;/a&gt;&amp;nbsp;The key in the command is you API key. Here are instructions of how to get it:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api/get-started-with-the-pan-os-xml-api/get-your-api-key.html" target="_blank"&gt;https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api/get-started-with-the-pan-os-xml-api/get-your-api-key.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you done a software upgrade recently? It is possible that Panconfigurator does not support the latest PanOS.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 09:37:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/438389#M446</guid>
      <dc:creator>batd2</dc:creator>
      <dc:date>2021-10-04T09:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pan Configurator Failing to download Panorama Config</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/438682#M447</link>
      <description>&lt;P&gt;hello Batd2,&lt;/P&gt;&lt;P&gt;Thank you for your KB,&lt;/P&gt;&lt;P&gt;I meant to say, on PAN-Configurator, when I first connected, it requested the API key, I am afraid that I did not copy the whole string. in the subsequent connections. it did not request, so I may be stored somewhere. How can I delete it and try again?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 03:45:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/438682#M447</guid>
      <dc:creator>Kaliman</dc:creator>
      <dc:date>2021-10-05T03:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pan Configurator Failing to download Panorama Config</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/439769#M467</link>
      <description>&lt;P&gt;Test reply pz Ignore&lt;/P&gt;
&lt;P&gt;Admin&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 19:50:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/439769#M467</guid>
      <dc:creator>icharkashy</dc:creator>
      <dc:date>2021-10-08T19:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pan Configurator Failing to download Panorama Config</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/439879#M468</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/195437"&gt;@Kaliman&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The API key itself will be stored at .panconfkeystore in your systems user folder the first time you run the API connection type. If you think you did that incorrectly you can use the pa_key-manager script like so to set a new key:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;pa_key-manager delete=MGMT-IP
pa_key-manager add=MGMT-IP&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also your calling this by it's old name of panconfigurator, I just want to verify that you are aware of the pan-os-php library where this is actively supported and getting updates. The old panconfigurator repo is still kicking around, but you would want to be using pan-os-php repo so you actually get the latest updates.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Oct 2021 02:43:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/439879#M468</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2021-10-10T02:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pan Configurator Failing to download Panorama Config</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/441737#M485</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/130874"&gt;@batd2&lt;/a&gt;&amp;nbsp;pz ignore - Test for notifications&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Admin&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 18:37:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/441737#M485</guid>
      <dc:creator>icharkashy</dc:creator>
      <dc:date>2021-10-18T18:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pan Configurator Failing to download Panorama Config</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/447139#M526</link>
      <description>&lt;P&gt;I just saw these comments related to pan-configurator.&lt;BR /&gt;&lt;BR /&gt;Please be aware that I continued pan-configurator under a new name and repository:&lt;BR /&gt;&lt;A href="https://github.com/PaloAltoNetworks/pan-os-php" target="_blank"&gt;https://github.com/PaloAltoNetworks/pan-os-php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It has all the same functionality from the past, but more features and improved handling.&lt;BR /&gt;I am also working on an PAN-OS-PHP API, PAN-OS-PHP GUI in additional to the still available PAN-OS-PHP CLI.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To bring in some information about to answer the problem from March 2021, where it was not possible to download Panorama configuration.&lt;BR /&gt;This problem is related to a PAN-OS problem and was fixed in May 2021 by Palo Alto Networks, but I also introduced a work around,&lt;BR /&gt;if I am not mistaken at this time also public in pan-configurator.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For any feature request, please feel free to open an Github issue.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sven&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 07:32:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/pan-configurator-failing-to-download-panorama-config/m-p/447139#M526</guid>
      <dc:creator>swaschkut</dc:creator>
      <dc:date>2021-11-12T07:32:00Z</dc:date>
    </item>
  </channel>
</rss>

