Module: Aspera::Fasp

Defined in:
lib/aspera/fasp/aoc.rb,
lib/aspera/fasp/uri.rb,
lib/aspera/fasp/node.rb,
lib/aspera/fasp/error.rb,
lib/aspera/fasp/local.rb,
lib/aspera/fasp/connect.rb,
lib/aspera/fasp/http_gw.rb,
lib/aspera/fasp/manager.rb,
lib/aspera/fasp/listener.rb,
lib/aspera/fasp/error_info.rb,
lib/aspera/fasp/parameters.rb,
lib/aspera/fasp/installation.rb,
lib/aspera/fasp/resume_policy.rb

Defined Under Namespace

Classes: Aoc, Connect, Error, HttpGW, Installation, Listener, Local, Manager, Node, Parameters, ResumePolicy, Uri

Constant Summary collapse

ACCESS_KEY_TRANSFER_USER =

(public) default transfer username for access key based transfers

'xfer'
ERROR_INFO =

from www.google.com/search?q=FASP+error+codes Note that the fact that an error is retryable is not internally defined by protocol, it’s client responsibility

{
  # id    retryable mnemo                      message                                             additional info
  1 =>  { r: false , c: 'FASP_PROTO',            m: 'Generic fasp(tm) protocol error',                a: 'fasp(tm) error'},
  2 =>  { r: false , c: 'ASCP',                  m: 'Generic SCP error',                              a: 'ASCP error'},
  3 =>  { r: false , c: 'AMBIGUOUS_TARGET',      m: 'Target incorrectly specified',                   a: 'Ambiguous target'},
  4 =>  { r: false , c: 'NO_SUCH_FILE',          m: 'No such file or directory',                      a: 'No such file or directory'},
  5 =>  { r: false , c: 'NO_PERMS',              m: 'Insufficient permission to read or write',       a: 'Insufficient permissions'},
  6 =>  { r: false , c: 'NOT_DIR',               m: 'Target is not a directory',                      a: 'Target must be a directory'},
  7 =>  { r: false , c: 'IS_DIR',                m: 'File is a directory - expected regular file',    a: 'Expected regular file'},
  8 =>  { r: false , c: 'USAGE',                 m: 'Incorrect usage of scp command',                 a: 'Incorrect usage of Aspera scp command'},
  9 =>  { r: false , c: 'LIC_DUP',               m: 'Duplicate license',                              a: 'Duplicate license'},
  10 => { r: false , c: 'LIC_RATE_EXCEEDED',     m: 'Rate exceeds the cap imposed by license',        a: 'Rate exceeds cap imposed by license'},
  11 => { r: false , c: 'INTERNAL_ERROR',        m: 'Internal error (unexpected error)',              a: 'Internal error'},
  12 => { r: true  , c: 'TRANSFER_ERROR',        m: 'Error establishing control connection',          a: 'Error establishing SSH connection (check SSH port and firewall)'},
  13 => { r: true  , c: 'TRANSFER_TIMEOUT',      m: 'Timeout establishing control connection',        a: 'Timeout establishing SSH connection (check SSH port and firewall)'},
  14 => { r: true  , c: 'CONNECTION_ERROR',      m: 'Error establishing data connection',             a: 'Error establishing UDP connection (check UDP port and firewall)'},
  15 => { r: true  , c: 'CONNECTION_TIMEOUT',    m: 'Timeout establishing data connection',           a: 'Timeout establishing UDP connection (check UDP port and firewall)'},
  16 => { r: true  , c: 'CONNECTION_LOST',       m: 'Connection lost',                                a: 'Connection lost'},
  17 => { r: true  , c: 'RCVR_SEND_ERROR',       m: 'Receiver fails to send feedback',                a: 'Network failure (receiver can\'t send feedback)'},
  18 => { r: true  , c: 'RCVR_RECV_ERROR',       m: 'Receiver fails to receive data packets',         a: 'Network failure (receiver can\'t receive UDP data)'},
  19 => { r: false , c: 'AUTH',                  m: 'Authentication failure',                         a: 'Authentication failure'},
  20 => { r: false , c: 'NOTHING',               m: 'Nothing to transfer',                            a: 'Nothing to transfer'},
  21 => { r: false , c: 'NOT_REGULAR',           m: 'Not a regular file (special file)',              a: 'Not a regular file'},
  22 => { r: false , c: 'FILE_TABLE_OVR',        m: 'File table overflow',                            a: 'File table overflow'},
  23 => { r: true  , c: 'TOO_MANY_FILES',        m: 'Too many files open',                            a: 'Too many files open'},
  24 => { r: false , c: 'FILE_TOO_BIG',          m: 'File too big for file system',                   a: 'File too big for filesystem'},
  25 => { r: false , c: 'NO_SPACE_LEFT',         m: 'No space left on disk',                          a: 'No space left on disk'},
  26 => { r: false , c: 'READ_ONLY_FS',          m: 'Read only file system',                          a: 'Read only filesystem'},
  27 => { r: false , c: 'SOME_FILE_ERRS',        m: 'Some individual files failed',                   a: 'One or more files failed'},
  28 => { r: false , c: 'USER_CANCEL',           m: 'Cancelled by user',                              a: 'Cancelled by user'},
  29 => { r: false , c: 'LIC_NOLIC',             m: 'License not found or unable to access',          a: 'Unable to access license info'},
  30 => { r: false , c: 'LIC_EXPIRED',           m: 'License expired',                                a: 'License expired'},
  31 => { r: false , c: 'SOCK_SETUP',            m: 'Unable to setup socket (create, bind, etc ...)', a: 'Unable to set up socket'},
  32 => { r: true  , c: 'OUT_OF_MEMORY',         m: 'Out of memory, unable to allocate',              a: 'Out of memory'},
  33 => { r: true  , c: 'THREAD_SPAWN',          m: 'Can\'t spawn thread',                            a: 'Unable to spawn thread'},
  34 => { r: false , c: 'UNAUTHORIZED',          m: 'Unauthorized by external auth server',           a: 'Unauthorized'},
  35 => { r: true  , c: 'DISK_READ',             m: 'Error reading source file from disk',            a: 'Disk read error'},
  36 => { r: true  , c: 'DISK_WRITE',            m: 'Error writing to disk',                          a: 'Disk write error'},
  37 => { r: true  , c: 'AUTHORIZATION',         m: 'Used interchangeably with ERR_UNAUTHORIZED',     a: 'Authorization failure'},
  38 => { r: false , c: 'LIC_ILLEGAL',           m: 'Operation not permitted by license',             a: 'Operation not permitted by license'},
  39 => { r: true  , c: 'PEER_ABORTED_SESSION',  m: 'Remote peer terminated session',                 a: 'Peer aborted session'},
  40 => { r: true  , c: 'DATA_TRANSFER_TIMEOUT', m: 'Transfer stalled, timed out',                    a: 'Data transfer stalled, timed out'},
  41 => { r: false , c: 'BAD_PATH',              m: 'Path violates docroot containment',              a: 'File location is outside \'docroot\' hierarchy'},
  42 => { r: false , c: 'ALREADY_EXISTS',        m: 'File or directory already exists',               a: 'File or directory already exists'},
  43 => { r: false , c: 'STAT_FAILS',            m: 'Cannot stat file',                               a: 'Cannot collect details about file or directory'},
  44 => { r: true  , c: 'PMTU_BRTT_ERROR',       m: 'UDP session initiation fatal error',             a: 'UDP session initiation fatal error'},
  45 => { r: true  , c: 'BWMEAS_ERROR',          m: 'Bandwidth measurement fatal error',              a: 'Bandwidth measurement fatal error'},
  46 => { r: false , c: 'VLINK_ERROR',           m: 'Virtual link error',                             a: 'Virtual link error'},
  47 => { r: false , c: 'CONNECTION_ERROR_HTTP', m: 'Error establishing HTTP connection',             a: 'Error establishing HTTP connection (check HTTP port and firewall)'},
  48 => { r: false , c: 'FILE_ENCRYPTION_ERROR', m: 'File encryption error, e.g. corrupt file',       a: 'File encryption/decryption error, e.g. corrupt file'},
  49 => { r: false , c: 'FILE_DECRYPTION_PASS',  m: 'File encryption/decryption error, e.g. corrupt file', a: 'File decryption error, bad passphrase'},
  50 => { r: false , c: 'BAD_CONFIGURATION',     m: 'Aspera.conf contains invalid data and was rejected',  a: 'Invalid configuration'},
  51 => { r: false , c: 'UNDEFINED',             m: 'Should never happen, report to Aspera',          a: 'Undefined error'},
}