Five Stars

[resolved] Problems to use a tfile_fetch object

Hello! Could someone help me?,
I'm new in Talend and I'm trying to run an instance with the object and tFileFetch giving this error. I took a sample project that comes in the demo. See the error:
Starting job testeFileFetch at 13:39 30/03/2011.
connecting to socket on port 3887
connected
30/03/2011 13:39:29 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
30/03/2011 13:39:29 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
30/03/2011 13:39:30 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
30/03/2011 13:39:30 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
30/03/2011 13:39:31 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
30/03/2011 13:39:31 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Exception in component tFileFetch_1
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:139)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:124)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at dw_ietr_prd.testefilefetch_0_1.testeFileFetch.tFileFetch_1Process(testeFileFetch.java:1066)
at dw_ietr_prd.testefilefetch_0_1.testeFileFetch.runJobInTOS(testeFileFetch.java:3766)
at dw_ietr_prd.testefilefetch_0_1.testeFileFetch.main(testeFileFetch.java:3576)
disconnected
Job testeFileFetch ended at 13:39 30/03/2011.

Thanks,
Evando.
Evando Souza
1 ACCEPTED SOLUTION

Accepted Solutions
Five Stars

Re: [resolved] Problems to use a tfile_fetch object

Thanks!! the firewall was a problem!!
Evando Souza
5 REPLIES
Six Stars

Re: [resolved] Problems to use a tfile_fetch object

It cannot contact the remote host...
Five Stars

Re: [resolved] Problems to use a tfile_fetch object

It's strange, because when I paste the URL in browser I can access the file. I used the example demo of Talend for testing and is giving the error. The host is exactly the http://talendforge.org. I'll post the image:
Thanks,
Evando
Evando Souza
Six Stars

Re: [resolved] Problems to use a tfile_fetch object

- check firewalls/antivir or disable 'em
- check proxies
Five Stars

Re: [resolved] Problems to use a tfile_fetch object

Thanks!! the firewall was a problem!!
Evando Souza
One Star

Re: [resolved] Problems to use a tfile_fetch object

Hi evandodesouza,
could you please tell us what was the firewall change you had to do, I am facing the same problem