<?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 panos_Security_rule Module not working when Using a Private IP in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-security-rule-module-not-working-when-using-a-private-ip/m-p/541001#M3367</link>
    <description>&lt;P&gt;Hello Palo Alto Community&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed something really interesting when using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;panos_security_rule&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;module that I been troubleshooting for a long time without success&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, When I try to configure rules in a Palo Alto VM-500 using the Public IP of the mgmt Interface, it works like a charm configures the rules as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But If I use a private IP(Same palo alto interface just using the private IP), only the panos_security_rules does not work, it just hangs for a while and throws the following error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;An exception occurred during task execution. To see the full traceback, use -vvv. The error was: http.client.RemoteDisconnected: Remote end closed connection without response&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other playbooks module like for example create_objects, custom_urls, etc. works with the private IP, So I pretty much rule out a network/connectivity/authentication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to ChatGPT, it says that it might be a "TypeError" within panos/base.py&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just wondering if there is any ideas about what could be hapenning&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are my settings on the libraries&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Collection: paloaltonetworks.panos 2.13.0&lt;/LI&gt;&lt;LI&gt;Python: 3.8.10&lt;/LI&gt;&lt;LI&gt;Ansible: core 2.13.7&lt;/LI&gt;&lt;LI&gt;pan-os-python 1.7.3&lt;/LI&gt;&lt;LI&gt;pandevice 0.14.0&lt;/LI&gt;&lt;LI&gt;pan-python 0.17.0&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2023 23:37:28 GMT</pubDate>
    <dc:creator>fersherls</dc:creator>
    <dc:date>2023-05-03T23:37:28Z</dc:date>
    <item>
      <title>panos_Security_rule Module not working when Using a Private IP</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-security-rule-module-not-working-when-using-a-private-ip/m-p/541001#M3367</link>
      <description>&lt;P&gt;Hello Palo Alto Community&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed something really interesting when using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;panos_security_rule&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;module that I been troubleshooting for a long time without success&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, When I try to configure rules in a Palo Alto VM-500 using the Public IP of the mgmt Interface, it works like a charm configures the rules as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But If I use a private IP(Same palo alto interface just using the private IP), only the panos_security_rules does not work, it just hangs for a while and throws the following error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;An exception occurred during task execution. To see the full traceback, use -vvv. The error was: http.client.RemoteDisconnected: Remote end closed connection without response&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other playbooks module like for example create_objects, custom_urls, etc. works with the private IP, So I pretty much rule out a network/connectivity/authentication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to ChatGPT, it says that it might be a "TypeError" within panos/base.py&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just wondering if there is any ideas about what could be hapenning&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are my settings on the libraries&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Collection: paloaltonetworks.panos 2.13.0&lt;/LI&gt;&lt;LI&gt;Python: 3.8.10&lt;/LI&gt;&lt;LI&gt;Ansible: core 2.13.7&lt;/LI&gt;&lt;LI&gt;pan-os-python 1.7.3&lt;/LI&gt;&lt;LI&gt;pandevice 0.14.0&lt;/LI&gt;&lt;LI&gt;pan-python 0.17.0&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 23:37:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-security-rule-module-not-working-when-using-a-private-ip/m-p/541001#M3367</guid>
      <dc:creator>fersherls</dc:creator>
      <dc:date>2023-05-03T23:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: panos_Security_rule Module not working when Using a Private IP</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-security-rule-module-not-working-when-using-a-private-ip/m-p/541037#M3368</link>
      <description>&lt;P&gt;Tracking in&amp;nbsp;&lt;A href="https://github.com/PaloAltoNetworks/pan-os-ansible/issues/431" target="_blank"&gt;https://github.com/PaloAltoNetworks/pan-os-ansible/issues/431&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 08:45:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-security-rule-module-not-working-when-using-a-private-ip/m-p/541037#M3368</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2023-05-04T08:45:23Z</dc:date>
    </item>
  </channel>
</rss>

