Unable to revive connection

Whenever starting Kibana I am getting the following errors in endless loop:

{"type":"log","@timestamp":"2017-01-15T13:01:28Z","tags":["warning","elasticsearch"],"pid":65037,"message":"No living connections"}
{"type":"log","@timestamp":"2017-01-15T13:01:31Z","tags":["warning","elasticsearch"],"pid":65037,"message":"Unable to revive connection: https://localhost:9200/"}
{"type":"log","@timestamp":"2017-01-15T13:01:31Z","tags":["warning","elasticsearch"],"pid":65037,"message":"No living connections"}
{"type":"log","@timestamp":"2017-01-15T13:01:33Z","tags":["warning","elasticsearch"],"pid":65037,"message":"Unable to revive connection: https://localhost:9200/"}
{"type":"log","@timestamp":"2017-01-15T13:01:33Z","tags":["warning","elasticsearch"],"pid":65037,"message":"No living connections"}
{"type":"log","@timestamp":"2017-01-15T13:01:36Z","tags":["warning","elasticsearch"],"pid":65037,"message":"Unable to revive connection: https://localhost:9200/"}
{"type":

or

{"type":"log","@timestamp":"2017-01-15T13:02:28Z","tags":["warning","elasticsearch"],"pid":65082,"message":"Unable to revive connection: http://localhost:9200/"}
{"type":"log","@timestamp":"2017-01-15T13:02:28Z","tags":["warning","elasticsearch"],"pid":65082,"message":"No living connections"}
{"type":"log","@timestamp":"2017-01-15T13:02:31Z","tags":["warning","elasticsearch"],"pid":65082,"message":"Unable to revive connection: http://localhost:9200/"}
{"type":"log","@timestamp":"2017-01-15T13:02:31Z","tags":["warning","elasticsearch"],"pid":65082,"message":"No living connections"}

What is the issue? I can't find it.

Thanks
Sharon.

Is ES ok?

Yes it is

This happens when Kibana can't communicate with elasticsearch. Can you try pinging elasticsearch with curl from the box that kibana is running on?

curl -i http://localhost:9200

Below you can see the answer from curl command :

 mpswrk1@eaasrt!MPS:/etc/elasticsearch> curl --cacert /etc/elasticsearch/x-pack/elasticsearchcrt/elasticsearchcrt.crt https://localhost:9200
    curl: (60) Peer's Certificate issuer is not recognized.

What is wrong here?

Thanks
Sharon.

Not sure about that curl error. Have you googled it? If you resolve that error I bet Kibana will start working again

I tried to find anywhere how to solve it but can't

mpswrk1@eaasrt!MPS:/etc/elasticsearch/x-pack> sudo curl -XPUT -u elastic:elastic 'https://eaasrt:9200/_xpack/license' -d @/etc/elasticsearch/x-pack/license.json
curl: (60) Peer's Certificate issuer is not recognized.

Why my peer certificate issuer isn't recognized?

I used the elastic certgen command to generate the certificated.

Also When I did it with RSA I got the same error.

Something is problematic here but I can't put my hand on it.

Any idea?

Now, I think my elastic is working, but still I can't open my browser for kibana

mpswrk1@eaasrt!MPS:/etc/elasticsearch> sudo curl --cacert /etc/elasticsearch/x-pack/localhost.cert -XGET -u elastic:myelasticpass 'https://eaasrt:9200'
{
  "name" : "mps",
  "cluster_name" : "valuePack",
  "cluster_uuid" : "eM_Y1uAxQF-SE859iFL7jQ",
  "version" : {
    "number" : "5.0.1",
    "build_hash" : "080bb47",
    "build_date" : "2016-11-11T22:08:49.812Z",
    "build_snapshot" : false,
    "lucene_version" : "6.2.1"
  },
  "tagline" : "You Know, for Search"
}

If someone can assist here!!!

solved

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