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
@Earl McCutcheon Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
Let me know if this information helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.