AppSync: Remote CLI logins fail after upgrading to AppSync 4.4

Summary: After upgrading to AppSync 4.4, logging into the AppSync server from a remote CLI fails with the error: ERROR: Failed to authenticate USERNAME. This affects manual login and scripted login when using the AppSync CLI. ...

Αυτό το άρθρο ισχύει για Αυτό το άρθρο δεν ισχύει για Αυτό το άρθρο δεν συνδέεται με κάποιο συγκεκριμένο προϊόν. Δεν προσδιορίζονται όλες οι εκδόσεις προϊόντων σε αυτό το άρθρο.

Symptoms

After upgrading to AppSync 4.4, logging into the AppSync server from a remote CLI fails with the error:
ERROR: Failed to authenticate USERNAME

This affects the CLI where a user is actively logging in and also scripts that log in to the AppSync server.

Logging into AppSync from the default CLI location on the AppSync server does work. The default location on the AppSync Server is:
C:\EMC\AppSync\appsync-cli

Cause

The upgraded CLI on the AppSync Server was not properly copied to the remote host where the remote CLI host is. See Chapter 3 of the AppSync 4.4 User and Administration Guide.

Resolution

The remote CLI should be updated using the steps that are outlined in the AppSync 4.4 User and Administration Guide, under Chapter 3: AppSync CLI Utility on page 22 (extract below). 
 
AppSync CLI Utility
The AppSync CLI is a utility that is packaged with AppSync and is used for scripting or running tasks through a command-line interface.
The AppSync CLI is installed in the EMC\AppSync\appsync-cli directory. You can run it on Windows with the file appsync-cli.bat.

If you want to use the AppSync CLI from UNIX, follow the below steps:
1. Copy <Install location>\EMC\AppSync\appsync-cli directory to the UNIX host.
2. Run dos2unix appsync-cli.sh.
3. Provide execute permission with chmod +x appsync-cli.sh. Now you can use appsync-cli.sh to perform all CLI
tasks.

 
Pre-requisites
  • Java Runtime Environment (JRE) version 11 - must be installed and available in path.
  • OpenJDK Runtime Environment 18.9 (build 11.0.13+8).
  • Configured AppSync installation with registered resources
  • Discovered applications on registered hosts
  • Configured service plans
  • If you are using the CLI on a non-English host, ensure that you set the correct code page before execution. To set the code page, use chcp on the command prompt.

Προϊόντα

AppSync, AppSync
Ιδιότητες άρθρου
Article Number: 000196979
Article Type: Solution
Τελευταία τροποποίηση: 13 Μαΐ 2026
Version:  4
Βρείτε απαντήσεις στις ερωτήσεις σας από άλλους χρήστες της Dell
Υπηρεσίες υποστήριξης
Ελέγξτε αν η συσκευή σας καλύπτεται από τις Υπηρεσίες υποστήριξης.