tRest timeout/connection

One Star

tRest timeout/connection

Is there a way to get around these errors? 
Exception in component tREST_1 - com.sun.jersey.api.client.ClientHandlerException: java.net.SocketException: Connection reset
Exception in component tREST_1 - com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection timed out: connect


I'm trying to run a few hundred thousand queries through a REST api using parallel processing. About 10 minutes in, I get that error. Is there anything I can do to fix this? I do not see any timeout settings on tRest.
Moderator

Re: tRest timeout/connection

Hi,
Could you please try to use tRestClient with Connection timeout and Receive timeout options to see if your job works?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.