Hi there ! I Set up basic security for the Elastic Stack plus secured HTTPS traffic . and then my kibana can connect to the local cluster successfully . But there is something wrong with the connection between the localcluster and the remote cluster.
{
"remoting_cluster" : {
"connected" : false,
"mode" : "sniff",
"seeds" : [
"10.112.51.39:9200"
],
"num_nodes_connected" : 0,
"max_connections_per_cluster" : 3,
"initial_connect_timeout" : "30s",
"skip_unavailable" : false
}
}
Here is the log of local cluster node:
[2021-04-26T10:21:48,267][WARN ][o.e.t.SniffConnectionStrategy] [node-1] fetching nodes from external cluster [remoting_cluster] failed
org.elasticsearch.transport.ConnectTransportException: [][10.112.51.39:9200] handshake_timeout[30s]
at org.elasticsearch.transport.TransportHandshaker.lambda$sendHandshake$1(TransportHandshaker.java:62) ~[elasticsearch-7.12.0.jar:7.12.0]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:673) ~[elasticsearch-7.12.0.jar:7.12.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[2021-04-26T10:22:48,261][WARN ][o.e.t.SniffConnectionStrategy] [node-1] fetching nodes from external cluster [remoting_cluster] failed
org.elasticsearch.transport.ConnectTransportException: [][10.112.51.39:9200] handshake_timeout[30s]
at org.elasticsearch.transport.TransportHandshaker.lambda$sendHandshake$1(TransportHandshaker.java:62) ~[elasticsearch-7.12.0.jar:7.12.0]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:673) ~[elasticsearch-7.12.0.jar:7.12.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[2021-04-26T10:23:48,307][WARN ][o.e.t.SniffConnectionStrategy] [node-1] fetching nodes from external cluster [remoting_cluster] failed
org.elasticsearch.transport.ConnectTransportException: [][10.112.51.39:9200] handshake_timeout[30s]
at org.elasticsearch.transport.TransportHandshaker.lambda$sendHandshake$1(TransportHandshaker.java:62) ~[elasticsearch-7.12.0.jar:7.12.0]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:673) ~[elasticsearch-7.12.0.jar:7.12.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
How to figure out this problem?