Support Questions

Find answers, ask questions, and share your expertise

SSLError :Ambari host registration

avatar
Expert Contributor

I'm trying to register hostnames in Ambari but getting the error below. The os is ubuntu 14.04.We are using java version JDK 1.7.0_51 (java version "1.7.0_51".OpenJDK Runtime Environment (IcedTea 2.4.6) (7u51-2.4.6-1ubuntu4 ,OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode). The in ambari.properties file:

java.home=/usr/lib/jvm/java-7-openjdk-amd64 .But we are still getting below error.

Command start time 2016-07-26 17:50:40 ('INFO 2016-07-26 08:16:39,644 PingPortListener.py:50 - Ping port listener started on port: 8670 INFO 2016-07-26 08:16:39,645 main.py:289 - Connecting to Ambari server at https://xxx00675971901.yyy.com:8440 (10.223.71.166) INFO 2016-07-26 08:16:39,645 NetUtil.py:60 - Connecting to https://xxx00675971901.yyy.com:8440/ca ERROR 2016-07-26 08:20:00,397 NetUtil.py:84 - [Errno 8] _ssl.c:510: EOF occurred in violation of protocol ERROR 2016-07-26 08:20:00,397 NetUtil.py:85 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details. WARNING 2016-07-26 08:20:00,397 NetUtil.py:112 - Server at https://xxx00675971901.yyy.com:8440 is not reachable, sleeping for 10 seconds... INFO 2016-07-26 08:20:10,397 NetUtil.py:60 - Connecting to https://xxx00675971901.yyy.com:8440/ca INFO 2016-07-26 08:20:43,549 main.py:74 - loglevel=logging.INFO INFO 2016-07-26 08:20:43,549 main.py:74 - loglevel=logging.INFO INFO 2016-07-26 08:21:13,644 main.py:186 - Agent not going to die gracefully, going to execute kill -9 INFO 2016-07-26 08:21:13,650 ExitHelper.py:53 - Performing cleanup before exiting... INFO 2016-07-26 08:21:13,962 main.py:74 - loglevel=logging.INFO INFO 2016-07-26 08:21:13,962 main.py:74 - loglevel=logging.INFO INFO 2016-07-26 08:21:13,963 DataCleaner.py:39 - Data cleanup thread started INFO 2016-07-26 08:21:13,964 DataCleaner.py:120 - Data cleanup started INFO 2016-07-26 08:21:13,964 DataCleaner.py:122 - Data cleanup finished INFO 2016-07-26 08:21:13,990 PingPortListener.py:50 - Ping port listener started on port: 8670 INFO 2016-07-26 08:21:13,991 main.py:289 - Connecting to Ambari server at https://xxx00675971901.yyy.com:8440 (10.223.71.166) INFO 2016-07-26 08:21:13,992 NetUtil.py:60 - Connecting to https://xxx00675971901.yyy.com:8440/ca ', None) ('INFO 2016-07-26 08:16:39,644 PingPortListener.py:50 - Ping port listener started on port: 8670 INFO 2016-07-26 08:16:39,645 main.py:289 - Connecting to Ambari server at https://xxx00675971901.yyy.com:8440 (10.223.71.166) INFO 2016-07-26 08:16:39,645 NetUtil.py:60 - Connecting to https://xxx00675971901.yyy.com:8440/ca ERROR 2016-07-26 08:20:00,397 NetUtil.py:84 - [Errno 8] _ssl.c:510: EOF occurred in violation of protocol ERROR 2016-07-26 08:20:00,397 NetUtil.py:85 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details. WARNING 2016-07-26 08:20:00,397 NetUtil.py:112 - Server at https://xxx00675971901.yyy.com:8440 is not reachable, sleeping for 10 seconds... INFO 2016-07-26 08:20:10,397 NetUtil.py:60 - Connecting to https://xxx00675971901.yyy.com:8440/ca

1 ACCEPTED SOLUTION

avatar
Expert Contributor

@Ashnee Sharma Installed jdk 1.8.0_91 and the issue got resolved.

View solution in original post

6 REPLIES 6

avatar

Update the openssl package and try it again.

avatar
Expert Contributor

@Ashnee Sharma

the latest version opensll(OpenSSL 1.0.1f ) installed .But still we are getting the same problem.Am I missing anything here?

avatar

@Rajib Mandal

Is this works?

avatar

Try to use openjdk 1.8.0_77,install and upgrade from the centos 6 repo,may be then the problem is resolved.

Please chek the link:-

https://community.hortonworks.com/questions/145/openssl-error-upon-host-registration.html

avatar

If this works. please Let us know. It will help to others

avatar
Expert Contributor

@Ashnee Sharma Installed jdk 1.8.0_91 and the issue got resolved.