Error: Session Timeout During Ascp Transfers

If you attempt an ascp transfer over a network with high latency or to/from storage with slow read/write, you may receive a message similar to the following:

ERR Failed to receive Close Session, read timed out (errno=110) timeout:120, rsize=0

To increase the timeout, follow these steps:

  1. Open aspera.conf.
    /opt/aspera/etc/aspera.conf
  2. Add the following text to aspera.conf:
    <default>
         <session_timeout_sec>time</session_timeout_sec>
    </default>

    where time is the desired time in seconds before timeout. Save your changes.

  3. Validate aspera.conf by running the following command:
    $ /opt/aspera/bin/asuserdata -b -v -a