# APM Server Error Error

**URL:** <https://discuss.elastic.co/t/apm-server-error-error/359421>\
**Category:** APM\
**Tags:** docker, dotnet\
**Created:** [May 14, 2024, 4:18am UTC](https://discuss.elastic.co/t/apm-server-error-error/359421 "2024-05-14T04:18:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chandu.Tatapudi](https://avatars.discourse-cdn.com/v4/letter/c/7ab992/32.png) [@Chandu.Tatapudi](https://discuss.elastic.co/u/Chandu.Tatapudi)\
**Post date:** [May 14, 2024, 4:18am UTC](https://discuss.elastic.co/t/apm-server-error-error/359421/1 "2024-05-14T04:18:37Z")

</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 🙂

TIP 1: select at least one tag that further categorizes your topic. For example `server` for APM Server related questions, `java` for questions regarding the Elastic APM Java agent, or `ui` for questions about the APM App within Kibana.

TIP 2: Check out the [troubleshooting guide](https://www.elastic.co/guide/en/apm/get-started/current/troubleshooting.html) first. Not only will it help you to resolve common problems faster but it also explains in more detail which information we need before we can properly help you.

**Kibana version** : 8.13.0

**Elasticsearch version** : 8.13.0

**APM Server version** : 8.13.0

**APM Agent language and version** : .Net core/Windows IIS web server

**Browser version** : Chrome

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: Docker Compose file

**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 are not using any Load balancer, Kafka outputs.

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

**Steps to reproduce** :

1. We have integrated APM .Net core Agent on IIS web server and added Agent key details but still APM logs are not showing.
2. When we validate APM-server test output showing successful message

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

1. When we verify APM server logs errors showing as below.

2024-05-14T04:16:37.604685654Z precondition failed: error querying cluster\_uuid: status\_code=401 | log.level=error @timestamp=2024-05-14T04:16:37.604Z log.logger=beater log.origin={"function":"[github.com/elastic/apm-server/internal/beater.waitReady","file.name":"beater/waitready.go","file.line](http://github.com/elastic/apm-server/internal/beater.waitReady%22,%22file.name%22:%22beater/waitready.go%22,%22file.line)":64} service.name=apm-server ecs.version=1.6.0

137

2024-05-14T04:16:42.604582061Z precondition failed: error querying cluster\_uuid: status\_code=401 | log.level=error @timestamp=2024-05-14T04:16:42.604Z log.logger=beater log.origin={"function":"[github.com/elastic/apm-server/internal/beater.waitReady","file.name":"beater/waitready.go","file.line](http://github.com/elastic/apm-server/internal/beater.waitReady%22,%22file.name%22:%22beater/waitready.go%22,%22file.line)":64} service.name=apm-server ecs.version=1.6.0

**Errors in browser console (if relevant)**:

**Provide logs and/or server output (if relevant)**:

2024-05-14T04:16:37.604685654Z precondition failed: error querying cluster\_uuid: status\_code=401 | log.level=error @timestamp=2024-05-14T04:16:37.604Z log.logger=beater log.origin={"function":"[github.com/elastic/apm-server/internal/beater.waitReady","file.name":"beater/waitready.go","file.line](http://github.com/elastic/apm-server/internal/beater.waitReady%22,%22file.name%22:%22beater/waitready.go%22,%22file.line)":64} service.name=apm-server ecs.version=1.6.0

137

2024-05-14T04:16:42.604582061Z precondition failed: error querying cluster\_uuid: status\_code=401 | log.level=error @timestamp=2024-05-14T04:16:42.604Z log.logger=beater log.origin={"function":"[github.com/elastic/apm-server/internal/beater.waitReady","file.name":"beater/waitready.go","file.line](http://github.com/elastic/apm-server/internal/beater.waitReady%22,%22file.name%22:%22beater/waitready.go%22,%22file.line)":64} service.name=apm-server ecs.version=1.6.0

---

<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 16, 2024, 9:58am UTC](https://discuss.elastic.co/t/apm-server-error-error/359421/2 "2024-08-16T09:58:57Z")

</div>



---

<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 16, 2024, 4:20pm UTC](https://discuss.elastic.co/t/apm-server-error-error/359421/3 "2024-08-16T16:20:03Z")

</div>


