# State changed to FAILED: Missed two check-ins - type: 'ERROR' - sub\_type: 'FAILED'

**URL:** https://discuss.elastic.co/t/state-changed-to-failed-missed-two-check-ins-type-error-sub-type-failed/317158
**Category:** Elastic Agent
**Created:** [October 21, 2022, 1:10am UTC](https://discuss.elastic.co/t/state-changed-to-failed-missed-two-check-ins-type-error-sub-type-failed/317158 "2022-10-21T01:10:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![safuanmansor](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@safuanmansor](https://discuss.elastic.co/u/safuanmansor)
#### Post date: [October 21, 2022, 1:10am UTC](https://discuss.elastic.co/t/state-changed-to-failed-missed-two-check-ins-type-error-sub-type-failed/317158/1 "2022-10-21T01:10:36Z")

</div>

Hi Elastic Team,

Appreciate if you can point me the issue as my elastic-agent installed status change to unhealthy after couple of hours without any configuration change.

The logs file are as per the link.

> <https://github.com/safuanmansor/share/blob/master/elasticagentlog.txt>

---

<div class="post-metadata">

### Author: ![safuanmansor](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@safuanmansor](https://discuss.elastic.co/u/safuanmansor)
#### Post date: [October 28, 2022, 2:43am UTC](https://discuss.elastic.co/t/state-changed-to-failed-missed-two-check-ins-type-error-sub-type-failed/317158/2 "2022-10-28T02:43:02Z")

</div>

The weird part is, reapplying the same setting solve the issue and apm data from elastic-apm agent can flow thru the integration until it failed again..any idea?

---

<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: [November 25, 2022, 2:43am UTC](https://discuss.elastic.co/t/state-changed-to-failed-missed-two-check-ins-type-error-sub-type-failed/317158/3 "2022-11-25T02:43:45Z")

</div>

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