Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

Cloudera 6 Heartbeat - SSLError: sslv3 alert bad certificate

avatar
Explorer

I'm attempting to install Cloudera 6 as a single-node on Centos 7 using VMWare Workstation 12 for learning and POC purposes.

 

However, I'm running into heartbeat issues.  Initially I get an error saying...

 

[30/Sep/2018 21:55:05 +0000] 24667 MainThread agent ERROR Heartbeating to cloudera6.localdomain:7182 failed.
Traceback (most recent call last):
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py", line 1371, in _send_heartbeat
response = self.requestor.request('heartbeat', heartbeat_data)
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/avro/ipc.py", line 141, in request
return self.issue_request(call_request, message_name, request_datum)
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/avro/ipc.py", line 254, in issue_request
call_response = self.transceiver.transceive(call_request)
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/avro/ipc.py", line 483, in transceive
result = self.read_framed_message()
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/avro/ipc.py", line 489, in read_framed_message
framed_message = response_reader.read_framed_message()
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/avro/ipc.py", line 417, in read_framed_message
raise ConnectionClosedException("Reader read 0 bytes.")
ConnectionClosedException: Reader read 0 bytes.

 

The install program said...

 

If Use TLS Encryption for Agents is enabled in Cloudera Manager (Administration -> Settings -> Security), ensure that /etc/cloudera-scm-agent/config.ini has use_tls=1 on the host being added.

 

I updated the config.ini file, now I'm getting a slightly different error...

 

[01/Oct/2018 00:23:22 +0000] 27314 MainThread agent ERROR Heartbeating to cloudera6.localdomain:7182 failed.
Traceback (most recent call last):
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py", line 1362, 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 80, in connect
sock.connect((self.host, self.port))
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 304, in connect
ret = self.connect_ssl()
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 291, in connect_ssl
return m2.ssl_connect(self.ssl, self._timeout)
SSLError: sslv3 alert bad certificate

 

The message just repeats continuously.  The SSLError seems to be a new error compared to the original error.

 

I've tried this a few times, and figured I'd try to match my configuration to what I see in the QuickStart VMs.  My Hosts files is:

 

127.0.0.1 cloudera6.localdomain cloudera6 localhost localhost.localdomain
::1 localhost localhost.localdomain

 

The hostname file is :

cloudera6.localdomain

 

Any recommendations on what I should do next?

 

Thanks

W.D.

 

Who agreed with this topic