Cloudera: ERROR Heartbeating to :7182 failed. SSLError: unexpected eof
Getting this?
[18/May/2020 18:04:46 +0000] 2849 MainThread agent ERROR Heartbeating to srv-c01.mws.mds.xyz:7182 failed.
Traceback (most recent call last):
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py", line 1387, in _send_heartbeat
self.cfg.max_cert_depth)
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/https.py", line 139, in __init__
self.conn.connect()
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/httpslib.py", line 69, in connect
sock.connect((self.host, self.port))
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 309, in connect
ret = self.connect_ssl()
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 295, in connect_ssl
return m2.ssl_connect(self.ssl, self._timeout)
SSLError: unexpected eof
In this case it was because the Cloudera SCM Server was offline. Started it back up to resolve the above. Having said this, if your server is up but you still get this, then Cloudera SCM Server hasn't sent an SSL / TLS Certificate.
Cheers,
BK