# Connection marked as failed because the onConnect callback failed

**URL:** https://discuss.elastic.co/t/connection-marked-as-failed-because-the-onconnect-callback-failed/296834
**Category:** Beats
**Tags:** beats-module, filebeat
**Created:** [February 10, 2022, 12:18pm UTC](https://discuss.elastic.co/t/connection-marked-as-failed-because-the-onconnect-callback-failed/296834 "2022-02-10T12:18:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![abhi.logs](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@abhi.logs](https://discuss.elastic.co/u/abhi.logs)
#### Post date: [February 10, 2022, 12:18pm UTC](https://discuss.elastic.co/t/connection-marked-as-failed-because-the-onconnect-callback-failed/296834/1 "2022-02-10T12:18:17Z")

</div>

Getting this error when I enabled envoy module.

```auto
Connection marked as failed because the onConnect callback failed: 1 error: error loading pipeline for fileset envoyproxy/log: couldn't load pipeline: couldn't load json. Error: 404 Not Found: no such path
. Additionally, error decoding response body: no such path

```

---

<div class="post-metadata">

### Author: ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)
#### Post date: [February 10, 2022, 2:20pm UTC](https://discuss.elastic.co/t/connection-marked-as-failed-because-the-onconnect-callback-failed/296834/2 "2022-02-10T14:20:29Z")

</div>

Could you please share a bit more details e.g. your configuration formatted using `</>`? Also, which version of Filebeat are you using? Could you please share debug logs as well?

---

<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: [March 10, 2022, 4:21pm UTC](https://discuss.elastic.co/t/connection-marked-as-failed-because-the-onconnect-callback-failed/296834/3 "2022-03-10T16:21:14Z")

</div>

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