Troubleshooting NSS error -5961 (PR_CONNECT_RESET_ERROR)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
meganwilliford
Posts: 101
Joined: Tue Aug 06, 2019 7:49 am

Troubleshooting NSS error -5961 (PR_CONNECT_RESET_ERROR)

Post by meganwilliford »

I am having trouble connecting to a remote host via NCPA. Below is the output when I run the test connect command. Nagios XI can reach the agent but then the connection gets reset. Any ideas on what the issue may be?

[root@<nagios xi> ~]# curl -k "https://<remote host>:5693/testconnect/?token=<token>" -v
* About to connect() to <remote host> port 5693 (#0)
* Trying <remote IP>...
* Connected to <remote host> (<remote IP>) port 5693 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* NSS error -5961 (PR_CONNECT_RESET_ERROR)
* TCP connection reset by peer
* Closing connection 0
curl: (35) TCP connection reset by peer
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Troubleshooting NSS error -5961 (PR_CONNECT_RESET_ERROR)

Post by jbrunkow »

This kind of issue is commonly caused by a timeout. You can try adjusting the time limit for your curl request with the --connect-timeout option.

Can you otherwise ping or scan this host from XI? That could help determine if network speed is contributing to the issue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked