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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
anaolive
Contributor
Contributor

Inconsistent connection behaviour using tRestClient

Hi,

I'm facing an odd issue using tRestClient to perform an api get request.

First time I run the job after opening Talend studio is work fine return the expected api response, however any subsequent run it fails with "java.net.ConnectException: Connection refused: connect".

If I close and open studio again, load the job and run it it works again but just for the first time.

I tried the same requesi via postman several times and works fine.

Has anyone come across same issue?

Any help would be much appreciated.

Labels (3)
1 Reply
Prakhar1
Creator III
Creator III

Check for the timeout setting in the Advanced Setting option.

 

Connection Timeout : Set the amount of time, in seconds, that the client will attempt to establish a connection before it times out. If set to 0, the client will continue to attempt to open a connection indefinitely. (default: 30)

 

Receive Timeout : Set the amount of time, in seconds, that the client will wait for a response before it times out. If set to 0, the client will wait indefinitely. (default: 60 )