Error 499 when using http_poller

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.

Where are you seeing the 499 status?

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

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