You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-users@mina.apache.org by Jens Viebig <jv...@como.com> on 2008/08/28 13:21:58 UTC

Timeout Issue

Seems the M2-Version has a timeout issue or i configured something 
wrong. The control connection times out even if there is a data 
connection open and a transfer running.

For testing i set all timeout values to 10 seconds.

1. Open a connection to the ftp server
2. do some browsing to a directory
3. Start a file transfer with a big file
4. Control Connection times out after 10 seconds , Data transfer is 
still runnig fine and finishes Ok
5. Control Connection is gone after file transfer

Thats my config file. I have set very short timeout-values so it is easy 
to reproduce the error. You can also use bigger timeout values and a 
very big file to test.

<?xml version="1.0" encoding="UTF-8"?>
<server xmlns="http://mina.apache.org/ftpserver/spring/v1"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://mina.apache.org/ftpserver/spring/v1 
http://mina.apache.org/ftpserver/ftpserver-1.0.xsd"
        id="proxsys-ftpd"
        max-logins="100"
        anon-enabled="false"
        max-anon-logins="0"
        max-login-failures="3"
        login-failure-delay="500">
  <listeners>
                   <nio-listener name="default" port="21" idle-timeout="10">
                     <data-connection idle-timeout="10">
                              <active enabled="true"/>
                              <passive ports="1024-1032"/>
                           </data-connection>
                        </nio-listener>
                </listeners>
</server>

Re: Timeout Issue

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Thu, Aug 28, 2008 at 1:21 PM, Jens Viebig <jv...@como.com> wrote:
> Seems the M2-Version has a timeout issue or i configured something wrong.
> The control connection times out even if there is a data connection open and
> a transfer running.

Can you please open a JIRA issue for this and I will have a look?

/niklas