| ascp4: Transferring from the Command Line with Ascp 4 |
158
en0
) to receive and send the multicast streams, we must set the interface receiving and sending the multicast streams
as the server default interface.
Run the following command on
a4_1
:
# route delete default 10.215.0.1
# route add default 10.215.0.1
Run the following command on
a4_2
:
# route delete default 10.216.0.1
# route add default 10.216.0.1
Note:
The interface IP addresses
10.215.0.1
and
10.216.0.1
routes are the primary gateways and route all
10.215.0.*
and
10.216.0.*
traffic, respectively.
Troubleshooting Stream Transfers
Multicast Transfer Fails with "Error: Empty file list from file/stdin"
This error might indicate that the transfer user has a docroot set in
aspera.conf
, which is not supported for
multicast-to-multicast transfers.
The transfer user who authenticates the multicast-to-multicast data stream transfer must have no docroot configured
in
aspera.conf
. A file restriction can be set instead to restrict access.
Run the following command to unset a docroot and set a file restriction:
# asconfigurator -x
"set_user_data;user_name,
username
;absolute,AS_NULL;file_restriction,|
restriction
"
The restriction can be set to allow all access (*) or limited by protocol, hostname or path:
Restriction
Format Example
By protocol
udp://*
tcp://*
By protocol and hostname
udp://hostname*
By protocol, hostname, and port
tcp://hostname:5000*
Transfer from macOS Fails
To diagnose the problem, re-run the stream transfer with the logging level set to debug by adding
-DD
to the
command. After the transfer fails, open the log file (
homedir
/Library/Logs/Aspera/
) and search for an
ERR
response.
ERR udp_io_open: failed to set rcvbugsz=10485760 (e=55)(ENOBUFS)
This error indicates that the socket buffer size on the Mac computer is too small to send or receive UDP packets. To
increase the socket buffer size, specify a large buffer size by adding the following parameters to the URL:
url
/?rcvbufsz=4000000&sndbufsz=4000000
With these parameters, a transfer to and from a Mac computer is written similar to the following example:
# ascp4 -DD -m 12m -l 15m --mode send --host 10.13.117.12 --
user root --read-threads 1 --write-threads 1 --compression none