Vmware esxi 8.0.3 unable to login

CMK version:
2.0.33cee
OS version:
Oracle Linux 8

I have a problem connecting to esxi 8.0.3 without vcenter


the same confiugration to esxi 8.0.2 works

Error message:

Agent exited with code 1: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

when I log in with the same data via a browser directly on esxi it works for me.

esxi allows traffic to port 443

when i try from cli

./agent_vsphere --no-cert-check --debug --user checkmk --secret XXXXXX -D esx803
  File "/omd/sites/checkmk/lib/python3.11/ssl.py", line 1108, in _create
    self.do_handshake()
  File "/omd/sites/checkmk/lib/python3.11/ssl.py", line 1379, in do_handshake
    self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer

As if the --no-cert-check option was not taken into account

It looks like the Checkmk Server cant reach the ESX Server. Best check with curl if you reach the server, if not a Firewall may block that or the Port is wrong.

when i try to esxi 8.0.3 i get

OMD[checkmk]:~/etc$ curl -k  https://10.10.10.10
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 10.10.10.10:443

when i try to esxi 8.0.2 i get

OMD[checkmk]:~/etc$ curl -k  https://10.10.10.11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf8">
    <meta http-equiv="refresh" content="0;URL='/ui'"/>
</head>
</html>

now it’s working.
it’s was our security box, wrong insepct ssl traffic.

1 Like