I get a lot of timeouts, specially on the accounts methods like the getAccountFunds. My solution is to handle the exception on one of two ways: If a really need the results of the call (i always try to build my code to get along with empty responses from calls so i can move on in case of API errors or timeouts) i make him sleep some time and try again (not an infinite number of times, just like 5 times, the server can be down and i don't want to be stuck in a loop trying to get the info), if i don't need the response i just return "nothing" or an empty response object and try to build logic's that account for an empty response.
Comment