<?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: web api locks the section after using &amp;amp;quot;add-access-rule&amp;amp;quot; in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/151933#M6936</link>
    <description>&lt;P&gt;Recently, a session didn't get logged out of (my bad) and I was getting object was locked, the user group actually had a lock on it in dashboard.&amp;nbsp; I was able to use this command to find a session id, that wasn't showing up with show-session, then I was able to discard it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;psql_client cpm postgres -c "select username,objid, applicationname from worksession where state='OPEN';"&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2022 17:10:00 GMT</pubDate>
    <dc:creator>Daniel_Kavan</dc:creator>
    <dc:date>2022-06-28T17:10:00Z</dc:date>
    <item>
      <title>web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104414#M5368</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying to use the add-access-rule API to create a rule on top, it pushes the change, and publish with 200 status code for the first time, but it doesn't show the change on the smart-console. also after that, it locks that particular section.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="locked_section.png" style="width: 235px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/9525i7D4134D26445958A/image-dimensions/235x107?v=v2" width="235" height="107" role="button" title="locked_section.png" alt="locked_section.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;below is the body:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;body_add_new_rule = {&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;"layer"&lt;SPAN class="s1"&gt;: layer&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;,&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;"position"&lt;SPAN class="s1"&gt;: &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;2&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;,&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;"name"&lt;SPAN class="s1"&gt;: name&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;,&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;"action"&lt;SPAN class="s1"&gt;: &lt;/SPAN&gt;"Accept"&lt;SPAN class="s2"&gt;,&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;"service"&lt;SPAN class="s1"&gt;: &lt;/SPAN&gt;"any"&lt;SPAN class="s2"&gt;,&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;"destination"&lt;SPAN class="s1"&gt;: dst_node&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;,&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;"source"&lt;SPAN class="s1"&gt;: src_node&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;,&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;"track"&lt;SPAN class="s1"&gt;: {&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;"type"&lt;SPAN class="s1"&gt;: &lt;/SPAN&gt;"Log"&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;}&lt;BR /&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;this is the response API returns:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;{'code': 'generic_error', 'message': "Runtime error: Object 'SHC Space at SOM' is locked by another session."}&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;FYI - i use the "logout" command to logout after each API to make sure the session doesnt get stuck, i have verified it in smart-console and session disconnects with no issue. &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;i appreciate if you can help me with this. pretty much stopping me from developing my app&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 20:03:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104414#M5368</guid>
      <dc:creator>Ahmadhr</dc:creator>
      <dc:date>2020-12-06T20:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104420#M5369</link>
      <description>&lt;P&gt;Any (set of) changes made via the API are done as part of a session.&lt;BR /&gt;This also applies to changes made via SmartConsole.&lt;BR /&gt;That session must either be published or discarded with an explicit API call.&lt;BR /&gt;If you do neither, some objects/changes made via that session will remain locked.&lt;BR /&gt;Once the relevant session is published/discarded, the lock should be removed.&lt;BR /&gt;This is done to prevent conflicting changes from being made.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 21:10:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104420#M5369</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-12-06T21:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104431#M5370</link>
      <description>&lt;P&gt;do i have to use the same uid that was generated initially when i created the session by "login"?&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am doing show-sessions to find it, but i cant tell which one is what,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 21:29:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104431#M5370</guid>
      <dc:creator>Ahmadhr</dc:creator>
      <dc:date>2020-12-06T21:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104432#M5371</link>
      <description>&lt;P&gt;Thank you so much, i actually was able to find all the web-api sessions by "show-sessions" and discard them, i am unlocked now. pphhewwww&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks so much for your prompt response.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 21:37:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104432#M5371</guid>
      <dc:creator>Ahmadhr</dc:creator>
      <dc:date>2020-12-06T21:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104438#M5372</link>
      <description>&lt;P&gt;The publish/discard action applies to the specified session uid.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 01:53:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104438#M5372</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-12-07T01:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104440#M5373</link>
      <description>&lt;P&gt;i use the below uid to publish the change, but i get 501 error not sure what i am doing wrong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{'uid': '&amp;lt;the uid&amp;gt;', -------&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; THIS UID&amp;nbsp;&lt;/P&gt;&lt;P&gt;'sid': 'WW0Z9DDxScwEYwMtbdLtRwK9IGOrLawwN0_FKWmgAEU',&lt;/P&gt;&lt;P&gt;'url': 'https://&amp;lt;myFW&amp;gt;:443/web_api', 'session-timeout': 600,&lt;/P&gt;&lt;P&gt;'last-login-was-at': {'posix': 1607307607855, 'iso-8601': '2020-12-06T18:20-0800'}, '&lt;/P&gt;&lt;P&gt;api-server-version': '1.5'}&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 02:25:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104440#M5373</guid>
      <dc:creator>Ahmadhr</dc:creator>
      <dc:date>2020-12-07T02:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104441#M5374</link>
      <description>&lt;P&gt;You sure that uid is active? (i.e. does it show in show-sessions)&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 02:31:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104441#M5374</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-12-07T02:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104538#M5377</link>
      <description>&lt;P&gt;when login happens i&amp;nbsp;instantly use the sid to api call other commands, but when i use the uid to publish the change, it throws error. FYI- i doing this in python as well as Postman,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 16:56:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104538#M5377</guid>
      <dc:creator>Ahmadhr</dc:creator>
      <dc:date>2020-12-07T16:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104544#M5378</link>
      <description>&lt;P&gt;yes i just checked during the runtime of the code, the session is active and shows on the show-session&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 17:14:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104544#M5378</guid>
      <dc:creator>Ahmadhr</dc:creator>
      <dc:date>2020-12-07T17:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104567#M5379</link>
      <description>&lt;P&gt;&lt;STRONG&gt;below is the log of my app, during the runtime.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;FYI - i only kept the last 4 digits of the uid.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;************ api_call for login and is being implemented ************&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;this is the sid generated in login time {'uid': &lt;FONT color="#FF0000"&gt;'....... de04', 'sid': 'FIaWmYwY6cJPKceMDVjnEo_3NgB20p8edyaEcIhlY1E'&lt;/FONT&gt;, 'url': 'https://&amp;lt;FW_IP&amp;gt;:443/web_api', 'session-timeout': 600, 'last-login-was-at': {'posix': 1607366481903, 'iso-8601': '2020-12-07T10:41-0800'}, 'api-server-version': '1.5'}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;-------- This is the UID of the Login Session: &lt;FONT color="#FF0000"&gt;....... de04 ---------&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;************ api_call for show-session and &lt;FONT color="#FF0000"&gt;FIaWmYwY6cJPKceMDVjnEo_3NgB20p8edyaEcIhlY1E&lt;/FONT&gt; is being implemented ************&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;################ this is the show session {'uid': &lt;FONT color="#FF0000"&gt;'....... de04'&lt;/FONT&gt;, 'type': 'session', 'domain': {'uid': '&amp;lt;domain uid&amp;gt;', 'name': 'MC-Core-DMS', 'domain-type': 'domain'}, ... omitted ....&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;************ api_call for add-access-rule and &lt;FONT color="#FF0000"&gt;FIaWmYwY6cJPKceMDVjnEo_3NgB20p8edyaEcIhlY1E&lt;/FONT&gt; is being implemented ************&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;************ Publish function is being implemented for .&lt;FONT color="#FF0000"&gt;...... de04&lt;/FONT&gt; ************&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;************ api_call for publish and &lt;FONT color="#FF0000"&gt;FIaWmYwY6cJPKceMDVjnEo_3NgB20p8edyaEcIhlY1E&lt;/FONT&gt; is being implemented ************&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;U&gt;&lt;FONT face="courier new,courier" size="2"&gt;############## add rule base function {'code': 'not_implemented', 'message': 'Publishing other than current session is not implemented'}&lt;/FONT&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 18:51:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104567#M5379</guid>
      <dc:creator>Ahmadhr</dc:creator>
      <dc:date>2020-12-07T18:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104569#M5380</link>
      <description>&lt;P&gt;For reference http 5xx is a server side error...&lt;/P&gt;&lt;P&gt;Run this cmd on the SMS in expert mode tailf $FWDIR/log/api.elg and run your script again...at some point you should be able to see what's wrong&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 19:30:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104569#M5380</guid>
      <dc:creator>FraP</dc:creator>
      <dc:date>2020-12-07T19:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104572#M5381</link>
      <description>&lt;P&gt;Francesco,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the reply, i get the same error even when i run it from postman. although when i discard the session with the same uid it works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so you are suggesting i check the log in the checkpoint fw itself to see whats going on?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 19:10:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104572#M5381</guid>
      <dc:creator>Ahmadhr</dc:creator>
      <dc:date>2020-12-07T19:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104574#M5382</link>
      <description>&lt;P&gt;On the manager...not the firewall!&lt;/P&gt;&lt;P&gt;1. connect on SMS and run in expert : tailf $FWDIR/log/api.elg&lt;BR /&gt;2. Make your api calls to the SMS&lt;BR /&gt;3. Grap the output, and share with us&lt;/P&gt;&lt;P&gt;From your output it seems that your are publish a different session...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 19:30:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104574#M5382</guid>
      <dc:creator>FraP</dc:creator>
      <dc:date>2020-12-07T19:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104575#M5383</link>
      <description>&lt;P&gt;Understood, I will share that here shortly&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 19:24:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104575#M5383</guid>
      <dc:creator>Ahmadhr</dc:creator>
      <dc:date>2020-12-07T19:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104582#M5384</link>
      <description>&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;2020-12-07 12:13:14,635 INFO com.checkpoint.management.web_api_is.utils.helpers.ApiCache.&amp;lt;init&amp;gt;:21 [qtp1742603008-28] - Cache created and initialized&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2020-12-07 12:13:14,636 INFO com.checkpoint.management.web_api.web_services.WebApiEntryPoint.logRequestedCommandInfo:19 [qtp1742603008-28] - Executing [publish] of version 1.5 (references 1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2020-12-07 12:13:14,636 ERROR com.checkpoint.management.web_api_is.exceptions.WebApiGeneralException.log:42 [qtp1742603008-28] - Error code: [NOT_IMPLEMENTED]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2020-12-07 12:13:14,636 ERROR com.checkpoint.management.web_api_is.exceptions.WebApiGeneralException.log:43 [qtp1742603008-28] - Error message: [Publishing other than current session is not implemented]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2020-12-07 12:13:14,636 ERROR com.checkpoint.management.web_api.utils.WebApiCommandExceptionUtils.getErrorReply:94 [qtp1742603008-28] -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;com.checkpoint.management.web_api_is.exceptions.WebApiGeneralException&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at com.checkpoint.management.web_api.core.handler.commands.session.publish.PublishRequest.normalize(PublishRequest.java:11)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at com.checkpoint.management.web_api_is.core.handler.base.request.ApiRequest.prepare(ApiRequest.java:3)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at com.checkpoint.management.web_api.core.handler.commands.session.publish.PublishRequestHandler.publish(PublishRequestHandler.java:6)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at java.lang.reflect.Method.invoke(Method.java:508)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at com.checkpoint.management.web_api_is.utils.WebApiReflectionUtils.invoke(WebApiReflectionUtils.java:7)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at com.checkpoint.management.web_api.web_services.WebApiEntryPoint.postEntryPoint(WebApiEntryPoint.java:102)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at sun.reflect.GeneratedMethodAccessor211.invoke(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at java.lang.reflect.Method.invoke(Method.java:508)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:181)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:97)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:204)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:101)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:251)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:293)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:212)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:268)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:247)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:210)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at com.checkpoint.management.web_api.core.filter.LogCustomDebugFieldFilter.doFilter(LogCustomDebugFieldFilter.java:19)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.handler.IPAccessHandler.handle(IPAccessHandler.java:203)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.Server.handle(Server.java:370)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;at java.lang.Thread.run(Thread.java:812)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2020-12-07 12:13:14,637 INFO com.checkpoint.management.web_api_is.utils.CsvFileWriterUtils.writeCsvLine:7 [qtp1742603008-28] - 2020-12-07,12:13:14 -0800,publish,FAILED,2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2020-12-07 12:13:14,638 INFO org.apache.cxf.interceptor.LoggingOutInterceptor.log:250 [qtp1742603008-28] - Outbound Message&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;---------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;ID: 1585&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Response-Code: 501&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Content-Type: application/json&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Headers: {Content-Type=[application/json], Date=[Mon, 07 Dec 2020 20:13:14 GMT]}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Payload: {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;"code" : "not_implemented",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;"message" : "Publishing other than current session is not implemented"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;--------------------------------------&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Dec 2020 20:29:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104582#M5384</guid>
      <dc:creator>Ahmadhr</dc:creator>
      <dc:date>2020-12-07T20:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104600#M5385</link>
      <description>&lt;P&gt;guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i got it working, our firewall admin has enabled the "session description" at publish/install time, but i was not aware of it, when i added session-name and session-description it fixed the issue&lt;/P&gt;&lt;P&gt;thank you so much for your suggestions and help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 19:43:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/104600#M5385</guid>
      <dc:creator>Ahmadhr</dc:creator>
      <dc:date>2020-12-11T19:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: web api locks the section after using &amp;quot;add-access-rule&amp;quot;</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/151933#M6936</link>
      <description>&lt;P&gt;Recently, a session didn't get logged out of (my bad) and I was getting object was locked, the user group actually had a lock on it in dashboard.&amp;nbsp; I was able to use this command to find a session id, that wasn't showing up with show-session, then I was able to discard it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;psql_client cpm postgres -c "select username,objid, applicationname from worksession where state='OPEN';"&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 17:10:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/web-api-locks-the-section-after-using-amp-quot-add-access-rule/m-p/151933#M6936</guid>
      <dc:creator>Daniel_Kavan</dc:creator>
      <dc:date>2022-06-28T17:10:00Z</dc:date>
    </item>
  </channel>
</rss>

