<?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: Internal Server Error - panxapi in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/internal-server-error-panxapi/m-p/1631#M42</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suggest posting this to DevCenter.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="2010" __jive_macro_name="community" class="jive_macro jive_macro_community" href="https://live.paloaltonetworks.com/" modifiedtitle="true" title="DevCenter"&gt;&lt;/A&gt; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Documentation:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc PAN::Util&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc PAN::CLI&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc PAN::XAPI&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc PAN::RC&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc PAN::Commit&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc PAN::Template&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc panxapi&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc panxapit&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc panaddr&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc pancli&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc panamount&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc expthreat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jun 2013 06:17:06 GMT</pubDate>
    <dc:creator>UhMayYeah</dc:creator>
    <dc:date>2013-06-19T06:17:06Z</dc:date>
    <item>
      <title>Internal Server Error - panxapi</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/internal-server-error-panxapi/m-p/1630#M41</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Getting internal server error when using panxapi (both perl and python version). Anybody have any idea why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anonymous:~$ panxapi&amp;nbsp; -sxr /config/devices/entry/vsys/entry/zone&lt;/P&gt;&lt;P&gt;show: LWP::UserAgent: 500 Internal Server Error&lt;/P&gt;&lt;P&gt;anonymous:~$&lt;/P&gt;&lt;P&gt;anonymous:~$&lt;/P&gt;&lt;P&gt;anonymous:~$ panxapi&amp;nbsp; -sxr "/config/devices/entry/vsys/entry/zone"&lt;/P&gt;&lt;P&gt;show: LWP::UserAgent: 500 Internal Server Error&lt;/P&gt;&lt;P&gt;anonymous:~$&lt;/P&gt;&lt;P&gt;anonymous:~$ panxapi.py&amp;nbsp; -sxr /config/devices/entry/vsys/entry/zone&lt;/P&gt;&lt;P&gt;show: URLError(reason): Internal Server Error&lt;/P&gt;&lt;P&gt;anonymous:~$&lt;/P&gt;&lt;P&gt;anonymous:~$&lt;/P&gt;&lt;P&gt;anonymous:~$ panxapi.py&amp;nbsp; -sxr "/config/devices/entry/vsys/entry/zone"&lt;/P&gt;&lt;P&gt;show: URLError(reason): Internal Server Error&lt;/P&gt;&lt;P&gt;anonymous:~$&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 03:29:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/internal-server-error-panxapi/m-p/1630#M41</guid>
      <dc:creator>Snake</dc:creator>
      <dc:date>2013-06-19T03:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Server Error - panxapi</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/internal-server-error-panxapi/m-p/1631#M42</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suggest posting this to DevCenter.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="2010" __jive_macro_name="community" class="jive_macro jive_macro_community" href="https://live.paloaltonetworks.com/" modifiedtitle="true" title="DevCenter"&gt;&lt;/A&gt; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Documentation:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc PAN::Util&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc PAN::CLI&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc PAN::XAPI&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc PAN::RC&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc PAN::Commit&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc PAN::Template&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc panxapi&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc panxapit&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc panaddr&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc pancli&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc panamount&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; $ perldoc expthreat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 06:17:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/internal-server-error-panxapi/m-p/1631#M42</guid>
      <dc:creator>UhMayYeah</dc:creator>
      <dc:date>2013-06-19T06:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Server Error - panxapi</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/internal-server-error-panxapi/m-p/1632#M43</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would guess it happens with curl also?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; $ KEY='cBwvtXHyrHp9EkOmJ/3PxYV5QG9XiMEsJRoBMhhh1Vw='&lt;/P&gt;&lt;P&gt;&amp;nbsp; $ XPATH=/config/devices/entry/vsys/entry/zone&lt;/P&gt;&lt;P&gt;&amp;nbsp; $ HOST=172.29.9.253&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; $ curl -k "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://$HOST/api/?type=config&amp;amp;action=show&amp;amp;key=$KEY&amp;amp;xpath=$XPATH"&gt;https://$HOST/api/?type=config&amp;amp;action=show&amp;amp;key=$KEY&amp;amp;xpath=$XPATH&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could try to tail these logs while performing the request to see if&lt;/P&gt;&lt;P&gt;anything useful shows up.&amp;nbsp; I would log a case if something obvious isn't&lt;/P&gt;&lt;P&gt;seen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; mp-log ms.log&lt;/P&gt;&lt;P&gt;&amp;nbsp; mp-log php.debug.log&lt;/P&gt;&lt;P&gt;&amp;nbsp; mp-log appWeb.log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; webserver-log error.log&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 22:34:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/internal-server-error-panxapi/m-p/1632#M43</guid>
      <dc:creator>ksteves1</dc:creator>
      <dc:date>2013-06-26T22:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Server Error - panxapi</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/internal-server-error-panxapi/m-p/1633#M44</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what was going on but I rebooted the server and now it works. Also not sure how and why that solved but I guess the host was due for a reboot anyway. Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 00:17:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/internal-server-error-panxapi/m-p/1633#M44</guid>
      <dc:creator>Snake</dc:creator>
      <dc:date>2013-06-28T00:17:28Z</dc:date>
    </item>
  </channel>
</rss>

