Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.9k views
in Java FTP by (140 points)
Once in a while this error is thrown and the ftp is not successful. Any reason for this ?

ERROR com.businesswire.bobcat.ClientMessageProcessor [ClientMessageProcessorThread] 2013-10-08 11:08:41,103 - message="ERROR FROM NX CLIENT XXX@xxx.xxx.xxx.xx:xxxx: MESSAGE FROM CLIENT FOLLOWS: FATAL com.businesswire.nx.client.ftp.FTPOutputQueue [FTPOutputThread] 2013-10-08 13:06:00,308 - ERROR SENDING RELEASE VIA FTP. RELEASE FILE NAME: 20131008006619r1.xml
FTPPushException thrown.
With message: Could not create FTP Client.
Containing original exception: Read timed out
com.enterprisedt.net.ftp.ControlChannelIOException: Read timed out
at com.enterprisedt.net.ftp.FTPControlSocket.readLine(FTPControlSocket.java:1041)
at com.enterprisedt.net.ftp.FTPControlSocket.readReply(FTPControlSocket.java:1076)
at com.enterprisedt.net.ftp.FTPControlSocket.sendCommand(FTPControlSocket.java:1000)
at com.enterprisedt.net.ftp.FTPClient.password(FTPClient.java:1883)
at com.enterprisedt.net.ftp.FTPClient.login(FTPClient.java:1810)
at com.businesswire.nx.client.ftp.FTPClient.init(FTPClient.java:86)
at com.businesswire.nx.client.ftp.FTPManager.getFtpClient(FTPManager.java:199)
at com.businesswire.nx.client.ftp.FTPManager.sendStory(FTPManager.java:86)
at com.businesswire.nx.client.ftp.FTPOutputQueue.managedRun(FTPOutputQueue.java:72)
at bw.news.common.util.threads.ManagedThread.run(ManagedThread.java:92)
at java.lang.Thread.run(Thread.java:724)

at com.businesswire.nx.client.ftp.FTPClient.init(FTPClient.java:106)
at com.businesswire.nx.client.ftp.FTPManager.getFtpClient(FTPManager.java:199)
at com.businesswire.nx.client.ftp.FTPManager.sendStory(FTPManager.java:86)
at com.businesswire.nx.client.ftp.FTPOutputQueue.managedRun(FTPOutputQueue.java:72)
at bw.news.common.util.threads.ManagedThread.run(ManagedThread.java:92)
at java.lang.Thread.run(Thread.java:724)

Thanks :D

3 Answers

0 votes
by (162k points)
A good starting point is to set up logging to a log file as described here.. There's not really enough information in the stack trace other than to tell us there has been a timeout. If you also have access to the server logs they may contain additional information.
0 votes
by (140 points)
But I get a connection refused error all the time - the address and username and password are correct - verified using filezilla - but can't seem to get the code to connect - this code works fine if we use a key and pass the key into the setAuthentication - so I'm wondering if possibly this old version of edtFTPj-pro has a bug in it or if I'm doing something wrong - Any ideas
0 votes
by (162k points)
Post a snippet of the debug log (not too much, just the relevant portion).

Categories

...