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

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 ?

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.

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