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. Run the following asconfigurator command:
    > asconfigurator -x "set_node_data;session_timeout_sec,time"

    where time is the desired time in seconds before timeout. This creates the following text in aspera.conf:

    <default>
         <session_timeout_sec>time</session_timeout_sec>
    </default>
  2. Alternatively, manually edit aspera.conf.

    The aspera.conf configuration file is in the following location:

    C:\Program Files (x86)\Aspera\Enterprise Server\etc\aspera.conf