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.