<?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: Sujet : Failed to connect to https://localhost:8440/ca due to [Errno 111] Connection refused, Server at https://localhost:8440 is not reachable, sleeping for 10 seconds... in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282194#M209825</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70907"&gt;@Kou_Bou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your "/etc/hosts" file should have the FQDN info of AmbariServer&amp;nbsp; (do not use localhost) to point to ambari server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Also please change the "ambari-agent.ini" to point to the&amp;nbsp; AmbariServer FQDN instead of using "localhost"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/Ambari-2.7.4.0/administering-ambari/content/amb_install_the_ambari_agents_manually_on_rhel-centos-oracle_7.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/Ambari-2.7.4.0/administering-ambari/content/amb_install_the_ambari_agents_manually_on_rhel-centos-oracle_7.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;On each Agent node, stop the Agent.
# ambari-agent stop

Using a text editor, edit /etc/ambari-agent/conf/ambari-agent.ini to point to the new host.

[server]
hostname=$NEW FULLY.QUALIFIED.DOMAIN.NAME
url_port=8440
secured_url_port=8441&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2019 10:45:03 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2019-11-06T10:45:03Z</dc:date>
    <item>
      <title>Sujet : Failed to connect to https://localhost:8440/ca due to [Errno 111] Connection refused, Server at https://localhost:8440 is not reachable, sleeping for 10 seconds...</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282183#M209814</link>
      <description>&lt;P&gt;Hello ,&lt;BR /&gt;I installed Ambari server and Ambari agent but I have&amp;nbsp; ten day that I try to connect ,I receive this error in ambari-agent.log:&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;INFO 2019-11-06 09:46:39,682 NetUtil.py:62 - Connecting to https://localhost:8440/ca&lt;BR /&gt;WARNING 2019-11-06 09:46:39,683 NetUtil.py:93 - Failed to connect to https://localhost:8440/ca due to [Errno 111] Connection refused&lt;BR /&gt;WARNING 2019-11-06 09:46:39,683 NetUtil.py:116 - Server at https://localhost:8440 is not reachable, sleeping for 10 seconds...&lt;BR /&gt;INFO 2019-11-06 09:46:49,683 NetUtil.py:62 - Connecting to https://localhost:8440/ca&lt;BR /&gt;WARNING 2019-11-06 09:46:49,684 NetUtil.py:93 - Failed to connect to https://localhost:8440/ca due to [Errno 111] Connection refused&lt;BR /&gt;WARNING 2019-11-06 09:46:49,685 NetUtil.py:116 - Server at https://localhost:8440 is not reachable, sleeping for 10 seconds...&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;And in Ambari-server I have:&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;05 Nov 2019 11:28:49,329 INFO [ambari-hearbeat-monitor] TopologyManager:487 - Hearbeat for host localhost.localdomain lost thus removing it from available hosts.&lt;BR /&gt;05 Nov 2019 11:39:58,408 WARN [qtp-ambari-agent-106] SecurityFilter:103 - Request https://localhost:8440/ca doesn't match any pattern.&lt;BR /&gt;05 Nov 2019 11:39:58,409 WARN [qtp-ambari-agent-106] SecurityFilter:62 - This request is not allowed on this port: https://localhost:8440/ca&lt;BR /&gt;05 Nov 2019 11:40:00,783 INFO [qtp-ambari-agent-106] HeartBeatHandler:425 - agentOsType = centos7&lt;BR /&gt;05 Nov 2019 11:40:00,787 INFO [qtp-ambari-agent-106] HostImpl:294 - Received host registration, host=[hostname=sqlcls,fqdn=sqlcls.yacine.lab,domain=yacine.lab,architecture=x86_64,processorcount=4,physicalprocessorcount=4,osname=centos,osversion=7.7.1908,osfamily=redhat,memory=16266600,uptime_hours=79,mounts=(available=8121532,mountpoint=/dev,used=0,percent=0%,size=8121532,device=devtmpfs,type=devtmpfs)(available=8133300,mountpoint=/dev/shm,used=0,percent=0%,size=8133300,device=tmpfs,type=tmpfs)(available=8124108,mountpoint=/run,used=9192,percent=1%,size=8133300,device=tmpfs,type=tmpfs)(available=47411672,mountpoint=/,used=4991528,percent=10%,size=52403200,device=/dev/mapper/centos-root,type=xfs)(available=786336,mountpoint=/boot,used=252000,percent=25%,size=1038336,device=/dev/sda1,type=xfs)(available=147866840,mountpoint=/home,used=33004,percent=1%,size=147899844,device=/dev/mapper/centos-home,type=xfs)(available=1626660,mountpoint=/run/user/0,used=0,percent=0%,size=1626660,device=tmpfs,type=tmpfs)]&lt;BR /&gt;, registrationTime=1572950400783, agentVersion=2.4.0.1&lt;BR /&gt;05 Nov 2019 11:40:00,799 INFO [qtp-ambari-agent-106] TopologyManager:408 - TopologyManager.onHostRegistered: Entering&lt;BR /&gt;05 Nov 2019 11:40:00,800 INFO [qtp-ambari-agent-106] TopologyManager:469 - TopologyManager: Queueing available host sqlcls.yacine.lab&lt;BR /&gt;05 Nov 2019 13:17:32,311 WARN [Thread-2] QueuedThreadPool:145 - 1 threads could not be stopped&lt;BR /&gt;05 Nov 2019 13:17:32,311 WARN [Thread-2] QueuedThreadPool:145 - 1 threads could not be stopped&lt;BR /&gt;05 Nov 2019 13:17:32,311 INFO [main] AmbariServer:631 - Joined the Server&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Any ideas please I have tried a lot of solution but the problem still persists?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 13:43:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282183#M209814</guid>
      <dc:creator>Kou_Bou</dc:creator>
      <dc:date>2019-11-06T13:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sujet : Failed to connect to https://localhost:8440/ca due to [Errno 111] Connection refused, Server at https://localhost:8440 is not reachable, sleeping for 10 seconds...</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282186#M209817</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70907"&gt;@Kou_Bou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we see the following message:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;WARNING 2019-11-06 09:46:39,683 NetUtil.py:93 - Failed to connect to https://localhost:8440/ca due to [Errno 111] Connection refused&lt;/LI-CODE&gt;&lt;P&gt;Which indicates that the Ambari Agent is trying to conect to the AmbariServer running in Localmachine "&lt;STRONG&gt;localhost&lt;/STRONG&gt;".&lt;EM&gt;&lt;STRONG&gt; Ideally it should be using the FQDN of ambari server instead of "localhost:8440".&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So can you please try this:&lt;/P&gt;&lt;P&gt;1). please edit the "/etc/ambari-agent/conf/ambari-agent.ini" hostname to point to the FQDN (fully Qualified Hostname) of AmbariServer instead of localhost.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please make sure to replace the "ambariserverhost.example.com" with the actual FQDN of your ambari server.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# grep -A1 '\[server\]' /etc/ambari-agent/conf/ambari-agent.ini
