# Elastic-agent stuck in offline status

**URL:** <https://discuss.elastic.co/t/elastic-agent-stuck-in-offline-status/385697>\
**Category:** Elastic Agent\
**Created:** [March 30, 2026, 10:00am UTC](https://discuss.elastic.co/t/elastic-agent-stuck-in-offline-status/385697 "2026-03-30T10:00:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alaeddine\_khadraoui](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alaeddine_khadraoui/32/141064_2.png) [@Alaeddine\_khadraoui](https://discuss.elastic.co/u/Alaeddine_khadraoui)\
**Post date:** [March 30, 2026, 10:00am UTC](https://discuss.elastic.co/t/elastic-agent-stuck-in-offline-status/385697/1 "2026-03-30T10:00:16Z")

</div>

Dear Elastic Community

i have elastic agent installed on linux on the host elastic-agent status showing Healthy/running but in fleet server UI it showing always offline ,i did re-installation of the agent but still offline from agent logs i see those errors:

`{"log.level":"error","@timestamp":"2026-03-29T09:05:14.914Z","log.origin":{"function":"``github.com/elastic/elastic-agent/internal/pkg/agent/application/gateway/fleet.(*FleetGateway).doExecute","file.name":"fleet/fleet_gateway.go","file.line":220},"message":"Cannot`` checkin in with fleet-server, retrying","log.source":"elastic-agent","error":{"message":"status code: 503, fleet-server returned an error: elastic fail 400: search_phase_execution_exception: all shards failed: illegal_argument_exception: Cannot wait for unissued seqNo checkpoint [wait_for_checkpoint=259, max_issued_seqNo=228], message: elasticsearch error"},"request_duration_ns":3200634848,"failed_checkins":8,"retry_after_ns":830891259763,"ecs.version":"1.6.0"}`  
`{"log.level":"error","@timestamp":"2026-03-29T09:19:06.784Z","log.origin":{"function":"``github.com/elastic/elastic-agent/internal/pkg/agent/application/gateway/fleet.(*FleetGateway).doExecute","file.name":"fleet/fleet_gateway.go","file.line":220},"message":"Cannot`` checkin in with fleet-server, retrying","log.source":"elastic-agent","error":{"message":"status code: 503, fleet-server returned an error: elastic fail 400: search_phase_execution_exception: all shards failed: illegal_argument_exception: Cannot wait for unissued seqNo checkpoint [wait_for_checkpoint=259, max_issued_seqNo=228], message: elasticsearch error"},"request_duration_ns":756109507,"failed_checkins":9,"retry_after_ns":632255999319,"ecs.version":"1.6.0"}`

any idea about this issue and how to investigate it

regards

---

<div class="post-metadata">

**Author:** ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)\
**Post date:** [April 3, 2026, 5:59am UTC](https://discuss.elastic.co/t/elastic-agent-stuck-in-offline-status/385697/2 "2026-04-03T05:59:14Z")

</div>

Hello @Alaeddine_khadraoui

Can you please share the ELK version?

Please check the cluster status & indices status :

```auto
GET _cluster/health?pretty
GET _cat/shards/.fleet-*?v
GET _cat/indices/.fleet-*?v

```

Thanks!!
