# APM dashboard is not getting loaded

**URL:** <https://discuss.elastic.co/t/apm-dashboard-is-not-getting-loaded/216390>\
**Category:** APM\
**Created:** [January 24, 2020, 8:47am UTC](https://discuss.elastic.co/t/apm-dashboard-is-not-getting-loaded/216390 "2020-01-24T08:47:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karthik\_Medam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karthik_medam/32/45015_2.png) [@Karthik\_Medam](https://discuss.elastic.co/u/Karthik_Medam)\
**Post date:** [January 24, 2020, 8:47am UTC](https://discuss.elastic.co/t/apm-dashboard-is-not-getting-loaded/216390/1 "2020-01-24T08:47:38Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text 🙂

**Kibana version** :  
6.6.1  
**Elasticsearch version** :  
6.6.1  
**APM Server version** :  
1.6.1  
**APM Agent language and version** :  
latest  
**Browser version** :  
Version 79.0.3945.130  
**Original install method (e.g. download page, yum, deb, from source, etc.) and version**:  
yum  
**Fresh install or upgraded from other version?**  
fresh install  
**Is there anything special in your setup?** For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.  
We have provided Kibana loadbalancer  
**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/1/a1c14c3045928a6d8bb432c333f097a055049726.png)

**Steps to reproduce** :  
1.Getting "No services were found" under APM app.  
2.  
3.

**Errors in browser console (if relevant)**:  
command throws error: apm-server setup -E setup.kibana.host=https://10.8.16.20:5601 -e

2020-01-24T08:21:33.652Z ERROR instance/beat.go:911 Exiting: fail to create the Kibana loader: Error creating Kibana client: Error creating Kibana client: fail to get the Kibana version: HTTP GET request to /api/status fails: fail to execute the HTTP GET request: Get [https://10.8.16.20:5601/api/status:](https://10.8.16.20:5601/api/status:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). Response: .

Exiting: fail to create the Kibana loader: Error creating Kibana client: Error creating Kibana client: fail to get the Kibana version: HTTP GET request to /api/status fails: fail to execute the HTTP GET request: Get [https://10.8.16.20:5601/api/status:](https://10.8.16.20:5601/api/status:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). Response: .  
**Provide logs and/or server output (if relevant)**:

---

<div class="post-metadata">

**Author:** ![jalvz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jalvz/32/45613_2.png) [@jalvz](https://discuss.elastic.co/u/jalvz)\
**Post date:** [January 24, 2020, 10:00am UTC](https://discuss.elastic.co/t/apm-dashboard-is-not-getting-loaded/216390/2 "2020-01-24T10:00:32Z")

</div>

Hi there!

I'm not sure I understand your problem completely, but a few things seem off track:

- Kibana dashboards with APM data became deprecated in 6.4, what you get instead is a specific APM tab in Kibana. That corresponds to the screenshot you are posting, but you don't need to pass `setup.kibana.host` to apm-server.

- The `apm-server setup` you are using simply creates the templates in Elasticsearch for APM. To have apm-server accept events you need to run `apm-server -e`. It will listen on port 8200 by default.

- The most important thing you need to do is configuring APM Server so it can talk to Elasticsearch: that is `output.elasticsearch.hosts`, `output.elasticsearch.username` and `output.elasticsearch.password` in `apm-server.yml`.  
Configure SSL/TLS too if needed. See [https://www.elastic.co/guide/en/apm/server/6.6/elasticsearch-output.html](https://www.elastic.co/guide/en/apm/server/6.6/elasticsearch-output.html).  
You can keep the `index` and `indices` setting as default.  
You can then test your connection running `apm-server -e test output`

- Then you need to configure your Elastic APM agent to point to APM Server, and use your app for a bit so it generates traffic data.

Finally, your version is a bit old, generally is a good idea to upgrade to a newer version, latest right now is 7.5.

I hope this can get you started!

/Juan

---

<div class="post-metadata">

**Author:** ![jalvz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jalvz/32/45613_2.png) [@jalvz](https://discuss.elastic.co/u/jalvz)\
**Post date:** [January 27, 2020, 9:46am UTC](https://discuss.elastic.co/t/apm-dashboard-is-not-getting-loaded/216390/4 "2020-01-27T09:46:50Z")

</div>

Hello,

You are running apm-server and the agent in the same host; and you are pointing the agent to the apm-server and not to Elasticsearch directly, correct?  
Can you share the result of running `apm-server -e test output`, and also the logs from both apm-server and the agent?

---

<div class="post-metadata">

**Author:** ![Karthik\_Medam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karthik_medam/32/45015_2.png) [@Karthik\_Medam](https://discuss.elastic.co/u/Karthik_Medam)\
**Post date:** [January 30, 2020, 6:08am UTC](https://discuss.elastic.co/t/apm-dashboard-is-not-getting-loaded/216390/5 "2020-01-30T06:08:04Z")

</div>

Here are the agent logs and server logs.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/e/eeff9fa845ef717e16e20fbf0b7a241b13346fc7.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/6/369a30367c4c48b644d882c49f56877fe42a02d2.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/d/ad2875765d43b410c5b37a60cdc53e08e9b7a8bb.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/2/02b299d01ff13b3e96d775a9d81aa413d67ad982.png)

---

<div class="post-metadata">

**Author:** ![jalvz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jalvz/32/45613_2.png) [@jalvz](https://discuss.elastic.co/u/jalvz)\
**Post date:** [January 30, 2020, 8:43am UTC](https://discuss.elastic.co/t/apm-dashboard-is-not-getting-loaded/216390/6 "2020-01-30T08:43:54Z")

</div>

Ok,

So APM Server can connect to Elasticsearch, but it looks like the agent can't connect to APM Server. In the first screenshot there is a line saying "Elastic APM server https://...:8200 is not available (Connection refused)"

Just a guess: It might be related to SSL configuration? you need a private key and a certificate issued by a certification authority and specify the path to those files in `apm-server.ssl.key` and `apm-server.ssl.certificate`. Or, if you are using a self-signed cert, you need to disable verification in the agent (`-Delastic.apm.verify_server_cert=false`)

Also, for the next time: it is better to share logs as text than as screenshot: I can't search or copy from images 🙂

---

<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:** [February 20, 2020, 4:43am UTC](https://discuss.elastic.co/t/apm-dashboard-is-not-getting-loaded/216390/7 "2020-02-20T04:43:58Z")

</div>

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