Getting this on opening the UI Cannot connect to the Elasticsearch cluster See the Kibana logs for details and try reloading the page

On opening the Kibana UI i get this message "Cannot connect to the Elasticsearch cluster
See the Kibana logs for details and try reloading the page." on checking the kibana logs i see this 
 {"type":"log","@timestamp":"2023-07-17T16:51:52Z","tags":["warning","elasticsearch","admin"],"pid":8,"message":"Unable to revive connection: http://elasticsearch:9200/"}
{"type":"log","@timestamp":"2023-07-17T16:51:52Z","tags":["warning","elasticsearch","admin"],"pid":8,"message":"No living connections"} 

Welcome!

And what are Elasticsearch logs? How do you start Kibana?

Hi David, thanks for getting back
How should i get the elastucsearch logs, on running kubectl logs es-cluster-0 
Defaulted container "elasticsearch" out of: elasticsearch, fix-permissions (init), increase-vm-max-map (init), increase-fd-ulimit (init)
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
PS C:\monitoring> kubectl logs es-cluster-1
Defaulted container "elasticsearch" out of: elasticsearch, fix-permissions (init), increase-vm-max-map (init), increase-fd-ulimit (init)
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release 
am getting this and for opening kibana UI i use curl http://localhost:5601/app/kibana 
Regards
Qazi Mamoon

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