tREST & tHTTPRequest Timeout

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
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? 

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog