<?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: Registration to ambari server via the ambari agent fail in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208965#M59923</link>
    <description>&lt;P&gt;read alsto about a limitation of Python..&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jul 2018 02:17:30 GMT</pubDate>
    <dc:creator>crex</dc:creator>
    <dc:date>2018-07-26T02:17:30Z</dc:date>
    <item>
      <title>Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208950#M59908</link>
      <description>&lt;P&gt;Hello Ambari Gurus,&lt;/P&gt;&lt;P&gt;I am installing the HDP 2.6 stack and I face the below issue. &lt;/P&gt;&lt;P&gt;Ambari agents don't get registered with the ambari server . When looking at the agent log it shows the following error:&lt;/P&gt;&lt;P&gt;IOError: Request to &lt;A href="https://ls5387v7.wdf.sap.corp:8441/agent/v1/register/ls5387v8.wdf.sap.corp" target="_blank"&gt;https://ls5387v7.wdf.sap.corp:8441/agent/v1/register/ls5387v8.wdf.sap.corp&lt;/A&gt; failed due to EOF occurred in violation of protocol (_ssl.c:661) &lt;/P&gt;&lt;P&gt;ERROR 2017-04-21 23:19:51,277 Controller.py:227 - Error:Request to &lt;A href="https://ls5387v7.wdf.sap.corp:8441/agent/v1/register/ls5387v8.wdf.sap.corp" target="_blank"&gt;https://ls5387v7.wdf.sap.corp:8441/agent/v1/register/ls5387v8.wdf.sap.corp&lt;/A&gt; failed due to EOF occurred in violation of protocol (_ssl.c:661) WARNING 2017-04-21 23:19:51,277 Controller.py:228 -  Sleeping for 25 seconds and then trying again&lt;/P&gt;&lt;P&gt;Registration log for the host shows the following:-&lt;/P&gt;&lt;P&gt;==========================
