<?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: show-task failure with &amp;quot;no scope found for client session&amp;quot; in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137216#M6518</link>
    <description>&lt;P&gt;This message appears randomly after simple "add-host". Can you suggest any place in the logs which I can find some useful information?&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;</description>
    <pubDate>Mon, 27 Dec 2021 07:56:26 GMT</pubDate>
    <dc:creator>czinu</dc:creator>
    <dc:date>2021-12-27T07:56:26Z</dc:date>
    <item>
      <title>show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/136986#M6514</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;can anyone point me to the place where I could find what might have gone wrong? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{'tasks': [{'task-id': '01234567-89ab-cdef-867c-f49dd86d35a1', 'task-name': 'Publish operation', 'status': 'failed', 'progress-percentage': 100, 'suppressed': False, 'task-details': [{'fault-message': 'no scope found for client session J1_jQ1Rj6Yq48BzZ6dYR4pUO_aQO0nv_zaKACyBKuRc'}]}]}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 14:52:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/136986#M6514</guid>
      <dc:creator>czinu</dc:creator>
      <dc:date>2021-12-22T14:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137165#M6516</link>
      <description>&lt;P&gt;Other than the error message, any context? What are you doing, what is failing?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 15:11:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137165#M6516</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-24T15:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137167#M6517</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/181"&gt;@_Val_&lt;/a&gt;&amp;nbsp;asked you a good question...what exactly are you trying to do here? if you give us bit more context/description, we can try point you in right direction.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 15:18:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137167#M6517</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2021-12-24T15:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137216#M6518</link>
      <description>&lt;P&gt;This message appears randomly after simple "add-host". Can you suggest any place in the logs which I can find some useful information?&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 07:56:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137216#M6518</guid>
      <dc:creator>czinu</dc:creator>
      <dc:date>2021-12-27T07:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137217#M6519</link>
      <description>&lt;P&gt;Hi, "randomly" here is very unlikely.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check $FWDIR/log/api.elg (troubleshooting) and&amp;nbsp;$FWDIR/log/api.csv (calls and results) for details of an issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 08:02:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137217#M6519</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-27T08:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137237#M6520</link>
      <description>&lt;P&gt;is it the same on the MDS as I cannot see such files?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 12:26:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137237#M6520</guid>
      <dc:creator>czinu</dc:creator>
      <dc:date>2021-12-27T12:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137239#M6521</link>
      <description>&lt;P&gt;Depends on the environment you are connected to.&lt;/P&gt;
&lt;P&gt;If it is a specific CMA, "&lt;SPAN&gt;mdsenv [&amp;lt;&lt;/SPAN&gt;&lt;EM&gt;Name or IP address of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Vars_BladesFeatures.tp_dms variable"&gt;Domain Management Server&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;gt;]", then the same files as stated above. If on the global context, do not change the environment.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 12:34:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137239#M6521</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-27T12:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137240#M6522</link>
      <description>&lt;P&gt;Here is en example:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;[Expert@MyMDS:0]# mdsstat
