# Elasticsearch cluster discovery.zen.ping.unicast.hosts settings

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-discovery-zen-ping-unicast-hosts-settings/160328>\
**Category:** Elasticsearch\
**Created:** [December 11, 2018, 9:21am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-discovery-zen-ping-unicast-hosts-settings/160328 "2018-12-11T09:21:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![supermario](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@supermario](https://discuss.elastic.co/u/supermario)\
**Post date:** [December 11, 2018, 9:21am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-discovery-zen-ping-unicast-hosts-settings/160328/1 "2018-12-11T09:21:35Z")

</div>

I have two es node,set discovery.zen.ping.unicast.hosts: ["192.168.117.1","192.168.117.2"].  
I set '192.168.117.1'  
xpack.security.enabled: true  
xpack.security.transport.ssl.enabled: true  
And change password.

when i start es on '192.168.117.2',get exception,  
"  
exception caught on transport layer [NettyTcpChannel{localAddress=0.0.0.0/0.0.0.0:44089, remoteAddress=/192.168.117.1:9300}], closing connection  
io.netty.handler.codec.DecoderException: javax.net.ssl.SSLException: Received fatal alert: handshake\_failure  
"

I guess should set username and password to discovery.zen.ping.unicast.hosts settings, but i don't know how to do ?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [December 11, 2018, 9:59am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-discovery-zen-ping-unicast-hosts-settings/160328/2 "2018-12-11T09:59:04Z")

</div>

> [@supermario](#):
>
> I guess should set username and password to discovery.zen.ping.unicast.hosts settings, but i don't know how to do ?

There are no username or password settings to configure here. Have you set up security on all the nodes? Can you share more of the exception message? You only shared the first line, which doesn't contain much information.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 8, 2019, 9:59am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-discovery-zen-ping-unicast-hosts-settings/160328/3 "2019-01-08T09:59:07Z")

</div>

Closed on January 8, 2019, 9:59am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
