Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear Folks,
I came across an issue with tRest Component when trying to call an API with method type Post. Its working fine for upto some 100 or 120 calls after it reaches more than 120 its failed with the Error, Sometimes for only few requests (3 to 4 calls) it gets failed with the following Error:
com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out.
The Given below is the Settings in the tRest Component:
Http Body:
java.net.URLEncoder.encode("{\"loc\":\""+((String)globalMap.get("API_Generation.Location"))+"\"}","UTF-8")
Here am attaching the Screen-Shots of the Settings for the reference. Talend Version is Talend Open Studio for Big Data 7.1.1 , DB is MongoDB and Java 1.8
Thanks,
skh
There is probably something with the web service that it is getting overloaded and cannot service more requests so it doesn't return any data to some calls. Then your client gets a time out exception like you are seeing.