Support Questions

Find answers, ask questions, and share your expertise

Unable to install agent hearbeating failed SSLError : Unknown protocol

avatar
New Contributor

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

1 ACCEPTED SOLUTION

avatar
New Contributor

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

View solution in original post

1 REPLY 1

avatar
New Contributor

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