[server]
hostname=ambariserverhost.example.com&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Then restart Ambari Agent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# ambari-agent restart

# cat /etc/hosts&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;3. Now verify iof you are able to connect to the mentioned AmbariServer FQDN and Port from the agent machine as following?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# telnet ambariserverhost.example.com 8440
(OR)
# nc -v ambariserverhost.example.com 8440&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;4. Also please make sure that the iptables/firewall is disabled on AmbariServer host and port 8440 is listening&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# netstat -tnlpa | grep `cat /var/run/ambari-server/ambari-server.pid`
tcp6 0 0 :::8080 :::* LISTEN 7463/java 
tcp6 0 0 :::8440 :::* LISTEN 7463/java&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 09:35:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282186#M209817</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-11-06T09:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sujet : Failed to connect to https://localhost:8440/ca due to [Errno 111] Connection refused, Server at https://localhost:8440 is not reachable, sleeping for 10 seconds...</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282193#M209824</link>
      <description>&lt;P&gt;Thank you for your answer&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/50614"&gt;@jsensharma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;You find here the result of the steps that you mentioned: &amp;nbsp;&lt;/P&gt;&lt;P&gt;1-&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT size="3"&gt;[root@localhost /]# grep -A1 '\[server\]' /etc/ambari-agent/conf/ambari-agent.ini&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;[server]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;hostname=localhost&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;2-&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;[root@localhost /]# cat /etc/hosts&lt;/P&gt;&lt;P&gt;127.0.0.1&amp;nbsp;&amp;nbsp; localhost localhost.localdomain localhost4 localhost4.localdomain4&lt;/P&gt;&lt;P&gt;::1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localhost localhost.localdomain localhost6 localhost6.localdomain6&lt;/P&gt;&lt;P&gt;192.168.253.46 pocserver2 pocserver2&lt;/P&gt;&lt;P&gt;192.168.253.47 pocserver3 pocserver3&lt;/P&gt;&lt;P&gt;192.168.253.45 localhost localhost&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;3-&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;[root@localhost /]# nc -v localhost 8440&lt;/P&gt;&lt;P&gt;Ncat: Version 7.50 ( &lt;A href="https://nmap.org/ncat" target="_blank" rel="noopener"&gt;https://nmap.org/ncat&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;Ncat: Connected to ::1:8440.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;And it is blocked here without another output&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4-&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;[root@localhost /]#&amp;nbsp; netstat -tnlpa | grep `cat /var/run/ambari-server/ambari-server.pid`&lt;/P&gt;&lt;P&gt;tcp6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 :::8440&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :::*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LISTEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32030/java&lt;/P&gt;&lt;P&gt;tcp6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 :::8441&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;:::*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LISTEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32030/java&lt;/P&gt;&lt;P&gt;tcp6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 :::8443&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :::*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LISTEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32030/java&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 06 Nov 2019 10:38:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282193#M209824</guid>
      <dc:creator>Kou_Bou</dc:creator>
      <dc:date>2019-11-06T10:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sujet : Failed to connect to https://localhost:8440/ca due to [Errno 111] Connection refused, Server at https://localhost:8440 is not reachable, sleeping for 10 seconds...</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282194#M209825</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70907"&gt;@Kou_Bou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your "/etc/hosts" file should have the FQDN info of AmbariServer&amp;nbsp; (do not use localhost) to point to ambari server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Also please change the "ambari-agent.ini" to point to the&amp;nbsp; AmbariServer FQDN instead of using "localhost"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/Ambari-2.7.4.0/administering-ambari/content/amb_install_the_ambari_agents_manually_on_rhel-centos-oracle_7.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/Ambari-2.7.4.0/administering-ambari/content/amb_install_the_ambari_agents_manually_on_rhel-centos-oracle_7.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;On each Agent node, stop the Agent.
