mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Reichenbach (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FTPSERVER-435) FTPClient - 3.0.1 - Randomly throwing connection timed out error during listfile / connect
Date Fri, 04 Mar 2016 20:49:40 GMT

    [ https://issues.apache.org/jira/browse/FTPSERVER-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15180518#comment-15180518
] 

Michael Reichenbach commented on FTPSERVER-435:
-----------------------------------------------

I know this ticket is old, but is there any progress on this? I'm maybe facing the same problem...
using apache commens net 3.4

> FTPClient - 3.0.1 - Randomly throwing connection timed out error during listfile / connect
> ------------------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-435
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-435
>             Project: FtpServer
>          Issue Type: Bug
>            Reporter: vijayan
>            Priority: Critical
>
> Previously we were using common-net-2.2 version and at sometimes we used to get FTPconnectionclosedexception.
This was resolved by upgrading to commons-net-3.0.1 version using control keep-alive timeout
feature. Now we are facing another issue in a random time interval in our production environment.
Most of the times it works fine but at time during ftpclient.listfiles /ftpclient.connect
call we are getting the connection timed out exception. Please see the exception stacktrace.
> java.net.ConnectException: Connection timed out
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
> 	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
> 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
> 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> 	at java.net.Socket.connect(Socket.java:529)
> 	at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:726)
> 	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2990)
> 	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2965)
> 	at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2685)
> ================================================================
> java.net.ConnectException: Connection timed out
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
> 	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
> 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
> 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> 	at java.net.Socket.connect(Socket.java:529)
> 	at org.apache.commons.net.SocketClient.connect(SocketClient.java:168)
> 	at org.apache.commons.net.SocketClient.connect(SocketClient.java:189)
> Neven seen / faced this kind of exception when using 2.2 version. This is been occurring
after the upgradation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message