多个api作业在组件tFileFetch_1中获得异常

时间:2019-07-17 10:04:21

标签: talend timeoutexception

我运行1个talend作业,同时有6个作业同时调用api。

有时全部可以成功运行全部6次,有时却失败,并显示此错误:

Exception in component tFileFetch_1
Exception in component tFileFetch_1
Exception in component tFileFetch_1
Exception in component tFileFetch_1
Exception in component tFileFetch_1
org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 1000 ms
    at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:154)
    at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:124)

从哪里获得"timeout of 1000 ms"

1 个答案:

答案 0 :(得分:1)

tFileFetch上有一个高级设置,可让您选择此组件的超时。尝试更大的价值。enter image description here