# ambari-agent stop

Using a text editor, edit /etc/ambari-agent/conf/ambari-agent.ini to point to the new host.

[server]
hostname=$NEW FULLY.QUALIFIED.DOMAIN.NAME
url_port=8440
secured_url_port=8441&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 10:45:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282194#M209825</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-11-06T10:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sujet : Failed to connect to https://localhost:8440/ca due to [Errno 111] Connection refused, Server at https://localhost:8440 is not reachable, sleeping for 10 seconds...</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282198#M209829</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/50614"&gt;@jsensharma&lt;/a&gt;&amp;nbsp; I have the same output (like result's steps mentioned before) with a hostname=ambari.server ( the hostname change)&amp;nbsp; but the contents of ambari-server.log and ambari-agent.log is changed, you find below the contents :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;ambari-agent.log:&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Directory: '/etc/resource_overrides' does not exist - it won't be used for gathering system resources.&lt;BR /&gt;INFO 2019-11-06 12:02:52,787 Controller.py:160 - Registering with ambari.server (192.168.253.45) (agent='{"hardwareProfile": {"kernel": "Linux", "domain": "server", "physicalprocessorcount": 4, "kernelrelease": "3.10.0-1062.1.2.el7.x86_64", "uptime_days": "0", "memorytotal": 16266600, "swapfree": "7.87 GB", "memorysize": 16266600, "osfamily": "redhat", "swapsize": "7.87 GB", "processorcount": 4, "netmask": "255.255.255.0", "timezone": "CET", "hardwareisa": "x86_64", "memoryfree": 14903648, "operatingsystem": "centos", "kernelmajversion": "3.10", "kernelversion": "3.10.0", "macaddress": "00:50:56:90:FB:2D", "operatingsystemrelease": "7.7.1908", "ipaddress": "192.168.253.45", "hostname": "ambari", "uptime_hours": "22", "fqdn": "ambari.server", "id": "root", "architecture": "x86_64", "selinux": false, "mounts": [{"available": "8121532", "used": "0", "percent": "0%", "device": "devtmpfs", "mountpoint": "/dev", "type": "devtmpfs", "size": "8121532"}, {"available": "8133300", "used": "0", "percent": "0%", "device": "tmpfs", "mountpoint": "/dev/shm", "type": "tmpfs", "size": "8133300"}, {"available": "8124172", "used": "9128", "percent": "1%", "device": "tmpfs", "mountpoint": "/run", "type": "tmpfs", "size": "8133300"}, {"available": "47410156", "used": "4993044", "percent": "10%", "device": "/dev/mapper/centos-root", "mountpoint": "/", "type": "xfs", "size": "52403200"}, {"available": "786336", "used": "252000", "percent": "25%", "device": "/dev/sda1", "mountpoint": "/boot", "type": "xfs", "size": "1038336"}, {"available": "147866840", "used": "33004", "percent": "1%", "device": "/dev/mapper/centos-home", "mountpoint": "/home", "type": "xfs", "size": "147899844"}, {"available": "1626660", "used": "0", "percent": "0%", "device": "tmpfs", "mountpoint": "/run/user/0", "type": "tmpfs", "size": "1626660"}], "hardwaremodel": "x86_64", "uptime_seconds": "81903", "interfaces": "ens192,lo"}, "currentPingPort": 8670, "prefix": "/var/lib/ambari-agent/data", "agentVersion": "2.4.0.1", "agentEnv": {"transparentHugePage": "", "hostHealth": {"agentTimeStampAtReporting": 1573038172784, "activeJavaProcs": [], "liveServices": [{"status": "Healthy", "name": "ntpd", "desc": ""}]}, "reverseLookup": true, "alternatives": [], "umask": "18", "firewallName": "iptables", "stackFoldersAndFiles": [], "existingUsers": [], "firewallRunning": false}, "timestamp": 1573038172724, "hostname": "ambari.server", "responseId": -1, "publicHostname": "ambari.server"}')&lt;BR /&gt;INFO 2019-11-06 12:02:52,788 NetUtil.py:62 - Connecting to &lt;A href="https://ambari.server:8440/connection_info" target="_blank" rel="noopener"&gt;https://ambari.server:8440/connection_info&lt;/A&gt;&lt;BR /&gt;INFO 2019-11-06 12:02:52,876 security.py:100 - SSL Connect being called.. connecting to the server&lt;BR /&gt;INFO 2019-11-06 12:02:52,961 security.py:61 - SSL connection established. Two-way SSL authentication is turned off on the server.&lt;BR /&gt;INFO 2019-11-06 12:02:52,980 Controller.py:186 - Registration Successful (response id = 0)&lt;BR /&gt;INFO 2019-11-06 12:02:52,980 AmbariConfig.py:273 - Updating config property (agent.check.remote.mounts) with value (false)&lt;BR /&gt;INFO 2019-11-06 12:02:52,981 AmbariConfig.py:273 - Updating config property (agent.auto.cache.update) with value (true)&lt;BR /&gt;INFO 2019-11-06 12:02:52,981 AmbariConfig.py:273 - Updating config property (agent.check.mounts.timeout) with value (0)&lt;BR /&gt;WARNING 2019-11-06 12:02:52,981 AlertSchedulerHandler.py:104 - There are no alert definition commands in the heartbeat; unable to update definitions&lt;BR /&gt;INFO 2019-11-06 12:02:52,981 Controller.py:463 - Registration response from ambari.server was OK&lt;BR /&gt;INFO 2019-11-06 12:02:52,981 Controller.py:468 - Resetting ActionQueue...&lt;BR /&gt;INFO 2019-11-06 12:03:02,992 Controller.py:277 - Heartbeat with server is running...&lt;BR /&gt;INFO 2019-11-06 12:03:02,993 Heartbeat.py:90 - Adding host info/state to heartbeat message.&lt;BR /&gt;INFO 2019-11-06 12:03:03,059 logger.py:71 - call[['test', '-w', '/dev']] {'sudo': True, 'timeout': 5}&lt;BR /&gt;INFO 2019-11-06 12:03:03,069 logger.py:71 - call returned (0, '')&lt;BR /&gt;INFO 2019-11-06 12:03:03,069 logger.py:71 - call[['test', '-w', '/dev/shm']] {'sudo': True, 'timeout': 5}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ambari-server.log:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;TopologyManager:462 - Host ambari.server re-registered, will not be added to the available hosts list&lt;BR /&gt;06 Nov 2019 12:03:25,895 INFO [Thread-22] AbstractPoolBackedDataSource:212 - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -&amp;gt; 3, acquireRetryAttempts -&amp;gt; 30, acquireRetryDelay -&amp;gt; 1000, autoCommitOnClose -&amp;gt; false, automaticTestTable -&amp;gt; null, breakAfterAcquireFailure -&amp;gt; false, checkoutTimeout -&amp;gt; 0, connectionCustomizerClassName -&amp;gt; null, connectionTesterClassName -&amp;gt; com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -&amp;gt; caller, dataSourceName -&amp;gt; 1hgfewda6hv1c2v1pcxadq|64b242b3, debugUnreturnedConnectionStackTraces -&amp;gt; false, description -&amp;gt; null, driverClass -&amp;gt; org.postgresql.Driver, extensions -&amp;gt; {}, factoryClassLocation -&amp;gt; null, forceIgnoreUnresolvedTransactions -&amp;gt; false, forceSynchronousCheckins -&amp;gt; false, forceUseNamedDriverClass -&amp;gt; false, identityToken -&amp;gt; 1hgfewda6hv1c2v1pcxadq|64b242b3, idleConnectionTestPeriod -&amp;gt; 50, initialPoolSize -&amp;gt; 3, jdbcUrl -&amp;gt; jdbc:postgresql://localhost/datalake, maxAdministrativeTaskTime -&amp;gt; 0, maxConnectionAge -&amp;gt; 0, maxIdleTime -&amp;gt; 0, maxIdleTimeExcessConnections -&amp;gt; 0, maxPoolSize -&amp;gt; 5, maxStatements -&amp;gt; 0, maxStatementsPerConnection -&amp;gt; 120, minPoolSize -&amp;gt; 1, numHelperThreads -&amp;gt; 3, preferredTestQuery -&amp;gt; select 0, privilegeSpawnedThreads -&amp;gt; false, properties -&amp;gt; {user=******, password=******}, propertyCycle -&amp;gt; 0, statementCacheNumDeferredCloseThreads -&amp;gt; 0, testConnectionOnCheckin -&amp;gt; true, testConnectionOnCheckout -&amp;gt; false, unreturnedConnectionTimeout -&amp;gt; 0, userOverrides -&amp;gt; {}, usesTraditionalReflectiveProxies -&amp;gt; false ]&lt;BR /&gt;06 Nov 2019 12:03:25,966 INFO [Thread-22] JobStoreTX:861 - Freed 0 triggers from 'acquired' / 'blocked' state.&lt;BR /&gt;06 Nov 2019 12:03:25,977 INFO [Thread-22] JobStoreTX:871 - Recovering 0 jobs that were in-progress at the time of the last shut-down.&lt;BR /&gt;06 Nov 2019 12:03:25,977 INFO [Thread-22] JobStoreTX:884 - Recovery complete.&lt;BR /&gt;06 Nov 2019 12:03:25,978 INFO [Thread-22] JobStoreTX:891 - Removed 0 'complete' triggers.&lt;BR /&gt;06 Nov 2019 12:03:25,978 INFO [Thread-22] JobStoreTX:896 - Removed 0 stale fired job entries.&lt;BR /&gt;06 Nov 2019 12:03:25,979 INFO [Thread-22] QuartzScheduler:575 - Scheduler ExecutionScheduler_$_NON_CLUSTERED started.&lt;BR /&gt;06 Nov 2019 12:06:35,805 WARN [qtp-ambari-agent-66] nio:720 - javax.net.ssl.SSLException: Received fatal alert: certificate_unknown&lt;BR /&gt;06 Nov 2019 12:06:35,805 WARN [qtp-ambari-agent-66] nio:720 - javax.net.ssl.SSLException: Received fatal alert: certificate_unknown&lt;BR /&gt;06 Nov 2019 12:06:35,805 WARN [qtp-ambari-agent-68] nio:720 - javax.net.ssl.SSLException: Received fatal alert: certificate_unknown&lt;BR /&gt;06 Nov 2019 12:06:35,805 WARN [qtp-ambari-agent-68] nio:720 - javax.net.ssl.SSLException: Received fatal alert: certificate_unknown&lt;BR /&gt;06 Nov 2019 12:06:35,904 WARN [qtp-ambari-agent-67] SecurityFilter:103 - Request &lt;A href="https://192.168.253.45:8440/" target="_blank" rel="noopener"&gt;https://192.168.253.45:8440/&lt;/A&gt; doesn't match any patter&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 06 Nov 2019 11:35:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282198#M209829</guid>
      <dc:creator>Kou_Bou</dc:creator>
      <dc:date>2019-11-06T11:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sujet : Failed to connect to https://localhost:8440/ca due to [Errno 111] Connection refused, Server at https://localhost:8440 is not reachable, sleeping for 10 seconds...</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282200#M209831</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70907"&gt;@Kou_Bou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we see that you are getting following kind of error "certificate_unknown" in AmbariServer logs&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;06 Nov 2019 12:06:35,805 WARN [qtp-ambari-agent-68] nio:720 - javax.net.ssl.SSLException: Received fatal alert: certificate_unknown
