Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-170

Ftpserver Control Connection times out while data transfer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-M2, 1.0.0-M3
    • 1.0.0-M4
    • Core
    • None

    Description

      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>

      Attachments

        Activity

          People

            niklas Niklas Therning
            jsurf Jens Viebig
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: