Error: Session timeout during ascp transfers

If you attempt an ascp transfer over a network with high latency or to or from storage with slow read or write, you might receive a timeout error message. You can increase the timeout to allow your transfers to complete.

About this task

The message is 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:

Procedure

  1. Run the following asconfigurator command:
    $ asconfigurator -x "set_node_data;session_timeout_sec,time"

    Where time is the wanted time in seconds before timeout. Which 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:

    /Library/Aspera/etc/aspera.conf