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 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 :
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:67265vendors.bundle.js:205:74081
WARNING: 2018-10-03T09:41:38Z
Unable to revive connection: https://IPV6_ADDR/Kibana/elasticsearchvendors.bundle.js:205:74081
WARNING: 2018-10-03T09:41:38Z
No living connectionsvendors.bundle.js:205:74081
WARNING: 2018-10-03T09:41:52Z
Unable to revive connection: https://IPV6_ADDR/Kibana/elasticsearchvendors.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 !