NCPA - '[Errno 104] Connection reset by peer'
Re: NCPA - '[Errno 104] Connection reset by peer'
The token field is empty. That's the field ncpa uses for authentication. Can I give you some good advice? You'd be doing yourself a huge favor if you dig into the documentation on their website. For just about anything you need to do, there's plenty of info.
Re: NCPA - '[Errno 104] Connection reset by peer'
Did adding the token resolve your issue?
-
- Posts: 10
- Joined: Thu Jul 23, 2020 8:43 am
Re: NCPA - '[Errno 104] Connection reset by peer'
Hello,
i never use the token field, leave it empty.
I can try to add.
Firewall is already disabled
i never use the token field, leave it empty.
I can try to add.
Firewall is already disabled
-
- Posts: 10
- Joined: Thu Jul 23, 2020 8:43 am
Re: NCPA - '[Errno 104] Connection reset by peer'
Same meesage with token.
Re: NCPA - '[Errno 104] Connection reset by peer'
Hi, I have the same issue,
[XXX@XXXX ~]$ /usr/local/nagios/libexec/check_ncpa.py -H **** -t ***** -M disk -l
UNKNOWN: An error occurred connecting to API. (Connection error: '[Errno 104] Connection reset by peer')
with nmap the port is open
PORT STATE SERVICE
5693/tcp open rbsystem
$ curl -v https://****:5693
* Rebuilt URL to: https://****:5693/
* Trying ****...
* TCP_NODELAY set
* Connected to ****(****) port 5693 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to ****:5693
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to ****:5693
you have any solution?
Thanks
[XXX@XXXX ~]$ /usr/local/nagios/libexec/check_ncpa.py -H **** -t ***** -M disk -l
UNKNOWN: An error occurred connecting to API. (Connection error: '[Errno 104] Connection reset by peer')
with nmap the port is open
PORT STATE SERVICE
5693/tcp open rbsystem
$ curl -v https://****:5693
* Rebuilt URL to: https://****:5693/
* Trying ****...
* TCP_NODELAY set
* Connected to ****(****) port 5693 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to ****:5693
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to ****:5693
you have any solution?
Thanks
- jmichaelson
- Posts: 112
- Joined: Wed Aug 23, 2023 1:02 pm
Re: NCPA - '[Errno 104] Connection reset by peer'
Are you able to connect to the NCPA client with a browser? i.e., go to https://ip address:5693/?
Ignore the ssl warning that will appear, and use your token to log in.
Ignore the ssl warning that will appear, and use your token to log in.
Please let us know if you have any other questions or concerns.
-Jason
-Jason
Re: NCPA - '[Errno 104] Connection reset by peer'
Yes, I try to other server and url respond and I log in sussessfullyjmichaelson wrote: ↑Thu Feb 15, 2024 5:20 pm Are you able to connect to the NCPA client with a browser? i.e., go to https://ip address:5693/?
Ignore the ssl warning that will appear, and use your token to log in.
-
- Posts: 10
- Joined: Thu Jul 23, 2020 8:43 am
Re: NCPA - '[Errno 104] Connection reset by peer'
Hello,
on my side, it was a firewall dropping the flow, even if i catched it using telnet.
on my side, it was a firewall dropping the flow, even if i catched it using telnet.