<?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 add-access-rule failed: no publish staging queue? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-access-rule-failed-no-publish-staging-queue/m-p/210200#M8447</link>
    <description>&lt;P&gt;Recently I noticed that when we have multiple publishes, coming into the Checkpoint in fast succession, that have the same source OR same destination, Checkpoint chokes with the add-access-rule error (for all publish requests, except the first one).&amp;nbsp; If we pace the incoming publishes out, like at 30sec or more in between, we have no issue.&amp;nbsp; So, it seems that Checkpoint doesn't have any staging queue for the publishes.&amp;nbsp; Is that true?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2024 18:07:11 GMT</pubDate>
    <dc:creator>pdn</dc:creator>
    <dc:date>2024-04-01T18:07:11Z</dc:date>
    <item>
      <title>add-access-rule failed: no publish staging queue?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-access-rule-failed-no-publish-staging-queue/m-p/210200#M8447</link>
      <description>&lt;P&gt;Recently I noticed that when we have multiple publishes, coming into the Checkpoint in fast succession, that have the same source OR same destination, Checkpoint chokes with the add-access-rule error (for all publish requests, except the first one).&amp;nbsp; If we pace the incoming publishes out, like at 30sec or more in between, we have no issue.&amp;nbsp; So, it seems that Checkpoint doesn't have any staging queue for the publishes.&amp;nbsp; Is that true?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 18:07:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/add-access-rule-failed-no-publish-staging-queue/m-p/210200#M8447</guid>
      <dc:creator>pdn</dc:creator>
      <dc:date>2024-04-01T18:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: add-access-rule failed: no publish staging queue?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-access-rule-failed-no-publish-staging-queue/m-p/210254#M8455</link>
      <description>&lt;P&gt;Can you perhaps share syntax?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 10:34:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/add-access-rule-failed-no-publish-staging-queue/m-p/210254#M8455</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2024-04-02T10:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: add-access-rule failed: no publish staging queue?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-access-rule-failed-no-publish-staging-queue/m-p/210260#M8456</link>
      <description>&lt;P&gt;I like to correct what I said earlier. &amp;nbsp;&lt;/P&gt;&lt;P&gt;So the api we’ve used &amp;nbsp;to add a rule, is the add-access-rule. &amp;nbsp;Then we send a publish. &amp;nbsp;It fails with the add-access-rule call, even before the publish.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;An example that causes issue is. &amp;nbsp;Let’s say we have 3 add-access-rule calls coming into the checkpoint closely to each other, like within few seconds. All 3 have the different source, but the same destination (for example an Cisco ACI epg data center object that gets imported from Cisco ACI previously into Checkpoint). &amp;nbsp;In this case, from multiple processes (or multi threads). &amp;nbsp;The Checkpoint will choke, rejecting all access add requests except the first one. &amp;nbsp;I assume it’s because the firewall is processing the 1st request add, locking the epg object. &amp;nbsp;Hence, the 2 subsequent requests got rejected. &amp;nbsp;So it seems the firewall doesn't have a staging queue to hold for the 3 “concurrent” add requests. &amp;nbsp;When I paced out the 3 add requests, like 30sec or more, all 3 add requests were successful. Then their subsequent publish calls were also successful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I hope that helps clarify my question. &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 22:19:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/add-access-rule-failed-no-publish-staging-queue/m-p/210260#M8456</guid>
      <dc:creator>pdn</dc:creator>
      <dc:date>2024-04-02T22:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: add-access-rule failed: no publish staging queue?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-access-rule-failed-no-publish-staging-queue/m-p/210330#M8457</link>
      <description>&lt;P&gt;Tested in my lab adding a locked network object as destination and publishing, didn't cause any issues.&lt;/P&gt;
&lt;P&gt;A few thing that might help us understand if there's an issue here:&lt;/P&gt;
&lt;P&gt;1) If you can add the response for the API calls we might see what is wrong more clearly.&lt;/P&gt;
&lt;P&gt;2) If you cancel the publish after every add-access-rule and keep only the one at the end - will this succeed? Another way is to add sleep between commands&lt;/P&gt;
&lt;P&gt;3) The way you run the commands are waiting for response?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 09:26:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/add-access-rule-failed-no-publish-staging-queue/m-p/210330#M8457</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2024-04-03T09:26:12Z</dc:date>
    </item>
  </channel>
</rss>

