Support Questions

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

help!! ambari agent registe fail with "NetUtil.py:77 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol"

avatar
New Contributor

I install ambari 2.1 and try to install hdp 2.1 with my local hdp repo.

I install ambari server and ambari agent manually by using yum.

system version is centos 6.6 64bit version.

I can login ambari server correctly,but when I registe the ambari agent ,it was failed.

I check the ambari agent log in /var/log/ambari-agent/ambari-agent.log

it display:

INFO 2016-03-23 16:50:29,558 main.py:287 - Connecting to Ambari server at https://master.yunwei.test:8440 (192.168.18.204) INFO 2016-03-23 16:50:29,558 main.py:287 - Connecting to Ambari server at https://master.yunwei.test:8440 (192.168.18.204) INFO 2016-03-23 16:50:29,558 NetUtil.py:59 - Connecting to https://master.yunwei.test:8440/ca ERROR 2016-03-23 16:53:50,341 NetUtil.py:77 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol ERROR 2016-03-23 16:53:50,341 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.

I search the keywords "[Errno 8] _ssl.c:492: EOF occurred in violation of protocol" by google.

but the pages told me that it was the problem of openssl .I upgrade the openssl version,but it still display in the log file.

I don't know how to slove it.

Please help me !!!!!!!!!!

1 ACCEPTED SOLUTION

avatar
Expert Contributor

@Geoffrey Shelton Okot

I try to use openjdk 1.8.0_77,install and upgrade from the centos 6 repo,then the problem is resolved.

And I post to the content of the blew link

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

View solution in original post

5 REPLIES 5

avatar
Master Mentor

please look on our site typical openssl issues with registration, there are many, here's one solution dealing with Java https://community.hortonworks.com/questions/145/openssl-error-upon-host-registration.html

avatar
Expert Contributor
@Artem Ervits

I see this post yesterday,but I still don't know how to reslove it ,I reply at that post...

avatar
Master Mentor

@darkz yu

Aprt from the problem you are encountering could you do the following

1. All steps in Prepare the environment

2. Follow the attached Java setup and retry install-the-oracle-jdk-1.pdf

avatar
Expert Contributor
@Geoffrey Shelton Okot

In my another cluster,use openjdk is OK,so ,I don't think use oracle-jdk is necessary

avatar
Expert Contributor

@Geoffrey Shelton Okot

I try to use openjdk 1.8.0_77,install and upgrade from the centos 6 repo,then the problem is resolved.

And I post to the content of the blew link

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