Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tRestClient Connection and Receive timeout

Hello, is there any way I could call (using globalMap or some other way) the current running value of the connection and receive timeout parameters in tRestClient component? Objective is to kill the job when the tRestClient idles for set amount of time. I've tried specifying the timeout parameters within the component but works on studio only. I would like to know if this is possible before exploring how to specify these in the config file - Talend newbie0683p000009LxGw.jpg

Labels (3)
7 Replies
Anonymous
Not applicable
Author

Hello,

On Runtime we use the 'standard' CXF-Conduit File to specific connection timeout parameters. Some more information can be found here: 
TalendHelpCenter:HTTP Conduit OSGi Configuration Parameters

 

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi @xdshi 

 

Even I am facing similar issue. Getting timeout exception for few runs and runs good for other runs. I have gone through your inputs but its not clear for me on how to implement it in real time. TalendHelpCenter:HTTP Conduit OSGi Configuration Parameters

Exception in component tRESTClient
javax.ws.rs.ProcessingException: java.net.SocketTimeoutException: SocketTimeoutException invoking "https://MyAPI_URL": Read timed out

Your response with an example would be very helpful. I wish to run my job from server but not from Studio.

TalendNoviceIam
Contributor
Contributor

We are also facing the same issue. I do not see any information on how to implement HTTP Conduit OSGi Configuration Parameters in real time when running from remote engines. Could you please attach some screenshots or give an overview of how to implement this?

anna_t1
Contributor III
Contributor III

I'm facing the exact same issue and it's very ahrd to reproduce. Sometimes it fails with Time out error with the exact same dataset, no more, no less! Is there a way to avoid this or provide an effective workaround for those who run it through script, not from Studio?

@Xiaodi Shi​ can you provide some further detail on this please? Since we're all facing same issues ... Thank you.

anna_t1
Contributor III
Contributor III

I don't understand this and really, it seems no one can. I don't have a TalendRuntTime like this, so does this apply to all of the cases? Can you explain further or maybe provide an example???

y1h2n
Contributor
Contributor

Hello,

Same problem here on TOS for Data Integration. How set up "received time out" parameter on runtime ? Could you provide an example ?

Thank you.

Anonymous
Not applicable
Author

Hello @Yohann GOIBIER​ 

We are supposing that you have checked the component reference about:

https://help.talend.com/r/en-US/8.0/esb-rest/trestclient-standard-properties

Receive timeout option works similarly to the Connection timeout option. For how to use it after the component is deployed in Talend Runtime, see the Connection timeout option.

Hope it helps.

Best regards

Sabrina