You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Jens Viebig (JIRA)" <ji...@apache.org> on 2008/08/28 14:03:44 UTC

[jira] Created: (FTPSERVER-170) Ftpserver Control Connection times out while data transfer

Ftpserver Control Connection times out while data transfer
----------------------------------------------------------

                 Key: FTPSERVER-170
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-170
             Project: FtpServer
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0-M2
            Reporter: Jens Viebig


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>




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FTPSERVER-170) Ftpserver Control Connection times out while data transfer

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FTPSERVER-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Gustavsson updated FTPSERVER-170:
----------------------------------------

    Fix Version/s: 1.0-M4
         Assignee: Niklas Gustavsson

To be fixed i M4, patches welcome!

> Ftpserver Control Connection times out while data transfer
> ----------------------------------------------------------
>
>                 Key: FTPSERVER-170
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-170
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-M2, 1.0-M3
>            Reporter: Jens Viebig
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M4
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FTPSERVER-170) Ftpserver Control Connection times out while data transfer

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FTPSERVER-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Gustavsson closed FTPSERVER-170.
---------------------------------------

    Resolution: Fixed

Fixed in rev 709438. Also added a somewhat troubling test, hopefully it should work alright.

> Ftpserver Control Connection times out while data transfer
> ----------------------------------------------------------
>
>                 Key: FTPSERVER-170
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-170
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-M2, 1.0-M3
>            Reporter: Jens Viebig
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M4
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FTPSERVER-170) Ftpserver Control Connection times out while data transfer

Posted by "Jens Viebig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FTPSERVER-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Viebig updated FTPSERVER-170:
----------------------------------

    Affects Version/s: 1.0-M3

Still in 1.0-M3

> Ftpserver Control Connection times out while data transfer
> ----------------------------------------------------------
>
>                 Key: FTPSERVER-170
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-170
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-M2, 1.0-M3
>            Reporter: Jens Viebig
>
> 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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.