<?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 NSO RESTCONF Sync-From fails with NEDCOM CONNECT : Authenticate Error in NSO Developer Hub Discussions</title>
    <link>https://community.cisco.com/t5/nso-developer-hub-discussions/nso-restconf-sync-from-fails-with-nedcom-connect-authenticate/m-p/4694597#M7424</link>
    <description>&lt;P&gt;All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working through the RESTCONF API to get a device added, fetch-keys and sync-from.&lt;/P&gt;&lt;P&gt;My device add and fetch keys API calls are working&lt;/P&gt;&lt;P&gt;I'm attempting to invoke a sync-from on a deployed dev-csr device but it's failing&lt;/P&gt;&lt;P&gt;The sync-from works via ncs_cli without issue.&lt;/P&gt;&lt;P&gt;When attempting it from RESTCONF API I get the following JSON response&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"tailf-ncs:output"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "result"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"info"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Failed to connect to device dev-csr: connection refused: NEDCOM CONNECT: Authenticate: Exhausted available&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; authentication methods. Server allowed: [ publickey keyboard-interactive password ] in new state"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Am I incorrect to think any authentication parameters for the NED would be defined by the authgroup configured and appear to be working properly when I sync-from using CLI?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any direction on troubleshooting this please.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-Scott&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 27 Sep 2022 13:09:58 GMT</pubDate>
    <dc:creator>Scott.ODonnell@gmail.com</dc:creator>
    <dc:date>2022-09-27T13:09:58Z</dc:date>
    <item>
      <title>NSO RESTCONF Sync-From fails with NEDCOM CONNECT : Authenticate Error</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/nso-restconf-sync-from-fails-with-nedcom-connect-authenticate/m-p/4694597#M7424</link>
      <description>&lt;P&gt;All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working through the RESTCONF API to get a device added, fetch-keys and sync-from.&lt;/P&gt;&lt;P&gt;My device add and fetch keys API calls are working&lt;/P&gt;&lt;P&gt;I'm attempting to invoke a sync-from on a deployed dev-csr device but it's failing&lt;/P&gt;&lt;P&gt;The sync-from works via ncs_cli without issue.&lt;/P&gt;&lt;P&gt;When attempting it from RESTCONF API I get the following JSON response&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"tailf-ncs:output"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "result"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"info"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Failed to connect to device dev-csr: connection refused: NEDCOM CONNECT: Authenticate: Exhausted available&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; authentication methods. Server allowed: [ publickey keyboard-interactive password ] in new state"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Am I incorrect to think any authentication parameters for the NED would be defined by the authgroup configured and appear to be working properly when I sync-from using CLI?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any direction on troubleshooting this please.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-Scott&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Sep 2022 13:09:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/nso-restconf-sync-from-fails-with-nedcom-connect-authenticate/m-p/4694597#M7424</guid>
      <dc:creator>Scott.ODonnell@gmail.com</dc:creator>
      <dc:date>2022-09-27T13:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: NSO RESTCONF Sync-From fails with NEDCOM CONNECT : Authenticate Er</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/nso-restconf-sync-from-fails-with-nedcom-connect-authenticate/m-p/4697355#M7427</link>
      <description>&lt;P&gt;Hi Scoot&lt;/P&gt;
&lt;P&gt;Looks a bit like a problem I ran across last year, do you see log lines like this on the CSR ?&lt;/P&gt;
&lt;P&gt;RP/0/RP0/CPU0:Apr 8 14:07:12.995 CEST: SSHD_[1297]: %SECURITY-SSHD-6-INFO_GENERAL : Incoming SSH session rate limit exceeded&lt;/P&gt;
&lt;P&gt;If that is the case you are doing the fetch-keys and sync-from too fast, and are hitting the default rate-limit of 1 connection pr. second on the device. eg. have a look at this manual:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/routers/crs/software/crs_r5-3/security/command/reference/b-syssec-cr-53xcrs/b-syssec-cr-53xcrs_chapter_01000.html#wp1423655881" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/routers/crs/software/crs_r5-3/security/command/reference/b-syssec-cr-53xcrs/b-syssec-cr-53xcrs_chapter_01000.html#wp1423655881&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You could try to increase "ssh server rate-limit" to eg. 180 or insert some delay in your code.&lt;/P&gt;
&lt;P&gt;br.&lt;/P&gt;
&lt;P&gt;Kristoffer Laresn&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 03:37:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/nso-restconf-sync-from-fails-with-nedcom-connect-authenticate/m-p/4697355#M7427</guid>
      <dc:creator>radioman</dc:creator>
      <dc:date>2022-10-03T03:37:01Z</dc:date>
    </item>
  </channel>
</rss>

