One Star

tREST & tHTTPRequest Timeout

Hello,
We've had a few situations where an external, overzealous firewall kills off our HTTP Connections to external services, leaving TOS hanging with a connection but no response. There doesn't appear to be a timeout that can be set on the tRest or tHttpRequest componenets. Does anyone have any idea how a timeout can be implemented?
I've checked into the Java that's produced, it looks like both components are built upon com.sun.jersey.api.client; which does have a timeout property for reads (https://jersey.java.net/nonav/apidocs/1.5/jersey/com/sun/jersey/api/client/config/ClientConfig.html#...) and connections (https://jersey.java.net/nonav/apidocs/1.5/jersey/com/sun/jersey/api/client/config/ClientConfig.html#...)
However I can't come up with a way of setting this, is there any way that people know of changing this value?
Thanks in advance,
-Rob
3 REPLIES
Moderator

Re: tREST & tHTTPRequest Timeout

Hi,
Have you tried to configure timeout at the server side?
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.
One Star

Re: tREST & tHTTPRequest Timeout

Hi Sabrina,
Where is that timeout set? I am having a similar issue.
Thanks,
Eddie
One Star

Re: tREST & tHTTPRequest Timeout

Where is this config - also looking at this?