Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to install agent hearbeating failed SSLError : Unknown protocol

Solved Go to solution

Unable to install agent hearbeating failed SSLError : Unknown protocol

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

Accepted Solutions

Re: Unable to install agent hearbeating failed SSLError : Unknown protocol

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

1 REPLY 1

Re: Unable to install agent hearbeating failed SSLError : Unknown protocol

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

Don't have an account?
Coming from Hortonworks? Activate your account here