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
Troubleshooting NSS error -5961 (PR_CONNECT_RESET_ERROR)
-
meganwilliford
- Posts: 101
- Joined: Tue Aug 06, 2019 7:49 am
Re: Troubleshooting NSS error -5961 (PR_CONNECT_RESET_ERROR)
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.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!