cancel
Showing results for 
Search instead for 
Did you mean: 

Connection Reset error

Former Member
0 Kudos

Hi Experts,

I am getting this error while connecting to PROD FTP server for picking a file.

Error occurred while connecting to the FTP server "XXX.XX.XXX.XX:21": java.net.SocketException: Connection reset

If i remove the file from the perticular folder , i am not getting this error ,. But as soon as I place the file at FTP it is again showing the same error.

Please help

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

You could also check note:

821267 FAQ: XI 3.0 / PI 7.0/ PI 7.1 File Adapter

26. FTP Connection Problems

o Q: I have configured a File Adapter channel to connect to an FTP

server, but receive one of the following error messages in the adapter monitor:

- Error connecting to ftp server '<hostname>': SocketException:

Connection reset

o A: This problem is either caused by incorrect firewall / packet

filter settings or an incorrect configuration of the FTP server.

Also make sure that you have correctly specified the host name /

IP address and port of the FTP server.

Changing the connection type from 'active' to 'passive' (or vice

versa) might additionally help to work around the incorrect

firewall configuration.

Regards,

Sarah

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi All ,

The IP address and login credentials were correct . I am able to ping the FTP server from my PI box

I also have changed the connnection from passive to active and changed the timeout seconds also ...but as soon as the file is coming at FTP the same error is repeating . The channel was polling the files properly by 10 AM today .

Please help

Former Member
0 Kudos

Hello,

Did you change the Timeout parameter that is in the communication channel, or the ftp.timeout parameter that is set uson the Advanced tab - Advanced Mode?

The note below contains details on the ftp.timeout parameter:

#849089 File Adapter: FTP Timeout Handling

Kind regards

Sarah

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>If i remove the file from the perticular folder , i am not getting this error ,.

Login credentials user/password is invalid. May be your password changed and trying with old password. Sometimes it will lock the user after frequent attempts. I'm not thinking firewall connection issue. Please check that too.

Former Member
0 Kudos

Try pinging your FTP sertver IP from your PI server to check the connectivity. If connectvity is fine then cross check if your USER and PASSWORD given in Your communication channel if correct.