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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
re_weavers
Contributor II
Contributor II

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
Labels (4)
3 Replies
Anonymous
Not applicable

Hi,
Have you tried to configure timeout at the server side?
Best regards
Sabrina
Anonymous
Not applicable

Hi Sabrina,
Where is that timeout set? I am having a similar issue.
Thanks,
Eddie
Anonymous
Not applicable

Where is this config - also looking at this?