Symptom
- The following error occurs in SAP Analytics Cloud (SAC):
- Code: SERVER_ERROR_500
Message: Failed to call SAP Analytic Cloud agent. Please contact your administrator to ensure that SAP Analytics Cloud agent is running, is configured correctly, and is reachable from the SAP HANA Cloud Connector. HTTP Status: /deploymentinfo - Stack starts with:
Exception@/sap/fpa/services/core/system/Exception.xsjslib:105
- Trying to connect to a Universe in SAP BusinessObjects Business Intelligence (BI) throws SERVER_ERROR_500: Message Failed to call remote system on /service/api/epm/proxy by Agent HCPService; Reason: JSON.parse: unexpected character
- Stack starts with: Message: Exception@/sap/fpa/services/core/system/Exception.xsjslib:106
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
- SAP Analytics Cloud
- SAP Analytics Cloud Agent Simple Deployment Kit (recommended)
- SAP Cloud Connector (latest)
- SAP Analytics Cloud Agent
Reproducing the Issue
- Configure the SAP Cloud Platform Cloud Connector (SCC, formerly known as the SAP HANA Cloud Connector) and the SAP Analytics Cloud agent for accessing on-premise data per SAP Analytics Cloud Agent Simple Deployment Kit
- Connect to your SAP Analytics Cloud tenant.
- Create a Connection to an on premise data source such as SAP Business Warehouse.
- Notice the error.
Cause
This could be caused by several different reasons when misconfiguring the SAP Analytics Cloud Agent and SAP Cloud Connector. For example:
- Internal Host and Port defined in the SAP Cloud Platform Cloud Connector (SCC) mapping does not exist or not reachable.
- If you are getting the HTTP Status:403. PATH :/deploymentinfo likely the Cloud Connector has been configured via the Cloud Connector using another machine and same user or account.
- Accessible resource or the Access policy under the mapping in the SAP Cloud Connector is not defined correctly.
Resolution
How to test whether the SAP Analytics Cloud Agent has been successfully deployed on Tomcat:
- Verify that the Internal Host and Internal Port used in the SCC are accessible from the machine running it.
- If Tomcat and SCC are running on the same server, use localhost:8080.
- Verify that the user configured in the tomcat-users.xml file can access http://<TomcatHost>:<TomcatPort>/manager/status using that user created.
- If you get a 403 Access Denied it means that your user is authenticated but it doesn't have access to the status page. The tomcat-users.xml file must be verified!
- Double check that there is no error in the syntax or the given user/password combination and services are not commented out!
- If you copied and pasted the line "<user username="c4agent"..." it is possible that the double quote character is incorrect. Edit the file directly with rich-text editor in your Operating System.
- Make sure that the port used for the Internal and Virtual Hosts are accessible and the server is listening.
- Status icons under the mapping are shown as green.
- Make sure that the SAP Cloud Connector is not configured twice using the same user or account
- Consider deploying the latest available version of the SAP Analytics Cloud Agent:
- Identify the version by accessing the URL with the given user in the tomcat-users.xml: http://<TomcatHost>:<TomcatPort>/C4A_AGENT/deploymentInfo
For even more help refer to:
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening an case for SAP Analytics Cloud?
- SAP Analytics Cloud > Learning > Guided Playlists
- SAP Analytics Cloud > Learning > Guided Playlists > Getting Support
- Need More Help? Contact Support or visit the solution finder today!
Your feedback is important to help us improve our knowledge base.
Keywords
SERVER_ERROR_500, SAP Cloud Agent, agent, analytics, cloud, SAC, cloud agent, hana cloud connector, hcc , LOD-ANA, data aquisition, SAP Analytics Cloud , KBA , c4agent not being deployed c4 agent not , c4 agent not being deployed , unable to connect to sac using cloud age , to connect to sac using cloud agent , cloud agent , server_error_500 , hana cloud connector , hcc , c4a_agent , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , How To