<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Ambari-agent unable to communicate to ambari server SSL error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294398#M217232</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/33732"&gt;@Prakashcit&lt;/a&gt;&amp;nbsp;.&lt;BR /&gt;&lt;BR /&gt;Thank you for the info. I've already tried this. However, the error still persists after adding this to the configuration of ambari-agent.ini.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2020 06:40:09 GMT</pubDate>
    <dc:creator>TR7_BRYLE</dc:creator>
    <dc:date>2020-04-21T06:40:09Z</dc:date>
    <item>
      <title>Ambari-agent unable to communicate to ambari server SSL error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294203#M217122</link>
      <description>&lt;P&gt;I am trying to add a node in my cluster. However, after trying to register the new node to the cluster. I am getting the error below while registering it.Ambari version. 2.3.4.7&lt;BR /&gt;OS : Ubuntu 14.04&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ERROR 2020-04-15 14:10:08,335 NetUtil.py:84 - [Errno 8] _ssl.c:510: EOF occurred in violation of protocol&lt;BR /&gt;ERROR 2020-04-15 14:10:08,336 NetUtil.py:85 - SSLError: Failed to connect. Please check openssl library versions.&lt;BR /&gt;Refer to: &lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=1022468" target="_blank" rel="noopener"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=1022468&lt;/A&gt; for more details.&lt;BR /&gt;WARNING 2020-04-15 14:10:08,336 NetUtil.py:112 - Server at https://xxxxxxx:8440 is not reachable, sleeping for 10 seconds...&lt;BR /&gt;', None)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Troubleshooting:&lt;BR /&gt;- Python version is the same new node and the cluster. I am using python 2.6.&lt;BR /&gt;- Added also in ambari-client.ini the security protocol TLSv1.&lt;BR /&gt;- Java version is also the same on all node like the new node. I am using&amp;nbsp;java version "1.8.0_92".&lt;BR /&gt;- DNS is also properly set. Got positive result when digging fqdn is resolving in the DNS server.&lt;BR /&gt;- Host file is also properly set.&lt;BR /&gt;&lt;BR /&gt;Any suggestion is very much appreciated. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 06:59:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294203#M217122</guid>
      <dc:creator>TR7_BRYLE</dc:creator>
      <dc:date>2020-04-17T06:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-agent unable to communicate to ambari server SSL error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294264#M217154</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70854"&gt;@TR7_BRYLE&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not an Ambari expert but I feel you are definitely on the right track. I wonder if you can check a couple of more things:&lt;/P&gt;