Creating target directory...
==========================
Command start time 2017-04-21 23:16:17
Connection to ls5387v8.wdf.sap.corp closed.
SSH command execution finished
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:17
==========================
Copying ambari sudo script...
==========================
Command start time 2017-04-21 23:16:17
scp /var/lib/ambari-server/ambari-sudo.sh
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:17
==========================
Copying common functions script...
==========================
Command start time 2017-04-21 23:16:17
scp /usr/lib/python2.6/site-packages/ambari_commons
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:18
==========================
Copying create-python-wrap script...
==========================
Command start time 2017-04-21 23:16:18
scp /var/lib/ambari-server/create-python-wrap.sh
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:18
==========================
Copying OS type check script...
==========================
Command start time 2017-04-21 23:16:18
scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:18
==========================
Running create-python-wrap script...
==========================
Command start time 2017-04-21 23:16:18
Connection to ls5387v8.wdf.sap.corp closed.
SSH command execution finished
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:19
==========================
Running OS type check...
==========================
Command start time 2017-04-21 23:16:19
Cluster primary/cluster OS family is suse12 and local/current OS family is suse12
Connection to ls5387v8.wdf.sap.corp closed.
SSH command execution finished
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:19
==========================
Checking 'sudo' package on remote host...
==========================
Command start time 2017-04-21 23:16:19
Connection to ls5387v8.wdf.sap.corp closed.
SSH command execution finished
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:19
==========================
Copying repo file to 'tmp' folder...
==========================
Command start time 2017-04-21 23:16:19
scp /etc/zypp/repos.d/ambari.repo
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:20
==========================
Moving file to repo dir...
==========================
Command start time 2017-04-21 23:16:20
Connection to ls5387v8.wdf.sap.corp closed.
SSH command execution finished
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:20
==========================
Changing permissions for ambari.repo...
==========================
Command start time 2017-04-21 23:16:20
Connection to ls5387v8.wdf.sap.corp closed.
SSH command execution finished
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:20
==========================
Copying setup script file...
==========================
Command start time 2017-04-21 23:16:20
scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:21
==========================
Running setup agent script...
==========================
Command start time 2017-04-21 23:16:21
("ERROR 2017-04-21 23:16:43,609 Controller.py:227 - Error:Request to &lt;A href="https://ls5387v7.wdf.sap.corp:8441/agent/v1/register/ls5387v8.wdf.sap.corp" target="_blank"&gt;https://ls5387v7.wdf.sap.corp:8441/agent/v1/register/ls5387v8.wdf.sap.corp&lt;/A&gt; failed due to EOF occurred in violation of protocol (_ssl.c:661)
WARNING 2017-04-21 23:16:43,610 Controller.py:228 -  Sleeping for 13 seconds and then trying again 
INFO 2017-04-21 23:16:54,945 main.py:286 - Agent not going to die gracefully, going to execute kill -9
INFO 2017-04-21 23:16:54,974 ExitHelper.py:56 - Performing cleanup before exiting...
INFO 2017-04-21 23:16:55,838 main.py:145 - loglevel=logging.INFO
INFO 2017-04-21 23:16:55,838 main.py:145 - loglevel=logging.INFO
INFO 2017-04-21 23:16:55,838 main.py:145 - loglevel=logging.INFO
INFO 2017-04-21 23:16:55,841 DataCleaner.py:39 - Data cleanup thread started
INFO 2017-04-21 23:16:55,843 DataCleaner.py:120 - Data cleanup started
INFO 2017-04-21 23:16:55,843 DataCleaner.py:122 - Data cleanup finished
INFO 2017-04-21 23:16:56,003 PingPortListener.py:50 - Ping port listener started on port: 8670
INFO 2017-04-21 23:16:56,011 main.py:436 - Connecting to Ambari server at &lt;A href="https://ls5387v7.wdf.sap.corp:8440" target="_blank"&gt;https://ls5387v7.wdf.sap.corp:8440&lt;/A&gt; (10.21.24.138)
INFO 2017-04-21 23:16:56,011 NetUtil.py:67 - Connecting to &lt;A href="https://ls5387v7.wdf.sap.corp:8440/ca" target="_blank"&gt;https://ls5387v7.wdf.sap.corp:8440/ca&lt;/A&gt;
INFO 2017-04-21 23:16:56,148 main.py:446 - Connected to Ambari server ls5387v7.wdf.sap.corp
INFO 2017-04-21 23:16:56,150 threadpool.py:58 - Started thread pool with 3 core threads and 20 maximum threads
WARNING 2017-04-21 23:16:56,150 AlertSchedulerHandler.py:280 - [AlertScheduler] /var/lib/ambari-agent/cache/alerts/definitions.json not found or invalid. No alerts will be scheduled until registration occurs.
INFO 2017-04-21 23:16:56,151 AlertSchedulerHandler.py:175 - [AlertScheduler] Starting &amp;lt;ambari_agent.apscheduler.scheduler.Scheduler object at 0x7f3865d85cd0&amp;gt;; currently running: False
INFO 2017-04-21 23:16:58,171 hostname.py:98 - Read public hostname 'ls5387v8.wdf.sap.corp' using socket.getfqdn()
INFO 2017-04-21 23:16:58,224 Hardware.py:174 - Some mount points were ignored: /dev/shm, /run, /sys/fs/cgroup
INFO 2017-04-21 23:16:58,295 Facter.py:202 - Directory: '/etc/resource_overrides' does not exist - it won't be used for gathering system resources.
", None)
("ERROR 2017-04-21 23:16:43,609 Controller.py:227 - Error:Request to &lt;A href="https://ls5387v7.wdf.sap.corp:8441/agent/v1/register/ls5387v8.wdf.sap.corp" target="_blank"&gt;https://ls5387v7.wdf.sap.corp:8441/agent/v1/register/ls5387v8.wdf.sap.corp&lt;/A&gt; failed due to EOF occurred in violation of protocol (_ssl.c:661)
WARNING 2017-04-21 23:16:43,610 Controller.py:228 -  Sleeping for 13 seconds and then trying again 
INFO 2017-04-21 23:16:54,945 main.py:286 - Agent not going to die gracefully, going to execute kill -9
INFO 2017-04-21 23:16:54,974 ExitHelper.py:56 - Performing cleanup before exiting...
INFO 2017-04-21 23:16:55,838 main.py:145 - loglevel=logging.INFO
INFO 2017-04-21 23:16:55,838 main.py:145 - loglevel=logging.INFO
INFO 2017-04-21 23:16:55,838 main.py:145 - loglevel=logging.INFO
INFO 2017-04-21 23:16:55,841 DataCleaner.py:39 - Data cleanup thread started
INFO 2017-04-21 23:16:55,843 DataCleaner.py:120 - Data cleanup started
INFO 2017-04-21 23:16:55,843 DataCleaner.py:122 - Data cleanup finished
INFO 2017-04-21 23:16:56,003 PingPortListener.py:50 - Ping port listener started on port: 8670
INFO 2017-04-21 23:16:56,011 main.py:436 - Connecting to Ambari server at &lt;A href="https://ls5387v7.wdf.sap.corp:8440" target="_blank"&gt;https://ls5387v7.wdf.sap.corp:8440&lt;/A&gt; (10.21.24.138)
INFO 2017-04-21 23:16:56,011 NetUtil.py:67 - Connecting to &lt;A href="https://ls5387v7.wdf.sap.corp:8440/ca" target="_blank"&gt;https://ls5387v7.wdf.sap.corp:8440/ca&lt;/A&gt;
INFO 2017-04-21 23:16:56,148 main.py:446 - Connected to Ambari server ls5387v7.wdf.sap.corp
INFO 2017-04-21 23:16:56,150 threadpool.py:58 - Started thread pool with 3 core threads and 20 maximum threads
WARNING 2017-04-21 23:16:56,150 AlertSchedulerHandler.py:280 - [AlertScheduler] /var/lib/ambari-agent/cache/alerts/definitions.json not found or invalid. No alerts will be scheduled until registration occurs.
INFO 2017-04-21 23:16:56,151 AlertSchedulerHandler.py:175 - [AlertScheduler] Starting &amp;lt;ambari_agent.apscheduler.scheduler.Scheduler object at 0x7f3865d85cd0&amp;gt;; currently running: False
INFO 2017-04-21 23:16:58,171 hostname.py:98 - Read public hostname 'ls5387v8.wdf.sap.corp' using socket.getfqdn()
INFO 2017-04-21 23:16:58,224 Hardware.py:174 - Some mount points were ignored: /dev/shm, /run, /sys/fs/cgroup
INFO 2017-04-21 23:16:58,295 Facter.py:202 - Directory: '/etc/resource_overrides' does not exist - it won't be used for gathering system resources.
", None)
Connection to ls5387v8.wdf.sap.corp closed.
SSH command execution finished
host=ls5387v8.wdf.sap.corp, exitcode=0
Command end time 2017-04-21 23:16:58
Registering with the server...
Registration with the server failed.
   OK  
Licensed under the Apache License, Version 2.0.
See third-party tools/resources that Ambari uses and their respective authors &lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 20:20:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208950#M59908</guid>
      <dc:creator>anish_gupta85</dc:creator>
      <dc:date>2017-04-24T20:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208951#M59909</link>
      <description>&lt;P&gt;Please note the openssl version is as follows:&lt;/P&gt;&lt;P&gt; openssl version &lt;/P&gt;&lt;P&gt;OpenSSL 1.0.1i-fips 6 Aug 2014&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 20:20:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208951#M59909</guid>
      <dc:creator>anish_gupta85</dc:creator>
      <dc:date>2017-04-24T20:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208952#M59910</link>
      <description>&lt;P&gt;Seems similar to issue &lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/AMBARI-17991"&gt;https://issues.apache.org/jira/browse/AMBARI-17991&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but i am using ambari 2.5.0.3&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 20:20:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208952#M59910</guid>
      <dc:creator>anish_gupta85</dc:creator>
      <dc:date>2017-04-24T20:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208953#M59911</link>
      <description>&lt;P&gt;Please note it is ambari 2.5.0.3 &lt;/P&gt;&lt;P&gt;INFO 2017-04-22 14:19:43,218 NetUtil.py:67 - Connecting to &lt;A href="https://ls5387v7.wdf.sap.corp:8440/connection_info"&gt;https://ls5387v7.wdf.sap.corp:8440/connection_info&lt;/A&gt;
INFO 2017-04-22 14:19:43,322 security.py:93 - SSL Connect being called.. connecting to the server
ERROR 2017-04-22 14:19:43,329 Controller.py:226 - Unable to connect to: &lt;A href="https://ls5387v7.wdf.sap.corp:8441/agent/v1/register/ls5387v8.wdf.sap.corp"&gt;https://ls5387v7.wdf.sap.corp:8440/connection_info&lt;/A&gt;
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 175, in registerWithServer
    ret = self.sendRequest(self.registerUrl, data)
  File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 545, in sendRequest
    raise IOError('Request to {0} failed due to {1}'.format(url, str(exception)))
IOError: Request to &lt;A href="https://ls5387v7.wdf.sap.corp:8441/agent/v1/register/ls5387v8.wdf.sap.corp"&gt;https://ls5387v7.wdf.sap.corp:8440/connection_info&lt;/A&gt; failed due to EOF occurred in violation of protocol (_ssl.c:661)
ERROR 2017-04-22 14:19:43,330 Controller.py:227 - Error:Request to &lt;A href="https://ls5387v7.wdf.sap.corp:8441/agent/v1/register/ls5387v8.wdf.sap.corp"&gt;https://ls5387v7.wdf.sap.corp:8440/connection_info&lt;/A&gt; failed due to EOF occurred in violation of protocol (_ssl.c:661)
WARNING 2017-04-22 14:19:43,330 Controller.py:228 -  Sleeping for 22 seconds and then trying again&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 20:21:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208953#M59911</guid>
      <dc:creator>anish_gupta85</dc:creator>
      <dc:date>2017-04-24T20:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208954#M59912</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17595/anish-gupta85.html" nodeid="17595"&gt;@Anish Gupta&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you running Ambari server on 2way SSL? by default Ambari communicates with Agents with one way SSL using 9440 but in your case Agent is trying to communicate on 9441 which is 2way SSL port.&lt;/P&gt;&lt;P&gt;If you are fine with one way SSL then you can check in Ambari "security.server.two_way_ssl = false" and disable 2way SSL.&lt;/P&gt;&lt;P&gt;On other side you can below Open SSL command and see what response server gives back.&lt;/P&gt;&lt;P&gt;1. Oneway SSL: &lt;STRONG&gt;openssl s_client -connect apappu5.hdp.com:8440&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. 2way SSL: &lt;STRONG&gt;openssl s_client -connect apappu5.hdp.com:8441&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 02:47:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208954#M59912</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2017-04-25T02:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208955#M59913</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11311/apappu.html"&gt;amarnathreddy pappu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How do I check if the ambari server is running 2way ssl?&lt;/P&gt;&lt;P&gt;Secondly do you really think this is the problem because i I look in the security guide :&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_security/bk_security.pdf"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_security/bk_security.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The below part tell hows to setup the 2 way ssl and which not enabled by default in my case as I don't have the parameter set.&lt;/P&gt;&lt;P&gt;2.5.4. Optional: Set Up Two-Way SSL Between Ambari Server and Ambari Agents&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 03:37:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208955#M59913</guid>
      <dc:creator>anish_gupta85</dc:creator>
      <dc:date>2017-04-25T03:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208956#M59914</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17595/anish-gupta85.html" nodeid="17595"&gt;@Anish Gupta&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Check if your Ambari server is configured with security.server.two_way_ssl=true in ambari.properties file.&lt;/P&gt;&lt;P&gt;Does you Agent's ambari-agent.ini shows like below or is it different in any way?&lt;/P&gt;
&lt;PRE&gt;[server]
secured_url_port = 8441
hostname = AMBARIHOST
url_port = 8440
&lt;/PRE&gt;&lt;P&gt;Also did you trying running "&lt;STRONG&gt;openssl s_client -connect &lt;A href="http://apappu5.hdp.com"&gt;AMBARIHOST&lt;/A&gt;:8440" ?
&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 03:59:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208956#M59914</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2017-04-25T03:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208957#M59915</link>
      <description>&lt;P&gt;,@&lt;A href="https://community.hortonworks.com/users/11311/apappu.html"&gt;amarnathreddy pappu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have checked that the Ambari server is not configured for 2 way ssl.&lt;/P&gt;&lt;P&gt;[server] &lt;/P&gt;&lt;P&gt;hostname=ls5387v7.XXX.XXX.corp &lt;/P&gt;&lt;P&gt;url_port=8440 &lt;/P&gt;&lt;P&gt;secured_url_port=8441 &lt;/P&gt;&lt;P&gt;connect_retry_delay=10 &lt;/P&gt;&lt;P&gt;max_reconnect_retry_delay=30&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 06:35:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208957#M59915</guid>
      <dc:creator>anish_gupta85</dc:creator>
      <dc:date>2017-04-25T06:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208958#M59916</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11311/apappu.html"&gt;amarnathreddy pappu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ambari server is not configured for 2 way ssl.&lt;/P&gt;&lt;P&gt;[server]
hostname=ls5387v7.XXX.XXX.corp &lt;/P&gt;&lt;P&gt;url_port=8440 &lt;/P&gt;&lt;P&gt;secured_url_port=8441 &lt;/P&gt;&lt;P&gt;connect_retry_delay=10 &lt;/P&gt;&lt;P&gt;max_reconnect_retry_delay=30&lt;/P&gt;&lt;P&gt;ls5387v8:~ # openssl s_client -connect ls5387v7.XXX.XXX.corp:8440 &lt;/P&gt;&lt;P&gt;CONNECTED(00000003)
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd
verify error:num=18:self signed certificate
verify return:1
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd
verify return:1
---
Certificate chain
 0 s:/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd
   i:/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIFpTCCA42gAwIBAgIBATANBgkqhkiG9w0BAQsFADBFMQswCQYDVQQGEwJBVTET
MBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQ
dHkgTHRkMB4XDTE3MDQyMTE2MTgwOVoXDTE4MDQyMTE2MTgwOVowRTELMAkGA1UE
BhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdp
ZGdpdHMgUHR5IEx0ZDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANWQ
xlofKWsaR+FtclgHw2Z8fwFNESPdc2Q6l5OTXAkrA4E8gbYBeMySIS4wZIqCrvnt
OmfKZxwGYD/D8YzzGTCBMjY93F/hO9UK5kQGMJp+G4261u9jG+8FfoVF8zFaYr53
+g7YR+l+CfR4to0ZqjYugjWPU02UUabpw3uMpM8HvCYnkyfhhl0qurleC7bll44g
RptALAPwb4FLwmABhygbLAZV4gKHn0ONPhPON6zV2VA9iudUOZl4wi+jQGjjb5TX
SiBqE3Kd9W0ND7t61pER+sla9ASH5OVWZEMVIjnQNIDJ5PHudpA34MiItoR/JaaP
kicUCtoGx8OoCxNMofSB5kLFXH+fcuk7zZlQeeeLFn1qMzDWGBNrKfQKzCJchE6P
OhBArBPk6hZOFLzeqNbYiyD/w7bnXdg7qUwkE+hyu6c0UmdMdqCsmoME/0dAVJOD
poqcuq5DyyQmLluFwRKZ0zlUEkPvK9Ey4l5E18gc+JvcfTlSrNoHYJ/hqRQYMU8B
VRMupECYm6pvqT1CZEHM996gGbrWXjLsgtdGPX1VM0uRwtlGePpvMY6W/HtQoket
XWywiJsaDQWucIxxAh/0JbIiXm5v+bUlj7fYnSOk2i9HI/x/oZh+3zQY6VjLSucd
s2eJH8u4bLazbY3rYB6wCkevtdiZ+IiDqxCOSOxZAgMBAAGjgZ8wgZwwHQYDVR0O
BBYEFK9z9r1rnK9uDkiZD6jWnTCHxWPdMG0GA1UdIwRmMGSAFK9z9r1rnK9uDkiZ
D6jWnTCHxWPdoUmkRzBFMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0
ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkggEBMAwGA1UdEwQF
MAMBAf8wDQYJKoZIhvcNAQELBQADggIBAMZgMZPsqgRWU8nWGMbQl6kPrjo758Yw
QMDD+O1B0pD57BZqcDEAHAmP0v1Am6DcGyRvWzwhBzRoT8VeNJKdyROQGhMXPWbC
/E5kvBX6VxaetII9VgyOIUjizC/HKdS24PVu8sK6y7h0CNmmtUJj4P25SaOY7g2y
A1CIW8Jny2XJj4O8re3YiCfZn2TKzXHZJgWBiV5lVgczeuxBffLDsUU2txHxANlo
RahS+3H6KwDFxfGXiuolu+lKdydXVy4jCqM97vNJGZ+tbB6RhoyuhCXd8lpW8xp7
BY3GmrMbIS/vFNoK+iVHpcxt6AfIJqUZ8KW97SqfZTXymIYzGva8/7XY0tNYIh1i
Hr3hC+3GoFSpfDSjLIu2i6+3vUIaykAdO01zJ9ccYYoLY7G6rHz4ErjWTu9Nh51u
olE4QgDlW19lMgTIOZk6a/jPYq6zc4iAppTqMXdvHUB3W96ceDoeMq+0P2J3UrI6
11OJUrNBvxEQgrYWgH83au1v1u8rYxo+IA0jQsBVaMeOQTShOSttuGsNv/zhjSf6
0wLK09qmayuZddZhJTEHwEpJ4OdQVNnvzO/e9QYnzxqa3XU/rrZ9xihNlU+1YZt5
0vSTjuhD4ylFpR9JhmX1VB/DTbDS0trfdH1VPhAMKYr/v4GkGTtn8eHe3vwmBH9k
79jAP0ApRatK
-----END CERTIFICATE-----
subject=/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd
issuer=/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd
---
No client certificate CA names sent
---
SSL handshake has read 2257 bytes and written 455 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 4096 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-GCM-SHA384
    Session-ID: 58FE6DA17EFA5278E0381D826F3E7E7E3F6558A6D4683964ACFDF4B4C63AD632
    Session-ID-ctx:
    Master-Key: C0EEC8877A651977C8F5B6FCC78B4FD977DDA0A7BF06203DE433D04EC4B45A1788F8802B7F47AF58C210C321DD9BD225
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1493069217
    Timeout   : 300 (sec)
    Verify return code: 18 (self signed certificate)
---&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 06:35:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208958#M59916</guid>
      <dc:creator>anish_gupta85</dc:creator>
      <dc:date>2017-04-25T06:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208959#M59917</link>
      <description>&lt;P&gt;@ &lt;A href="https://community.hortonworks.com/users/11311/apappu.html"&gt;amarnathreddy pappu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;no ambari sever is not configured for 2 way ssl as the required parameter is not enabled.&lt;/P&gt;&lt;P&gt;yes the ambari agent shows exactly what you have mentioned.&lt;/P&gt;&lt;P&gt;The command you mentioned shows:-&lt;/P&gt;&lt;P&gt;CONNECTED(00000003)
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd
verify error:num=18:self signed certificate
verify return:1
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd
verify return:1
---
Certificate chain
 0 s:/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd
   i:/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIFpTCCA42gAwIBAgIBATANBgkqhkiG9w0BAQsFADBFMQswCQYDVQQGEwJBVTET
MBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQ
dHkgTHRkMB4XDTE3MDQyMTE2MTgwOVoXDTE4MDQyMTE2MTgwOVowRTELMAkGA1UE
BhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdp
ZGdpdHMgUHR5IEx0ZDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANWQ
xlofKWsaR+FtclgHw2Z8fwFNESPdc2Q6l5OTXAkrA4E8gbYBeMySIS4wZIqCrvnt
OmfKZxwGYD/D8YzzGTCBMjY93F/hO9UK5kQGMJp+G4261u9jG+8FfoVF8zFaYr53
+g7YR+l+CfR4to0ZqjYugjWPU02UUabpw3uMpM8HvCYnkyfhhl0qurleC7bll44g
RptALAPwb4FLwmABhygbLAZV4gKHn0ONPhPON6zV2VA9iudUOZl4wi+jQGjjb5TX
SiBqE3Kd9W0ND7t61pER+sla9ASH5OVWZEMVIjnQNIDJ5PHudpA34MiItoR/JaaP
kicUCtoGx8OoCxNMofSB5kLFXH+fcuk7zZlQeeeLFn1qMzDWGBNrKfQKzCJchE6P
OhBArBPk6hZOFLzeqNbYiyD/w7bnXdg7qUwkE+hyu6c0UmdMdqCsmoME/0dAVJOD
poqcuq5DyyQmLluFwRKZ0zlUEkPvK9Ey4l5E18gc+JvcfTlSrNoHYJ/hqRQYMU8B
VRMupECYm6pvqT1CZEHM996gGbrWXjLsgtdGPX1VM0uRwtlGePpvMY6W/HtQoket
XWywiJsaDQWucIxxAh/0JbIiXm5v+bUlj7fYnSOk2i9HI/x/oZh+3zQY6VjLSucd
s2eJH8u4bLazbY3rYB6wCkevtdiZ+IiDqxCOSOxZAgMBAAGjgZ8wgZwwHQYDVR0O
BBYEFK9z9r1rnK9uDkiZD6jWnTCHxWPdMG0GA1UdIwRmMGSAFK9z9r1rnK9uDkiZ
D6jWnTCHxWPdoUmkRzBFMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0
ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkggEBMAwGA1UdEwQF
MAMBAf8wDQYJKoZIhvcNAQELBQADggIBAMZgMZPsqgRWU8nWGMbQl6kPrjo758Yw
QMDD+O1B0pD57BZqcDEAHAmP0v1Am6DcGyRvWzwhBzRoT8VeNJKdyROQGhMXPWbC
/E5kvBX6VxaetII9VgyOIUjizC/HKdS24PVu8sK6y7h0CNmmtUJj4P25SaOY7g2y  -----END CERTIFICATE-----
subject=/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd
issuer=/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd
---
No client certificate CA names sent
---
SSL handshake has read 2257 bytes and written 455 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 4096 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-GCM-SHA384
    Session-ID: 58FE6DA17EFA5278E0381D826F3E7E7E3F6558A6D4683964ACFDF4B4C63AD632
    Session-ID-ctx:
    Master-Key: C0EEC8877A651977C8F5B6FCC78B4FD977DDA0A7BF06203DE433D04EC4B45A1788F8802B7F47AF58C210C321DD9BD225
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1493069217
    Timeout   : 300 (sec)
    Verify return code: 18 (self signed certificate)
---
closed&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 06:35:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208959#M59917</guid>
      <dc:creator>anish_gupta85</dc:creator>
      <dc:date>2017-04-25T06:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208960#M59918</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17595/anish-gupta85.html" nodeid="17595"&gt;@Anish Gupta&lt;/A&gt; &lt;/P&gt;&lt;P&gt;That means server is listening on 8440 port and Agent should be able to communicate with out any issues. please see if there is any errors in ambari server logs?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 07:14:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208960#M59918</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2017-04-25T07:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208961#M59919</link>
      <description>&lt;P&gt;We have over come the problem by adding&lt;/P&gt;&lt;P&gt;
following option to security section in ambari-agent.ini in all the hosts in the cluster:&lt;/P&gt;&lt;P&gt;[security]

force_https_protocol=PROTOCOL_TLSv1_2&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 00:14:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208961#M59919</guid>
      <dc:creator>anish_gupta85</dc:creator>
      <dc:date>2017-04-28T00:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208962#M59920</link>
      <description>&lt;P&gt;Same problem here when adding an extra node (after initial install) with HDP 2.6 and WITHOUT enabling two way ssl in Ambari.&lt;/P&gt;&lt;P&gt;And
 also same solution, adding the following property to  
/etc/ambari-agent/conf/ambari-agent.ini after install and registration failure and 
restarting the process:&lt;/P&gt;&lt;PRE&gt;force_https_protocol=PROTOCOL_TLSv1_2&lt;/PRE&gt;</description>
      <pubDate>Sat, 05 May 2018 00:45:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208962#M59920</guid>
      <dc:creator>lvazquez</dc:creator>
      <dc:date>2018-05-05T00:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208963#M59921</link>
      <description>&lt;P&gt;This worked for me. Thanks &lt;A rel="user" href="https://community.cloudera.com/users/17595/anish-gupta85.html" nodeid="17595"&gt;@Anish Gupta&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 16:41:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208963#M59921</guid>
      <dc:creator>joshua_adeleke</dc:creator>
      <dc:date>2018-06-05T16:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208964#M59922</link>
      <description>&lt;P&gt;Guys, I'm installing my first ambari cluster and I'm at this page...&lt;/P&gt;&lt;P&gt;when you use the wizard system install the agents on the clients and the .ini file comes from the server (I think).&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.cloudera.com/legacyfs/online/attachments/84404-ambari-client.jpg" /&gt;&lt;/P&gt;&lt;P&gt;where to modify it before get pushed from the server?&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 02:01:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208964#M59922</guid>
      <dc:creator>crex</dc:creator>
      <dc:date>2018-07-26T02:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Registration to ambari server via the ambari agent fail</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208965#M59923</link>
      <description>&lt;P&gt;read alsto about a limitation of Python..&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 02:17:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Registration-to-ambari-server-via-the-ambari-agent-fail/m-p/208965#M59923</guid>
      <dc:creator>crex</dc:creator>
      <dc:date>2018-07-26T02:17:30Z</dc:date>
    </item>
  </channel>
</rss>

