Kibana "No living Connections" behind IPV6 reverse proxy

Hello,

Here is my configuration :

Elasticsearch, Logstash and Kibana are running behind a reverse proxy Nginx.
ELK are all running in docker containers at the latest stable version (6.4.1) using network host configuration.

The configuration is working well in IPV4 , but not in IPV6 . Behind reverse proxy, we explicitly use IPV4 (127.0.0.1) to connect ELK.
Logstash and Kibana are working well both in IPV4 and IPV6.

Kibana Status is OK :
kibana status

Kibana is able to get all his configuration, visualizations and dashboard from Elastic. I can also use dev tools to launch a custom request to Elastic from Kibana without any problems.

But Kibana Discover, Visualise and Dashboard produce errors like :
discover error

There is no error in any logs (Elastic and Kibana).

We can see this error in browser debug console :

vendors.bundle.js:205:74081
ERROR: 2018-10-03T09:41:38Z
Log.prototype.error@https://[IPV6_ADDR]/Kibana/bundles/vendors.bundle.js:189:823935
checkRespForFailure@https://[IPV6_ADDR]/Kibana/bundles/vendors.bundle.js:189:833778
AngularConnector.prototype.request/<@https://[IPV6_ADDR]/Kibana/bundles/vendors.bundle.js:189:843294
processQueue@https://[IPV6_ADDR]/Kibana/bundles/vendors.bundle.js:104:199684
scheduleProcessQueue/<@https://[IPV6_ADDR]/Kibana/bundles/vendors.bundle.js:104:200647
$digest@https://[IPV6_ADDR]/Kibana/bundles/vendors.bundle.js:104:210409
$evalAsync/<@https://[IPV6_ADDR]/Kibana/bundles/vendors.bundle.js:104:212930
completeOutstandingRequest@https://[IPV6_ADDR]/Kibana/bundles/vendors.bundle.js:104:64421
Browser/self.defer/timeoutId<@https://[IPV6_ADDR]/Kibana/bundles/vendors.bundle.js:104:67265

vendors.bundle.js:205:74081
WARNING: 2018-10-03T09:41:38Z
Unable to revive connection: https://IPV6_ADDR/Kibana/elasticsearch

vendors.bundle.js:205:74081
WARNING: 2018-10-03T09:41:38Z
No living connections

vendors.bundle.js:205:74081
WARNING: 2018-10-03T09:41:52Z
Unable to revive connection: https://IPV6_ADDR/Kibana/elasticsearch

vendors.bundle.js:205:74081
WARNING: 2018-10-03T09:41:52Z
No living connections

Reverse Proxy nGinx Configuration :

location /Kibana/ {
proxy_pass http://127.0.0.1:5601/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}

Kibana config :

server.host: "0.0.0.0"
server.basePath: "/Kibana"
server.rewriteBasePath: false
elasticsearch.url: "http://127.0.0.1:9200"
elasticsearch.preserveHost: true

Elastic config :

network.host: [" local "," eth1 "]
discovery.zen.ping.unicast.hosts: ["xxx-0","xxx-1","xxx-2"]
discovery.zen.minimum_master_nodes: 2
discovery.zen.fd.ping_timeout: 10s

Thanks for your help !

Hi,

Thanks for logging the bug: https://github.com/elastic/kibana/issues?utf8=✓&q=is%3Aissue+is%3Aopen+IPV6

I have tagged our ops team.

Thanks,
Bhavya

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