I am getting the following error when I start the second node, any ideas?
Here is my settings for master and node 1:
Master:
bootstrap.memory_lock: false
cluster.name: panacea
http.port: 9200-9220
node.data: true
node.ingest: true
node.master: true
node.max_local_storage_nodes: 2
node.name: em
transport.tcp.port: 9300-9320
xpack.license.self_generated.type: basic
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12
discovery.zen.ping.unicast.hosts: ["localhost:9200"]
Node 1:
bootstrap.memory_lock: false
cluster.name: panacea
http.port: 9230-9250
node.data: true
node.ingest: true
node.master: false
node.max_local_storage_nodes: 2
node.name: e2
transport.tcp.port: 9330-9350
xpack.license.self_generated.type: basic
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12
discovery.zen.ping.unicast.hosts: ["localhost:9200"]
Error:
[2019-07-09T12:57:38,993][WARN ][o.e.t.TcpTransport ] [e2] exception caugh
t on transport layer [Netty4TcpChannel{localAddress=0.0.0.0/0.0.0.0:56840, remot
eAddress=null}], closing connection
io.netty.handler.codec.DecoderException: io.netty.handler.ssl.NotSslRecordExcept
ion: not an SSL/TLS record: 485454502f312e30203430302042616420526571756573740d0a
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageD
ecoder.java:472) ~[netty-codec-4.1.35.Final.jar:4.1.35.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessage
Decoder.java:278) ~[netty-codec-4.1.35.Final.jar:4.1.35.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Abst
ractChannelHandlerContext.java:374) [netty-transport-4.1.35.Final.jar:4.1.35.Fin
al]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Abst
ractChannelHandlerContext.java:360) [netty-transport-4.1.35.Final.jar:4.1.35.Fin
al]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(Abstra
ctChannelHandlerContext.java:352) [netty-transport-4.1.35.Final.jar:4.1.35.Final
]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(Defau
ltChannelPipeline.java:1408) [netty-transport-4.1.35.Final.jar:4.1.35.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Abst
ractChannelHandlerContext.java:374) [netty-transport-4.1.35.Final.jar:4.1.35.Fin
al]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Abst
ractChannelHandlerContext.java:360) [netty-transport-4.1.35.Final.jar:4.1.35.Fin
al]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChanne
lPipeline.java:930) [netty-transport-4.1.35.Final.jar:4.1.35.Final]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(Abstra
ctNioByteChannel.java:163) [netty-transport-4.1.35.Final.jar:4.1.35.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.jav
a:682) [netty-transport-4.1.35.Final.jar:4.1.35.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLo
op.java:582) [netty-transport-4.1.35.Final.jar:4.1.35.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.ja
va:536) [netty-transport-4.1.35.Final.jar:4.1.35.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) [netty-t
ransport-4.1.35.Final.jar:4.1.35.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThread
EventExecutor.java:906) [netty-common-4.1.35.Final.jar:4.1.35.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java
:74) [netty-common-4.1.35.Final.jar:4.1.35.Final]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: 48
5454502f312e30203430302042616420526571756573740d0a636f6e74656e742d747970653a2061
70706c69636174696f6e2f6a736f6e3b20636861727365743d5554462d380d0a636f6e74656e742d
28c38027c380227d2c22737461747573223a3430307d
at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1
206) ~[netty-handler-4.1.35.Final.jar:4.1.35.Final]
at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1274) ~[netty-
handler-4.1.35.Final.jar:4.1.35.Final]
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProte
ction(ByteToMessageDecoder.java:502) ~[netty-codec-4.1.35.Final.jar:4.1.35.Final
]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageD
ecoder.java:441) ~[netty-codec-4.1.35.Final.jar:4.1.35.Final]
... 16 more
[2019-07-09T12:57:39,321][INFO ][o.e.n.Node ] [e2] stopping ...
[2019-07-09T12:57:39,321][INFO ][o.e.x.w.WatcherService ] [e2] stopping watch
service, reason [shutdown initiated]
[2019-07-09T12:57:39,493][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [e2] [control
ler/64920] [Main.cc@150] Ml controller exiting
[2019-07-09T12:57:39,493][INFO ][o.e.x.m.p.NativeController] [e2] Native control
ler process has stopped - no new native processes can be started
[2019-07-09T12:57:39,571][INFO ][o.e.n.Node ] [e2] stopped
[2019-07-09T12:57:39,571][INFO ][o.e.n.Node ] [e2] closing ...
[2019-07-09T12:57:39,821][INFO ][o.e.h.AbstractHttpServerTransport] [e2] publish
_address {127.0.0.1:9230}, bound_addresses {127.0.0.1:9230}, {[::1]:9230}
[2019-07-09T12:57:39,821][INFO ][o.e.n.Node ] [e2] started
[2019-07-09T12:57:39,868][INFO ][o.e.n.Node ] [e2] closed