Symptom
When trying to access "http://<ip_address>:<port_number>/C4A_AGENT/deploymentInfo/" from a remote machine, the below error occurs:
"http status 401- Unauthorized"
Environment
SAP Analytics Cloud
Reproducing the Issue
- Install and configure the SAP cloud connector.
- Install the cloud agent.
- Try to access http://<ip_address>:<port_number>/C4A_AGENT/deploymentInfo/ from a remote machine
>>Notice the error: "http status 401- Unauthorized"
Cause
Remote access to tomcat is not allowed.
Resolution
Comment the Valve tag in the "/webapps/manager/META-INF/context.xml" file as following:
<Context antiResourceLocking="false" privileged="true" >
<!--<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />-->
</Context>
Keywords
Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics, Issue, sapanalyticscloud, sap analytical cloud, sap analytical cloud , KBA , LOD-ANA-AUT , SAC Authentication / Login , Problem