# Error fetching data for metricset http.json

**URL:** <https://discuss.elastic.co/t/error-fetching-data-for-metricset-http-json/326848>\
**Category:** Elastic Agent\
**Created:** [March 2, 2023, 12:41pm UTC](https://discuss.elastic.co/t/error-fetching-data-for-metricset-http-json/326848 "2023-03-02T12:41:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdul90082](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdul90082/32/117954_2.png) [@abdul90082](https://discuss.elastic.co/u/abdul90082)\
**Post date:** [March 2, 2023, 12:41pm UTC](https://discuss.elastic.co/t/error-fetching-data-for-metricset-http-json/326848/1 "2023-03-02T12:41:03Z")

</div>

```auto
{ "log.level": "error", "@timestamp": "2023-03-02T11:40:42.101Z", "message": "Error fetching data for metricset http.json: error making http request: Get \"http://unix/stats\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)", "component": { "binary": "metricbeat", "dataset": "elastic_agent.metricbeat", "id": "http/metrics-monitoring", "type": "http/metrics" }, "log": { "source": "http/metrics-monitoring" }, "log.origin": { "file.line": 256, "file.name": "module/wrapper.go" }, "service.name": "metricbeat", "ecs.version": "1.6.0", "ecs.version": "1.6.0" }

```

I am getting this error while setting up elastic-agent-standalone mode.

---

<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 30, 2023, 12:41pm UTC](https://discuss.elastic.co/t/error-fetching-data-for-metricset-http-json/326848/2 "2023-03-30T12:41:25Z")

</div>

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