# Error 499 when using http\_poller

**URL:** <https://discuss.elastic.co/t/error-499-when-using-http-poller/376142>\
**Category:** Logstash\
**Created:** [March 19, 2025, 9:43pm UTC](https://discuss.elastic.co/t/error-499-when-using-http-poller/376142 "2025-03-19T21:43:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![O\_O\_O](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/o_o_o/32/141961_2.png) [@O\_O\_O](https://discuss.elastic.co/u/O_O_O)\
**Post date:** [March 19, 2025, 9:43pm UTC](https://discuss.elastic.co/t/error-499-when-using-http-poller/376142/1 "2025-03-19T21:43:18Z")

</div>

I'm using http\_poller to get JSON data from an endpoint that runs on nginx in the background, I set the `request_timeout => 500` so as to give enough time for the request to be fulfilled. I'm getting persistent HTTP error 499 which seem to suggest Client Closed Request, presumably Logstash is the client in this case.

When I use curl, I get the JSON in a few seconds and do not experience error 499 at all.

Any suggestions?

Thanks.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 19, 2025, 10:08pm UTC](https://discuss.elastic.co/t/error-499-when-using-http-poller/376142/2 "2025-03-19T22:08:51Z")

</div>

Where are you seeing the 499 status?

---

<div class="post-metadata">

**Author:** ![O\_O\_O](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/o_o_o/32/141961_2.png) [@O\_O\_O](https://discuss.elastic.co/u/O_O_O)\
**Post date:** [March 20, 2025, 2:45pm UTC](https://discuss.elastic.co/t/error-499-when-using-http-poller/376142/3 "2025-03-20T14:45:44Z")

</div>

Backend of the endpoint that Logstash is calling, something like this:

```auto
10.10.1.1 - - [20/Mar/2025:09:38:29 -0000] "GET /path/to/endpoint HTTP/1.1" 499 0 "-" "Manticore 0.9.1"
```