06 Nov 2019 12:06:35,904 WARN [qtp-ambari-agent-67] SecurityFilter:103 - Request &amp;lt;a href="https://192.168.253.45:8440/" target="_blank"&amp;gt;https://192.168.253.45:8440/&amp;lt;/a&amp;gt; doesn't match any patter&lt;/LI-CODE&gt;&lt;P&gt;Hence you should try to delete the OLD certificates from agent machine and then try again. As the old Agent certificates might be having incorrect names.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# rm /var/lib/ambari-agent/keys/*
# ambari-agent restart&lt;/LI-CODE&gt;&lt;P&gt;While restarting it should fetch correct certificates from ambari server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;.&lt;/P&gt;&lt;P&gt;.&lt;BR /&gt;If your question is answered then, Please make sure to mark the answer as the accepted solution.&lt;BR /&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 11:43:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282200#M209831</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-11-06T11:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sujet : Failed to connect to https://localhost:8440/ca due to [Errno 111] Connection refused, Server at https://localhost:8440 is not reachable, sleeping for 10 seconds...</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282201#M209832</link>
      <description>&lt;P&gt;the /var/lib/ambari-agent/keys directory is empty, there is no files, what is the problem ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 11:48:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282201#M209832</guid>
      <dc:creator>Kou_Bou</dc:creator>
      <dc:date>2019-11-06T11:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sujet : Failed to connect to https://localhost:8440/ca due to [Errno 111] Connection refused, Server at https://localhost:8440 is not reachable, sleeping for 10 seconds...</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282285#M209892</link>
      <description>&lt;P&gt;There is no issue with ambari agent.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 22:25:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sujet-Failed-to-connect-to-https-localhost-8440-ca-due-to/m-p/282285#M209892</guid>
      <dc:creator>sankar_tumuluru</dc:creator>
      <dc:date>2019-11-06T22:25:48Z</dc:date>
    </item>
  </channel>
</rss>

