Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Zurich on Sept 24th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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.
0683p000009MBDw.png
Labels (4)
4 Replies
Anonymous
Not applicable
Author

Hi,
Could you please try to use tRestClient with Connection timeout and Receive timeout options to see if your job works?
Best regards
Sabrina
0683p000009MBE1.png
Anonymous
Not applicable
Author

@xdshi 

 

I have tried with tRestClien and increased the timeout and it does not work

 

I am having issues passing global variable into the component.

It looks like it reads the component but errors on the response

<title>ERROR: The requested URL could not be retrieved</title>

 


JObDesign.PNG
Anonymous
Not applicable
Author

Hello,

Here is a solution in this topic:https://community.talend.com/t5/Design-and-Development/ESB-tRestClient/m-p/202958 

Best regards

Sabrina

Anonymous
Not applicable
Author

@xdshi 

 

Thank you, yeah its the Proxy for one of the talend jobserver.