Kibana not IPv6 ready


(Sspreitzer) #1

To me it looks like Kibana is not IPv6 ready.

The node im running elasticsearch and kibana on only has ipv6 addresses and kibana is failing while all ports are reachable.

Error: unhandled courier request error: No Living connections
handleError@http://[2a02:168:7a0e:6:5054:ff:fe20:c1b8]:5601/bundles/kibana.bundle.js?v=9732:78871:23
AbstractReqProvider/AbstractReq.prototype.handleFailure@http://[2a02:168:7a0e:6:5054:ff:fe20:c1b8]:5601/bundles/kibana.bundle.js?v=9732:78791:15
callClient/</<@http://[2a02:168:7a0e:6:5054:ff:fe20:c1b8]:5601/bundles/kibana.bundle.js?v=9732:78685:14
callClient/<@http://[2a02:168:7a0e:6:5054:ff:fe20:c1b8]:5601/bundles/kibana.bundle.js?v=9732:78683:10
processQueue@http://[2a02:168:7a0e:6:5054:ff:fe20:c1b8]:5601/bundles/commons.bundle.js?v=9732:42357:29
scheduleProcessQueue/<@http://[2a02:168:7a0e:6:5054:ff:fe20:c1b8]:5601/bundles/commons.bundle.js?v=9732:42373:28
$RootScopeProvider/this.$get</Scope.prototype.$eval@http://[2a02:168:7a0e:6:5054:ff:fe20:c1b8]:5601/bundles/commons.bundle.js?v=9732:43601:17
$RootScopeProvider/this.$get</Scope.prototype.$digest@http://[2a02:168:7a0e:6:5054:ff:fe20:c1b8]:5601/bundles/commons.bundle.js?v=9732:43412:16
$RootScopeProvider/this.$get</Scope.prototype.$evalAsync/<@http://[2a02:168:7a0e:6:5054:ff:fe20:c1b8]:5601/bundles/commons.bundle.js?v=9732:43640:16
completeOutstandingRequest@http://[2a02:168:7a0e:6:5054:ff:fe20:c1b8]:5601/bundles/commons.bundle.js?v=9732:33119:8
Browser/self.defer/timeoutId<@http://[2a02:168:7a0e:6:5054:ff:fe20:c1b8]:5601/bundles/commons.bundle.js?v=9732:33396:8

Open ports:

[root@elk ~]# lsof -i -n -P|grep java
java    5885 elasticsearch   92u  IPv6  53666      0t0  TCP [::1]:9300 (LISTEN)
java    5885 elasticsearch   94u  IPv6  53669      0t0  TCP 127.0.0.1:9300 (LISTEN)
java    5885 elasticsearch   95u  IPv6  53670      0t0  TCP [2a02:168:7a0e:6:5054:ff:fe20:c1b8]:9300 (LISTEN)
java    5885 elasticsearch  112u  IPv6  53761      0t0  TCP [::1]:9200 (LISTEN)
java    5885 elasticsearch  113u  IPv6  53762      0t0  TCP 127.0.0.1:9200 (LISTEN)
java    5885 elasticsearch  114u  IPv6  53763      0t0  TCP [2a02:168:7a0e:6:5054:ff:fe20:c1b8]:9200 (LISTEN)
[root@elk ~]# lsof -i -n -P|grep node
node    5943        kibana   10u  IPv6  53745      0t0  TCP *:5601 (LISTEN)

(Lee Drengenberg) #2

Can you provide some of the logging from Elasticsearch and Kibana as they start up?

And what versions they are.

For Elasticsearch the logging that shows the listening info like;

[INFO ][node                     ] [Rancor] starting ...
[INFO ][transport                ] [Rancor] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}, {[::1]:9300}
[INFO ][discovery                ] [Rancor] elasticsearch/p_QmNH9uTgaYWMDY4pNNwg
[INFO ][cluster.service          ] [Rancor] new_master {Rancor}{p_QmNH9uTgaYWMDY4pNNwg}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
[INFO ][http                     ] [Rancor] publish_address {127.0.0.1:9200}, bound_addresses {127.0.0.1:9200}, {[::1]:9200}
[INFO ][node                     ] [Rancor] started
[INFO ][license.plugin.core      ] [Rancor] license [f6efe33d-059b-43f4-b5ac-80a600a7696f] - valid
[ERROR][license.plugin.core      ] [Rancor]

And for Kibana (I stopped my Elasticsearch instance in this case);

 [info][listening] Server running at http://0.0.0.0:5601
 [error][elasticsearch] Request error, retrying -- connect ECONNREFUSED 127.0.0.1:9200
 [warning][elasticsearch] Unable to revive connection: http://localhost:9200/
 [warning][elasticsearch] No living connections
 [error][status][plugin:elasticsearch] Status changed from yellow to red - Unable to connect to Elasticsearch at http://localhost:9200.
 [warning][elasticsearch] Unable to revive connection: http://localhost:9200/
 [warning][elasticsearch] No living connections

Thanks,
Lee


(Stephen Cope) #3

I'm using IPv6 exclusively for my setup:

ElasticSearch:

network.host: ::1

Kibana:

server.host: "localhost6"
elasticsearch.url: "http://localhost6:9200"

Works fine.


(system) #4