Skip to content

Aspera CLI (v4.25.1) - Multiple command failures: initdemo, browse, and download #243

@gsk-work

Description

@gsk-work

Multiple Aspera CLI commands are failing or not working as expected on version 4.25.1 with IBM Aspera Transfer SDK 1.1.6.

Environment

  • OS: Linux
  • Ruby Version: 3.2.4 (2024-04-23 revision af471c0e01) [x86_64-linux]
  • Aspera CLI Version: 4.25.1
  • IBM Aspera Transfer SDK: 1.1.6
  • ascp Version: 4.4.6.2033 31ae48a
  • AES-NI: Supported

Issues Encountered

"ascli server browse /" - command failing with demoserver preset

  • Expected Behavior:
    • Should browse the root directory of the demo server.
  • Actual Behavior:
    • Command waiting at following line without any result (please find tail result of debug logs)
      DEBG URI=ssh://demo.asperasoft.com:33001, host=demo.asperasoft.com, port=33001, scheme=ssh
     DEBG SSH keys=[]
     DEBG ssh:aspera@demo.asperasoft.com
     DEBG ssh_options (json)=
     {
       "port": 33001,
       "password": "",
       "logger": "#<Logger:0x000071547bad89f0>",
       "verbose": "warn",
       "use_agent": false
     }
     DEBG execute_single:ls:["/"]
     DEBG cmd=ascmd
    

ascli shares files download - 401 Unauthorized Error

ascli shares files download \
  --url=https://<ASPERA_SERVER> \
  --username=<USERNAME> \
  --password=<PASSWORD> \
  /config.json \
  --insecure=yes
  • Expected Behavior:
    • File should download successfully with valid credentials.
  • Actual Behavior:
    • Authentication fails with 401 Unauthorized error.
  • Error Output:
    ERROR: Rest: <ASPERA_SERVER> 401 Unauthorized

Important Note:

I was able to login to Aspera Shares UI with the above credentials and successfully download files through the web interface. This confirms that:

  • The credentials are valid and working
  • The server is accessible and functioning properly
  • The issue appears to be specific to the CLI authentication mechanism

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions