SAP Knowledge Base Article - Public

2739310 - Failed to call SAP Analytics Cloud agent... HTTP Status: 401, PATH: /deploymentInfo

Symptom

  • When trying to connect to your on-premise datasources in SAP Analytics Cloud (SAC), the error message below appears after entering your configuration details for your SAC agent:

FAILED TO CONNECT.jpg

Environment

SAP Analytics Cloud

Reproducing the Issue

  1. Install and configure the SAP Cloud Platform Cloud Connector and the SAP Analytics Cloud agent.
  2. Log into your SAC tenant.
  3. Go to: System > Administration > Datasource Configuration. Enter the cloud agent configuration details and then click "Check configuration".
  4. Error Message appears.

Cause

The username and password are case sensitive.

Resolution

  1. Go to: System > Administration > Datasource Configuration; In the "On-premise datasources" section, click on this icon: config opt.jpg (Configuration Options) and then select "Edit Location".
  2. Open the tomcat-users.xml file; this can be found at "<Your Drive>\.......\tomcat\conf\tomcat-users.xml ".
  3. Copy the username and password credentials from the tomcat-users.xml file into the "User Name" and "Password" boxes in the 'Edit Location' window in SAC. Please note that these credentials are CASE SENSITIVE so ensure that the upper and lower case letters remain as stated in the tomcat-users.xml file.
    • To locate the credentials for the Cloud Agent in the tomcat-users.xml file, please look for similar text that resemble the following:

CLOUD AGENT

username = <Your Cloud Agent username>

password = <Your Cloud Agent password>

    • Enter Credentials in SAC:

EDIT LOCATION.jpg

 

  1. Click "Create".
  2. Go to Configuration Options > Check Configuration.
  3. Notice the following message to indicate a successful connection: 

ca success.jpg

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, EPM-ODS, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics, tomcat , KBA , LOD-ANA-BI , Business Intelligence Functionality, Analytic Models , LOD-ANA-PL , Planning , LOD-ANA-BR , SAC Boardroom , LOD-ANA-PR , SAC Predictive , Problem

Product

SAP Analytics Cloud 1.0