&lt;P&gt;1. check what java version/path Ambari agent is using on the host?&lt;/P&gt;
&lt;P&gt;2. Then compare the java.security file with the working host to confirm that it allows TLSv1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 23:16:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294264#M217154</guid>
      <dc:creator>lwang</dc:creator>
      <dc:date>2020-04-17T23:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-agent unable to communicate to ambari server SSL error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294274#M217160</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/5016"&gt;@lwang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info. I will double-check the TLSv1 in my java.security. I've remembered that I already set the necessary protocols in my java config. Regarding Java and ambari variables, I confirmed that Ambari using the correct Java version declared in my Java and Ambari variables. Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 12:32:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294274#M217160</guid>
      <dc:creator>TR7_BRYLE</dc:creator>
      <dc:date>2020-04-18T12:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-agent unable to communicate to ambari server SSL error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294346#M217203</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70854"&gt;@TR7_BRYLE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ms-rteStyle-Normal ms-rteThemeFontFace-1 ms-rteFontSize-1"&gt;This issue occurs because the Java is restricting the&amp;nbsp;TLSv1 from (1.8.0-171)&lt;/SPAN&gt;&lt;SPAN class="ms-rteStyle-Normal ms-rteThemeFontFace-1 ms-rteFontSize-1"&gt;&amp;nbsp;used by the Ambari Agents.&amp;nbsp;By default, ambari-agent connects to TLSv1, unless specified by force_https_protocol=PROTOCOL_TLSv1_2 in ambari-agent.ini.&lt;/SPAN&gt;&lt;SPAN class="ms-rteStyle-Normal ms-rteThemeFontFace-1 ms-rteFontSize-1"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Hence, the Ambari- Agent is not able to connect and communicate to Ambari server.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ms-rteStyle-Normal ms-rteThemeFontFace-1 ms-rteFontSize-1"&gt;&lt;FONT face="roboto, sans-serif"&gt;To resolve this issue, add the following property in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;ambari-agent.ini&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;[&lt;/FONT&gt;&lt;FONT face="roboto, sans-serif"&gt;&lt;EM&gt;/etc/ambari-agent/conf/ambari-agent.ini&lt;/EM&gt;]&amp;nbsp;file under [security]&amp;nbsp;and restart ambari-agent.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln ms-rteFontFace-12 ms-rteFontSize-1"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln ms-rteFontFace-12 ms-rteFontSize-1"&gt;force_https_protocol&lt;/SPAN&gt;&lt;SPAN class="pun ms-rteFontFace-12 ms-rteFontSize-1"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln ms-rteFontFace-12 ms-rteFontSize-1"&gt;PROTOCOL_TLSv1_2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln ms-rteFontFace-12 ms-rteFontSize-1"&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/ambari-agents-cannot-reach-ambari-server-after-changing/td-p/193251" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/ambari-agents-cannot-reach-ambari-server-after-changing/td-p/193251&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln ms-rteFontFace-12 ms-rteFontSize-1"&gt;Restart the ambari agents&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln ms-rteFontFace-12 ms-rteFontSize-1"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln ms-rteFontFace-12 ms-rteFontSize-1"&gt;Prakash&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 10:21:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294346#M217203</guid>
      <dc:creator>Prakashcit</dc:creator>
      <dc:date>2020-04-20T10:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-agent unable to communicate to ambari server SSL error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294398#M217232</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/33732"&gt;@Prakashcit&lt;/a&gt;&amp;nbsp;.&lt;BR /&gt;&lt;BR /&gt;Thank you for the info. I've already tried this. However, the error still persists after adding this to the configuration of ambari-agent.ini.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 06:40:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294398#M217232</guid>
      <dc:creator>TR7_BRYLE</dc:creator>
      <dc:date>2020-04-21T06:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-agent unable to communicate to ambari server SSL error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294600#M217341</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70854"&gt;@TR7_BRYLE&lt;/a&gt;&amp;nbsp; Did we restart the agents after making the changes? can you attach the error stack trace.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 10:51:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294600#M217341</guid>
      <dc:creator>Prakashcit</dc:creator>
      <dc:date>2020-04-23T10:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-agent unable to communicate to ambari server SSL error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294665#M217376</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/33732"&gt;@Prakashcit&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yes we restarted the ambari-agent. Here is the error.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;ERROR 2020-04-15 14:10:08,335 NetUtil.py:84 - [Errno 8] _ssl.c:510: EOF occurred in violation of protocol
ERROR 2020-04-15 14:10:08,336 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 2020-04-15 14:10:08,336 NetUtil.py:112 - Server at https://&amp;lt;hostname&amp;gt;:8440 is not reachable, sleeping for 10 seconds...
', None)
('  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 306, in &amp;lt;module&amp;gt;
    main(heartbeat_stop_callback)
  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 242, in main
    stop_agent()
  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 189, in stop_agent
    sys.exit(1)&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Apr 2020 02:04:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/294665#M217376</guid>
      <dc:creator>TR7_BRYLE</dc:creator>
      <dc:date>2020-04-24T02:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-agent unable to communicate to ambari server SSL error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/301580#M220752</link>
      <description>&lt;P&gt;This issue is now resolved. This is due to missing binaries of ambari agent. I just copied all the required binaries.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 05:59:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/301580#M220752</guid>
      <dc:creator>TR7_BRYLE</dc:creator>
      <dc:date>2020-08-17T05:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-agent unable to communicate to ambari server SSL error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/369269#M240448</link>
      <description>&lt;P&gt;What&amp;nbsp;&lt;SPAN&gt;binaries?&amp;nbsp;I'm having the same problem right now and none of the solutions from the internet are helping.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 14:07:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/369269#M240448</guid>
      <dc:creator>kobolock</dc:creator>
      <dc:date>2023-04-24T14:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-agent unable to communicate to ambari server SSL error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/369680#M240529</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/40146"&gt;@kobolock&lt;/a&gt;&amp;nbsp;If you are seeing the same below error then you can you can try the following solution.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;SSLError: Failed to connect. Please check openssl library versions.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;To resolve this issue, add the following property in ambari-agent.ini (/etc/ambari-agent/conf/ambari-agent.ini) file under [security]and restart ambari-agent:
========
[security]
force_https_protocol=PROTOCOL_TLSv1_2&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click &lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt; below each response that helped.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 04:40:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/369680#M240529</guid>
      <dc:creator>Kartik_Agarwal</dc:creator>
      <dc:date>2023-04-28T04:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-agent unable to communicate to ambari server SSL error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/369706#M240536</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;none of the solutions from the internet are helping"&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;. So I asked what binaries?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 08:26:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-agent-unable-to-communicate-to-ambari-server-SSL/m-p/369706#M240536</guid>
      <dc:creator>kobolock</dc:creator>
      <dc:date>2023-04-28T08:26:22Z</dc:date>
    </item>
  </channel>
</rss>

