How to resolve the error "No living connection" while starting Kibana in windows

Srikanth picture Srikanth · Sep 1, 2019 · Viewed 8.8k times · Source

I have just started to learn about the ELK stack. I am referring to this site https://www.elastic.co/guide/en/elastic-stack-get-started/6.4/get-started-elastic-stack.html for installing the ELK stack in my system I have a problem when I try to start Kibana in my windows system. I get the following error

\log   [13:36:52.255] [warning][admin][elasticsearch] Unable to revive connection: http://localhost:9200/                
log   [13:36:52.277] [warning][admin][elasticsearch] No living connections  
log   [13:36:52.279] [warning][task_manager] PollError No Living connections                                            
log   [13:36:53.810] [warning][admin][elasticsearch] Unable to revive connection: http://localhost:9200/
log   [13:36:53.836] [warning][admin][elasticsearch] No living connections                                              
log   [13:36:56.456] [warning][admin][elasticsearch] Unable to revive connection: http://localhost:9200/  
log   [13:36:56.457] [warning][admin][elasticsearch] No living connections                                              
log   [13:36:56.458] [warning][task_manager] PollError No Living connections 
log   [13:36:57.348] [warning][admin][elasticsearch] Unable to revive connection: http://localhost:9200/                
log   [13:36:57.349] [warning][admin][elasticsearch] No living connections 

I think it is having a problem fetching the Elastic Search connection. But I think the elastic search instance has been started successfully. When I run

./bin/elasticsearch.bat

I get the following results

[2019-09-01T18:34:11,594][INFO ][o.e.h.AbstractHttpServerTransport] [DESKTOP-TD85D7S] publish_address {192.168.0.101:9200}, bound_addresses {192.168.99.1:9200}, {192.168.56.1:9200}, {192.168.0.101:9200}   
[2019-09-01T18:34:11,595][INFO ][o.e.n.Node               ] [DESKTOP-TD85D7S] started 

I don't know what the problem is in this situation. It will be great if someone helps me with this issue

Thanks in advance

Answer

Val picture Val · Sep 1, 2019

In your kibana.yml configuration file, you need to change the following line:

elasticsearch.hosts: ["http://localhost:9200"]

to

elasticsearch.hosts: ["http://192.168.0.101:9200"]