Hi All,
We are trying to pull data via REST API. It times out if the request takes more than 300 seconds. We have ELB in front of our app.
Is there any way we can achieve this?
TIA!!
Hi Ash,
It sounds like the timeout might be occuring on the load balancer, check out This Blog from Amazon, on how to check and change the settings.
But this could be a range of items, also check out this previous posts that go into this topic a bit more:
Regards,Earl
Hello Ash,
I hope you are having a nice day.
There are some options you can use to workaround the timeout issue:
1 - You can split your query in several calls with a limited number of results and create a Script to run each one at a time until you finish it.
2 - Usually, the REST API uses the default_socket_timeout parameter which defaults to 300 seconds, however, this parameter can be changed in some consoles like CURL.
You can check the link below to know exactly what parameters you can use to change the timeout:
- Default cURL timeout value
Let me know if this information helps.
@Earl McCutcheon Thank you.
It looks like you're new here. Sign in or register to get started.