09-27-2022 06:09 AM
All,
I'm working through the RESTCONF API to get a device added, fetch-keys and sync-from.
My device add and fetch keys API calls are working
I'm attempting to invoke a sync-from on a deployed dev-csr device but it's failing
The sync-from works via ncs_cli without issue.
When attempting it from RESTCONF API I get the following JSON response
10-02-2022 08:37 PM
Hi Scoot
Looks a bit like a problem I ran across last year, do you see log lines like this on the CSR ?
RP/0/RP0/CPU0:Apr 8 14:07:12.995 CEST: SSHD_[1297]: %SECURITY-SSHD-6-INFO_GENERAL : Incoming SSH session rate limit exceeded
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:
You could try to increase "ssh server rate-limit" to eg. 180 or insert some delay in your code.
br.
Kristoffer Laresn
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide