# Error": "Agent configuration infrastructure is not ready. Please retry later

**URL:** <https://discuss.elastic.co/t/error-agent-configuration-infrastructure-is-not-ready-please-retry-later/354695>\
**Category:** APM\
**Tags:** server\
**Created:** [March 5, 2024, 6:18am UTC](https://discuss.elastic.co/t/error-agent-configuration-infrastructure-is-not-ready-please-retry-later/354695 "2024-03-05T06:18:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ekta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ekta/32/55987_2.png) [@Ekta](https://discuss.elastic.co/u/Ekta)\
**Post date:** [March 5, 2024, 6:18am UTC](https://discuss.elastic.co/t/error-agent-configuration-infrastructure-is-not-ready-please-retry-later/354695/1 "2024-03-05T06:18:08Z")

</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.12.0

**Elasticsearch version** : 8.12.0

**APM Server version** : 8.12.0

**APM Agent language and version** :

**Browser version** :

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

**Fresh install or upgraded from other version?** upgraded

**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.

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

**Steps to reproduce** :  
1.  
2.  
3.

**Errors in browser console (if relevant)**:  
"error": "Agent configuration infrastructure is not ready. Please retry later."

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

{"log.level":"error","@timestamp":"2024-03-05T03:51:44.339+0530","log.logger":"beater","log.origin":{"function":"[github.com/elastic/apm-server/internal/beater.waitReady","file.name":"beater/waitready.go","file.line":62},"message":"precondition](http://github.com/elastic/apm-server/internal/beater.waitReady%22,%22file.name%22:%22beater/waitready.go%22,%22file.line%22:62%7D,%22message%22:%22precondition) 'apm integration installed' failed: error querying Elasticsearch for integration index templates: unexpected HTTP status: 404 Not Found ({"error":{"root\_cause":[{"type":"resource\_not\_found\_exception","reason":"index template matching [logs-apm.error] not found"}],"type":"resource\_not\_found\_exception","reason":"index template matching [logs-apm.error] not found"},"status":404}): to remediate, please install the apm integration: [https://ela.st/apm-integration-quickstart","service.name":"apm-server","ecs.version":"1.6.0](https://ela.st/apm-integration-quickstart%22,%22service.name%22:%22apm-server%22,%22ecs.version%22:%221.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:** [April 2, 2024, 6:18am UTC](https://discuss.elastic.co/t/error-agent-configuration-infrastructure-is-not-ready-please-retry-later/354695/2 "2024-04-02T06:18:46Z")

</div>

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