Created on 09-11-2019 11:29 PM - last edited on 09-12-2019 02:14 AM by VidyaSargur
I am trying to install agent using Cloudera Express edition on different host. But getting following error
[12/Sep/2019 09:53:43 +0000] 20745 MainThread agent ERROR Heartbeating to omhs61p383.nbo.com: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: unknown protocol
[12/Sep/2019 09:53:48 +0000] 20745 MainThread agent ERROR Heartbeating to omhs61p383.nbo.com: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: unknown protocol
Created 09-12-2019 03:17 AM
I could solve this issue by setting use_tls=0 for each agent
sudo vi /etc/cloudera-scm-agent/config.ini
[Security]
# Use TLS and certificate validation when connecting to the CM server.
use_tls=1
Created 09-12-2019 03:17 AM
I could solve this issue by setting use_tls=0 for each agent
sudo vi /etc/cloudera-scm-agent/config.ini
[Security]
# Use TLS and certificate validation when connecting to the CM server.
use_tls=1