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. ...
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
After upgrading to AppSync 4.4, logging into the AppSync server from a remote CLI fails with the error:
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:
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.
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.
Products
AppSync, AppSyncArticle Properties
Article Number: 000196979
Article Type: Solution
Last Modified: 11 Aug 2022
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.