# Plugin:elasticsearch Unable to connect to Elasticsearch at https://es-logging-poc-eag-cpsprod.int.thomsonreuters.com:9200

**URL:** https://discuss.elastic.co/t/plugin-elasticsearch-unable-to-connect-to-elasticsearch-at-https-es-logging-poc-eag-cpsprod-int-thomsonreuters-com-9200/91619
**Category:** Kibana
**Created:** [July 3, 2017, 11:31am UTC](https://discuss.elastic.co/t/plugin-elasticsearch-unable-to-connect-to-elasticsearch-at-https-es-logging-poc-eag-cpsprod-int-thomsonreuters-com-9200/91619 "2017-07-03T11:31:36Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![GJ\_Sham](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gj_sham/32/19720_2.png) [@GJ\_Sham](https://discuss.elastic.co/u/GJ_Sham)
#### Post date: [July 3, 2017, 11:31am UTC](https://discuss.elastic.co/t/plugin-elasticsearch-unable-to-connect-to-elasticsearch-at-https-es-logging-poc-eag-cpsprod-int-thomsonreuters-com-9200/91619/1 "2017-07-03T11:31:36Z")

</div>

My kibana is not able to connect to elasticsearch. Both have installed in same severs. My Elastic search is up,. I have using selfsigned Certificate for HTTPS. My kibana is also up but not able to connect to elastic search.

I did:  
asadmin@c197dgt:~\> curl -k [https://es-logging-poc-eag-cpsprod.int.thomsonreuters.com:9200](https://es-logging-poc-eag-cpsprod.int.thomsonreuters.com:9200)  
{  
"name" : "c197dgt-master-9200",  
"cluster\_name" : "es-logging-poc-eag",  
"cluster\_uuid" : "4qvRTKgCRTqIEhBWzB3TEw",  
"version" : {  
"number" : "2.4.2",  
"build\_hash" : "161c65a337d4b422ac0c805f284565cf2014bb84",  
"build\_timestamp" : "2016-11-17T11:51:03Z",  
"build\_snapshot" : false,  
"lucene\_version" : "5.5.2"  
},  
"tagline" : "You Know, for Search"  
}

also:

![](https://us1.discourse-cdn.com/elastic/original/3X/4/8/48dd5791f300eeda8fd47429f092b7636ae6685f.png)

this the error in app.out:

nections"}  
{"type":"log","@timestamp":"2017-07-03T11:31:05+00:00","tags":["warning","elasticsearch"],"pid":44913,"message":"Unable to revive connection: [https://es-logging-poc-eag-cpsprod.int.thomsonreuters.com:9200/](https://es-logging-poc-eag-cpsprod.int.thomsonreuters.com:9200/)"}  
{"type":"log","@timestamp":"2017-07-03T11:31:05+00:00","tags":["warning","elasticsearch"],"pid":44913,"message":"No living connections"}  
{"type":"log","@timestamp":"2017-07-03T11:31:08+00:00","tags":["warning","elasticsearch"],"pid":44913,"message":"Unable to revive connection: [https://es-logging-poc-eag-cpsprod.int.thomsonreuters.com:9200/](https://es-logging-poc-eag-cpsprod.int.thomsonreuters.com:9200/)"}  
{"type":"log","@timestamp":"2017-07-03T11:31:08+00:00","tags":["warning","elasticsearch"],"pid":44913,"message":"No living connections"}  
{"type":"log","@timestamp":"2017-07-03T11:31:11+00:00","tags":["warning","elasticsearch"],"pid":44913,"message":"Unable to revive connection: [https://es-logging-poc-eag-cpsprod.int.thomsonreuters.com:9200/](https://es-logging-poc-eag-cpsprod.int.thomsonreuters.com:9200/)"}  
{"type":"log","@timestamp":"2017-07-03T11:31:11+00:00","tags":["warning","elasticsearch"],"pid":44913,"message":"No living connections"}  
{"type":"log","@timestamp":"2017-07-03T11:31:13+00:00","tags":["warning","elasticsearch"],"pid":44913,"message":"Unable to revive connection: [https://es-logging-poc-eag-cpsprod.int.thomsonreuters.com:9200/](https://es-logging-poc-eag-cpsprod.int.thomsonreuters.com:9200/)"}  
{"type":"log","@timestamp":"2017-07-03T11:31:13+00:00","tags":["warning","elasticsearch"],"pid":44913,"message":"No living connections"}

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 3, 2017, 11:37am UTC](https://discuss.elastic.co/t/plugin-elasticsearch-unable-to-connect-to-elasticsearch-at-https-es-logging-poc-eag-cpsprod-int-thomsonreuters-com-9200/91619/2 "2017-07-03T11:37:48Z")

</div>

You may want to redact those URLs 🙂

---

<div class="post-metadata">

### Author: ![GJ\_Sham](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gj_sham/32/19720_2.png) [@GJ\_Sham](https://discuss.elastic.co/u/GJ_Sham)
#### Post date: [July 4, 2017, 6:45am UTC](https://discuss.elastic.co/t/plugin-elasticsearch-unable-to-connect-to-elasticsearch-at-https-es-logging-poc-eag-cpsprod-int-thomsonreuters-com-9200/91619/3 "2017-07-04T06:45:39Z")

</div>

How do I do it, when I have used elasticsearch\_url: [http://trams-logstash-eag-preprod.int.thomsonreuters.com:9200](http://trams-logstash-eag-preprod.int.thomsonreuters.com:9200), means If I am using http I am able to connect but with https it is not,

here is my kibana.xml setting:

elasticsearch\_url: **https** ://es-logging-poc-eag-cpsprod.int.thomsonreuters.com:9200  
**#elasticsearch\_url: [http://trams-logstash-eag-preprod.int.thomsonreuters.com:9200](http://trams-logstash-eag-preprod.int.thomsonreuters.com:9200)**  
server.ssl.cert: /appserver/security/kibana/cert.pem  
server.ssl.key: /appserver/security/kibana/key.pem  
deadTimeout: 60000

---

<div class="post-metadata">

### Author: ![GJ\_Sham](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gj_sham/32/19720_2.png) [@GJ\_Sham](https://discuss.elastic.co/u/GJ_Sham)
#### Post date: [July 26, 2017, 9:38am UTC](https://discuss.elastic.co/t/plugin-elasticsearch-unable-to-connect-to-elasticsearch-at-https-es-logging-poc-eag-cpsprod-int-thomsonreuters-com-9200/91619/4 "2017-07-26T09:38:26Z")

</div>

this is resolved after passing elasticsearch.ssl.verify: false

and

basic user authentication to communicate with Elasticsearch.

kibana\_elasticsearch\_password: XXXXX

kibana\_elasticsearch\_username: XXXXXXXX

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [August 23, 2017, 9:38am UTC](https://discuss.elastic.co/t/plugin-elasticsearch-unable-to-connect-to-elasticsearch-at-https-es-logging-poc-eag-cpsprod-int-thomsonreuters-com-9200/91619/5 "2017-08-23T09:38:32Z")

</div>

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