# APM Server has still not connected to Elasticsearch

**URL:** <https://discuss.elastic.co/t/apm-server-has-still-not-connected-to-elasticsearch/183133>\
**Category:** APM\
**Tags:** server\
**Created:** [May 28, 2019, 2:51pm UTC](https://discuss.elastic.co/t/apm-server-has-still-not-connected-to-elasticsearch/183133 "2019-05-28T14:51:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gidi\_Kalef](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gidi_kalef/32/43651_2.png) [@Gidi\_Kalef](https://discuss.elastic.co/u/Gidi_Kalef)\
**Post date:** [May 28, 2019, 2:51pm UTC](https://discuss.elastic.co/t/apm-server-has-still-not-connected-to-elasticsearch/183133/1 "2019-05-28T14:51:00Z")

</div>

Hi Guys,  
i installed APM server and config it to connect to my elastic,  
when i click " APM Server status" button i get the following message: "APM Server has still not connected to Elasticsearch"

although in apm -server when i ran apm-server -e i got the following output:  
2019-05-28T17:43:04.612+0300 INFO [http\_client] beater/client.go:49 HTTP Server ready  
2019-05-28T17:43:04.612+0300 INFO [onboarding] beater/onboarding.go:36 Publishing onboarding document  
2019-05-28T17:43:05.613+0300 INFO pipeline/output.go:95 Connecting to backoff(elasticsearch([http://esh-prod-elasticsearch-01.eqx.solaredge.com:9200](http://esh-prod-elasticsearch-01.eqx.solaredge.com:9200)))  
2019-05-28T17:43:05.613+0300 INFO pipeline/output.go:95 Connecting to backoff(elasticsearch([http://esh-prod-elasticsearch-03.eqx.solaredge.com:9200](http://esh-prod-elasticsearch-03.eqx.solaredge.com:9200)))  
2019-05-28T17:43:05.613+0300 INFO pipeline/output.go:95 Connecting to backoff(elasticsearch([http://esh-prod-elasticsearch-05.eqx.solaredge.com:9200](http://esh-prod-elasticsearch-05.eqx.solaredge.com:9200)))  
2019-05-28T17:43:05.613+0300 INFO pipeline/output.go:95 Connecting to backoff(elasticsearch([http://esh-prod-elasticsearch-04.eqx.solaredge.com:9200](http://esh-prod-elasticsearch-04.eqx.solaredge.com:9200)))  
2019-05-28T17:43:05.613+0300 INFO pipeline/output.go:95 Connecting to backoff(elasticsearch([http://esh-prod-elasticsearch-02.eqx.solaredge.com:9200](http://esh-prod-elasticsearch-02.eqx.solaredge.com:9200)))  
2019-05-28T17:43:05.616+0300 INFO elasticsearch/client.go:734 Attempting to connect to Elasticsearch version 6.6.0  
2019-05-28T17:43:05.616+0300 INFO elasticsearch/client.go:734 Attempting to connect to Elasticsearch version 6.6.0  
2019-05-28T17:43:05.616+0300 INFO elasticsearch/client.go:734 Attempting to connect to Elasticsearch version 6.6.0  
2019-05-28T17:43:05.620+0300 INFO template/load.go:129 Template already exists and will not be overwritten.  
2019-05-28T17:43:05.620+0300 INFO [index-management] idxmgmt/supporter.go:196 Loaded index template.  
2019-05-28T17:43:05.620+0300 INFO elasticsearch/client.go:734 Attempting to connect to Elasticsearch version 6.6.0  
2019-05-28T17:43:05.621+0300 INFO pipeline/output.go:105 Connection to backoff(elasticsearch([http://x.x.x.x:9200](http://x.x.x.x:9200))) established  
2019-05-28T17:43:05.624+0300 INFO template/load.go:129 Template already exists and will not be overwritten.  
2019-05-28T17:43:05.624+0300 INFO [index-management] idxmgmt/supporter.go:196 Loaded index template.  
2019-05-28T17:43:05.624+0300 INFO pipeline/output.go:105 Connection to backoff(elasticsearch([http://x.x.x.x:9200](http://x.x.x.x:9200))) established  
2019-05-28T17:43:05.626+0300 INFO elasticsearch/client.go:734 Attempting to connect to Elasticsearch version 6.6.0  
2019-05-28T17:43:05.628+0300 INFO template/load.go:129 Template already exists and will not be overwritten.  
2019-05-28T17:43:05.628+0300 INFO [index-management] idxmgmt/supporter.go:196 Loaded index template.  
2019-05-28T17:43:05.628+0300 INFO pipeline/output.go:105 Connection to backoff(elasticsearch([http://x.x.x.x:9200](http://x.x.x.x:9200))) established  
2019-05-28T17:43:05.667+0300 INFO template/load.go:129 Template already exists and will not be overwritten.  
2019-05-28T17:43:05.667+0300 INFO [index-management] idxmgmt/supporter.go:196 Loaded index template.  
2019-05-28T17:43:05.667+0300 INFO pipeline/output.go:105 Connection to backoff(elasticsearch([http://x.x.x.x:9200](http://x.x.x.x:9200))) established  
2019-05-28T17:43:05.672+0300 INFO template/load.go:129 Template already exists and will not be overwritten.  
2019-05-28T17:43:05.672+0300 INFO [index-management] idxmgmt/supporter.go:196 Loaded index template.  
2019-05-28T17:43:05.672+0300 INFO pipeline/output.go:105 Connection to backoff(elasticsearch(http:/x.x.x.x:9200)) established

**Kibana version** :  
"6.6.0"  
**Elasticsearch version** :  
"6.6.0"  
**APM Server version** :  
7.1

Do you have any idea why check button show failure?  
Thanks

---

<div class="post-metadata">

**Author:** ![gil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gil/32/41911_2.png) [@gil](https://discuss.elastic.co/u/gil)\
**Post date:** [May 28, 2019, 4:00pm UTC](https://discuss.elastic.co/t/apm-server-has-still-not-connected-to-elasticsearch/183133/2 "2019-05-28T16:00:51Z")

</div>

This is happening because apm-server 7.1.0 [requires](https://www.elastic.co/support/matrix#matrix_compatibility) elasticsearch and kibana 7.0.0 or greater. In your case, we'd suggest upgrading Elastisearch and Kibana to 7.1 if possible. Otherwise, downgrade apm-server to 6.8.0.

---

<div class="post-metadata">

**Author:** ![Gidi\_Kalef](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gidi_kalef/32/43651_2.png) [@Gidi\_Kalef](https://discuss.elastic.co/u/Gidi_Kalef)\
**Post date:** [May 28, 2019, 4:09pm UTC](https://discuss.elastic.co/t/apm-server-has-still-not-connected-to-elasticsearch/183133/3 "2019-05-28T16:09:30Z")

</div>

Thanks Gil,  
Already figured it out!

---

<div class="post-metadata">

**Author:** ![gil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gil/32/41911_2.png) [@gil](https://discuss.elastic.co/u/gil)\
**Post date:** [May 28, 2019, 4:24pm UTC](https://discuss.elastic.co/t/apm-server-has-still-not-connected-to-elasticsearch/183133/4 "2019-05-28T16:24:51Z")

</div>

Glad to hear it!

---

<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:** [June 18, 2019, 12:26pm UTC](https://discuss.elastic.co/t/apm-server-has-still-not-connected-to-elasticsearch/183133/5 "2019-06-18T12:26:11Z")

</div>

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