<?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: Discard a Disconnected Session in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Discard-a-Disconnected-Session/m-p/111582#M5647</link>
    <description>&lt;P&gt;Impeccable timing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regarding the stuck session, I was able to follow&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk133872" target="_blank" rel="noopener"&gt;sk133872&lt;/A&gt;&amp;nbsp;and discard changes from the affected session.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Feb 2021 03:08:04 GMT</pubDate>
    <dc:creator>cosmos</dc:creator>
    <dc:date>2021-02-23T03:08:04Z</dc:date>
    <item>
      <title>Discard a Disconnected Session</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Discard-a-Disconnected-Session/m-p/111572#M5645</link>
      <description>&lt;P&gt;I have a disconnected session with 1 unpublished change I wish to discard on R80.30 HFA 50 management, without disrupting service. Because no session timeout is configured.&lt;/P&gt;&lt;P&gt;The session is over a year old and I could cpstop/cpstart but I can't, because I need to take a backup/export of the server without disrupting service &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Of the two backup options (system backup and migrate export) we can only use migrate export, because HFA &amp;gt;215 is required to take a backup without disconnecting clients.&lt;/P&gt;&lt;P&gt;Migrate export fails because ambiguous error&lt;/P&gt;&lt;P&gt;Migrate export log says it's because unpublished changes, but the GUI provides no option to discard those changes (even when Application in use is SmartView Monitor).&lt;/P&gt;&lt;P&gt;But I cannot discard or take over the session in the GUI, because of some unknown reason.&lt;/P&gt;&lt;P&gt;mgmt_cli show session run as the user only shows the current API session not the ones logged in with a GUI client. If I could get the session ID I would use mgmt_cli discard - is there a way to get the GUI session UUID from the API? Because potential results in the community result in "Access Denied" despite being logged in.&lt;/P&gt;&lt;P&gt;So I search the community directly, because I got no answers from documentation or SK. No dice. I know, let's post a question! I have to back track because... the "create a post" button is missing the community search results page.&lt;/P&gt;&lt;P&gt;Because because because.&lt;/P&gt;&lt;P&gt;And I can't post this because "An Unexpected Error has occurred."&lt;/P&gt;&lt;P&gt;I'm sensing a theme here...&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 02:24:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Discard-a-Disconnected-Session/m-p/111572#M5645</guid>
      <dc:creator>cosmos</dc:creator>
      <dc:date>2021-02-23T02:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Discard a Disconnected Session</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Discard-a-Disconnected-Session/m-p/111574#M5646</link>
      <description>&lt;P&gt;The errors in the community likely occurred while we were doing a bit of housekeeping earlier today.&lt;BR /&gt;Those issues should be fixed now.&lt;/P&gt;
&lt;P&gt;In any case, the TAC can assist you in removing that "stuck" session in your management server.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 02:41:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Discard-a-Disconnected-Session/m-p/111574#M5646</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-02-23T02:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Discard a Disconnected Session</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Discard-a-Disconnected-Session/m-p/111582#M5647</link>
      <description>&lt;P&gt;Impeccable timing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regarding the stuck session, I was able to follow&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk133872" target="_blank" rel="noopener"&gt;sk133872&lt;/A&gt;&amp;nbsp;and discard changes from the affected session.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 03:08:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Discard-a-Disconnected-Session/m-p/111582#M5647</guid>
      <dc:creator>cosmos</dc:creator>
      <dc:date>2021-02-23T03:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Discard a Disconnected Session</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Discard-a-Disconnected-Session/m-p/111584#M5648</link>
      <description>&lt;P&gt;Good to hear you found the solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 03:23:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Discard-a-Disconnected-Session/m-p/111584#M5648</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-02-23T03:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Discard a Disconnected Session</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Discard-a-Disconnected-Session/m-p/155460#M7067</link>
      <description>&lt;P&gt;I had the same trouble.&lt;/P&gt;&lt;P&gt;But i had to change this request&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;psql_client cpm postgres -c "select applicationname,objid,creator,state,numberoflocks,numberofoperations,creationtime,lastmodifytime from worksession where state = 'OPEN' and (&lt;FONT color="#00FF00"&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;numberoflocks = '0'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt; or numberofoperations != '0');"&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 18:31:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Discard-a-Disconnected-Session/m-p/155460#M7067</guid>
      <dc:creator>Igor_Demchenko</dc:creator>
      <dc:date>2022-08-22T18:31:38Z</dc:date>
    </item>
  </channel>
</rss>