+-----------------------------------------------------------------------------------------------------+
|                                      Processes status checking                                      |
+------+--------------------+-----------------+-------------+-------------+-------------+-------------+
| Type | Name               | IP address      | FWM         | FWD         | CPD         | CPCA        |
+------+--------------------+-----------------+-------------+-------------+-------------+-------------+
| MDS  |          -         | 192.168.3.51    | up 10086    | up 11422    | up 5427     | up 11440    |
+------+--------------------+-----------------+-------------+-------------+-------------+-------------+
| CMA  | MyDomain_Server    | 192.168.3.240   | up 10891    | up 8199     | up 7670     | up 9536     |
+------+--------------------+-----------------+-------------+-------------+-------------+-------------+
| Total &lt;SPAN class="mc-variable Vars_BladesFeatures.tp_dmss variable"&gt;Domain Management Servers&lt;/SPAN&gt; checked: 1     1 up   0 down                                        |
| Tip: Run mdsstat -h for legend                                                                      |
+-----------------------------------------------------------------------------------------------------+
[Expert@MyMDS:0]#
[Expert@MyMDS:0]# mdsenv MyDomain_Server
[Expert@MyMDS:0]#
[Expert@MyMDS:0]# echo $FWDIR
/opt/CPmds-&lt;SPAN class="mc-variable Book_Variables_Common.tp_maintrain_release variable"&gt;R81.10&lt;/SPAN&gt;/customers/MyDomain_Server/CPsuite-&lt;SPAN class="mc-variable Book_Variables_Common.tp_maintrain_release variable"&gt;R81.10&lt;/SPAN&gt;/fw1
[Expert@MyMDS:0]#&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 12:35:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137240#M6522</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-27T12:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137244#M6523</link>
      <description>&lt;P&gt;[Expert@CP-MDS-8040:0]# mdsstat&lt;BR /&gt;+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+&lt;BR /&gt;| Processes status checking |&lt;BR /&gt;+------+--------------------------------------------------------------------------------------------------------------------------------+-----------------+-------------+-------------+-------------+-------------+&lt;BR /&gt;| Type | Name | IP address | FWM | FWD | CPD | CPCA |&lt;BR /&gt;+------+--------------------------------------------------------------------------------------------------------------------------------+-----------------+-------------+-------------+-------------+-------------+&lt;BR /&gt;| MDS | - | 192.168.1.49 | up 10333 | up 10331 | up 5163 | up 10515 |&lt;BR /&gt;+------+--------------------------------------------------------------------------------------------------------------------------------+-----------------+-------------+-------------+-------------+-------------+&lt;BR /&gt;| CMA | CP-MS-8040 | 192.168.1.50 | up 8890 | up 8901 | up 8684 | up 9231 |&lt;BR /&gt;+------+--------------------------------------------------------------------------------------------------------------------------------+-----------------+-------------+-------------+-------------+-------------+&lt;BR /&gt;| Total Domain Management Servers checked: 1 1 up 0 down |&lt;BR /&gt;| Tip: Run mdsstat -h for legend |&lt;BR /&gt;+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+&lt;BR /&gt;[Expert@CP-MDS-8040:0]# mdsenv CP-MS-8040&lt;BR /&gt;[Expert@CP-MDS-8040:0]# ls $FWDIR/log/ | grep api&lt;BR /&gt;[Expert@CP-MDS-8040:0]# echo $FWDIR&lt;BR /&gt;/opt/CPmds-R80.40/customers/CP-MS-8040/CPsuite-R80.40/fw1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something in the config that nothing is logged?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 13:25:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137244#M6523</guid>
      <dc:creator>czinu</dc:creator>
      <dc:date>2021-12-27T13:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137251#M6524</link>
      <description>&lt;P&gt;Let's try on MDS level first&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 15:24:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137251#M6524</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-27T15:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137288#M6525</link>
      <description>&lt;P&gt;Only api references I can find are those:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@CP-MDS-8040:0]# find / -name api&lt;BR /&gt;/var/tmp/api&lt;BR /&gt;/opt/CPsuite-R80.40/fw1/api&lt;BR /&gt;/opt/CPsuite-R80.40/fw1/bin/api&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 08:11:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137288#M6525</guid>
      <dc:creator>czinu</dc:creator>
      <dc:date>2021-12-28T08:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137289#M6526</link>
      <description>&lt;P&gt;Logs should be there. Open a TAC call then.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 08:19:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137289#M6526</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-28T08:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137290#M6527</link>
      <description>&lt;P&gt;And I believe for "find" command, you need to use api*. Search /var/log/ partition and not root&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 08:20:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137290#M6527</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-28T08:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137291#M6528</link>
      <description>&lt;P&gt;or even *api*&amp;nbsp; - thx for this suggestion : )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@CP-MDS-8040:0]# find / -name *api*&lt;/P&gt;&lt;P&gt;(...)&lt;/P&gt;&lt;P&gt;/var/log/opt/CPsuite-R80.40/fw1/log/api_sh.elg&lt;BR /&gt;/var/log/opt/CPsuite-R80.40/fw1/log/api.csv&lt;BR /&gt;/var/log/opt/CPsuite-R80.40/fw1/log/api.json&lt;BR /&gt;/var/log/opt/CPsuite-R80.40/fw1/log/api.elg.1&lt;BR /&gt;/var/log/opt/CPsuite-R80.40/fw1/log/api.elg&lt;/P&gt;&lt;P&gt;(...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me analyze logs and get back with solution or additional question(s) : )&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 08:33:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137291#M6528</guid>
      <dc:creator>czinu</dc:creator>
      <dc:date>2021-12-28T08:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137292#M6529</link>
      <description>&lt;P&gt;Cool. Looking forward to hearing the results.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 09:25:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/137292#M6529</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2021-12-28T09:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: show-task failure with "no scope found for client session"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/139264#M6558</link>
      <description>&lt;P&gt;I was off for some time, but I have an update.&lt;/P&gt;&lt;P&gt;What we were actually doing is getting results of several "show task" calls in a loop and then logout.&lt;/P&gt;&lt;P&gt;Looks like a timing issue. After setting additional 2 sec of time.sleep to logout api call issue is gone. Previously when logout was called straight after last 'show task' all of them were failing with the same "no scope" message. I am attaching output, maybe you can find something interesting here or it will be useful for someone in the future. I have another issue, but I will open separate post for that.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 13:35:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-task-failure-with-quot-no-scope-found-for-client-session/m-p/139264#M6558</guid>
      <dc:creator>czinu</dc:creator>
      <dc:date>2022-01-24T13:35:22Z</dc:date>
    </item>
  </channel>
</rss>

