AppSync: l'accesso remoto alla CLI non riesce dopo l'aggiornamento ad AppSync 4.4

Summary: dopo l'aggiornamento ad AppSync 4.4, l'accesso al server AppSync da una CLI remota non riesce con errore: ERROR: Failed to authenticate USERNAME. L'errore impedisce l'accesso manuale e l'accesso basato su script quando si utilizza la CLI di AppSync. ...

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

Symptoms

dopo l'aggiornamento ad AppSync 4.4, l'accesso al server AppSync da una CLI remota non riesce con errore:
ERROR: Failed to authenticate USERNAME

L'errore interessa la CLI a cui un utente accede attivamente e gli script che accedono al server AppSync.

L'accesso ad AppSync dal percorso CLI predefinito sul server AppSync funziona. Il percorso predefinito su AppSync Server è:
C:\EMC\AppSync\appsync-cli

Cause

La CLI aggiornata sul server AppSync non è stata copiata correttamente sull'host remoto su cui si trova l'host CLI remoto. Vedere il capitolo 3 della AppSync 4.4 User and Administration Guide.

Resolution

La CLI remota deve essere aggiornata utilizzando la procedura descritta nella AppSync 4.4 User and Administration Guide, nel Capitolo 3: AppSync CLI Utility a pagina 22 (un estratto del capitolo è riportato di seguito). 
 
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 \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.

 
Prerequisiti
  • 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
Υπηρεσίες υποστήριξης
Ελέγξτε αν η συσκευή σας καλύπτεται από τις Υπηρεσίες υποστήριξης.