cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1161
Views
15
Helpful
3
Replies

Error when doing sync from

RichardD2
Level 1
Level 1

We get the following error intermittently as nso starts (running ver5.5)

Any ideas on why?

 

nso-devel ncs[900]: webui 127.0.0.1 - admin [09/Feb/2021:22:06:32 +0000] "POST /restconf/data/tailf-ncs:devices/device=iosxr-r0/sync-from HTTP/1.1" 200 76 "-" "curl/7.64.0"
=ERROR REPORT==== 9-Feb-2021::22:06:32.376601 ===
Yaws process died: {{badmatch,{error,closed}},
                    [{yaws,setopts,3,[{file,"yaws.erl"},{line,2681}]},
                     {yaws,http_recv_request,2,
                           [{file,"yaws.erl"},{line,2703}]},
                     {yaws,do_http_get_headers,2,
                           [{file,"yaws.erl"},{line,2684}]},
                     {yaws_server,aloop,4,
                                  [{file,"yaws_server.erl"},{line,1250}]},
                     {yaws_server,acceptor0,2,
                                  [{file,"yaws_server.erl"},{line,1133}]},
                     {proc_lib,init_p_do_apply,3,
                               [{file,"proc_lib.erl"},{line,249}]}]}
 
3 Replies 3

rogaglia
Cisco Employee
Cisco Employee

sounds like something that you need to report to the Cisco TAC.

ttornkvi
Cisco Employee
Cisco Employee

What is the boolean 'webui/transport/ssl/keepalive' config parameter set to?

 

RichardD2
Level 1
Level 1

Hi @ttornkvi 

Looks like we don't have that setting in use. Current ncs.conf looks like this:

<webui>
    <enabled>true</enabled>
    <transport>
      <tcp>
        <enabled>true</enabled>
        <ip>0.0.0.0</ip>
        <port>8080</port>
      </tcp>
      <ssl>
        <enabled>false</enabled>
        <ip>0.0.0.0</ip>
        <port>8888</port>
        <key-file>${NCS_DIR}/var/ncs/webui/cert/host.key</key-file>
        <cert-file>${NCS_DIR}/var/ncs/webui/cert/host.cert</cert-file>
      </ssl>
    </transport>
Polls
AI-powered tools for network troubleshooting are likely to be part of everyone’s workflow sooner or later. What is the single biggest challenge or concern you see with adopting these tools in your organization?