SAP Knowledge Base Article - Public

3084008 - SAP Analytics Cloud cannot connect to SAC agent

Symptom

  • SAP Analytics Cloud cannot connect to SAC agent.
  • When click Check Configuration in Data Source Configuration, below error outputted.
    Failed to call SAP Analytics Cloud agent. Please contact your administrator to ensure that SAP Analytics Cloud agent is running, configured correctly and is reachable from the SAP Cloud Platform Cloud Connector. HTTP Status: 502, Action: Check version.
  • In Trace, error outputted.
    Failed to call SAP Analytics Cloud agent. Please contact your administrator to ensure that SAP Analytics Cloud agent is running, configured correctly and is reachable from the SAP Cloud Platform Cloud Connector. HTTP Status: 502, Action: Check version.
    Invalid server certificate.
    Please ensure the SAP Analytics Cloud agent has been configured.
  • In cloud connector ljs_trace.log, error like
    YYYY-MM-DD HH:MM:SS,XXX +0000#DEBUG#com.sap.core.connectivity.protocol.http.handlers.HttpRequestStateHandler#tunnel-client-48-8#0x0b080a6c#Http error occurred, switching state to STARTING
    YYYY-MM-DD HH:MM:SS,XXX +0000#DEBUG#com.sap.core.connectivity.spi.processing.OutboundConnectionErrorHandler#tunnel-client-48-8#0x0b080a6c#Protocol processing error:
    com.sap.core.connectivity.protocol.http.handlers.HttpProtocolException: Invalid server certificate
     at com.sap.core.connectivity.protocol.http.handlers.HttpProtocolClientCodec.exceptionCaught(HttpProtocolClientCodec.java:81)
     ......
  • In cloud connector, C4Agent can be reachable.

Environment

  • SAP Analytics Cloud

Reproducing the Issue

  1. Login SAC.
  2. Click System.
  3. Click Administration.
  4. Click Data Source Configuration.
  5. In On-premise data sources, click Check Configuration.
  6. Error outputted.
    Failed to call SAP Analytics Cloud agent. Please contact your administrator to ensure that SAP Analytics Cloud agent is running, configured correctly and is reachable from the SAP Cloud Platform Cloud Connector. HTTP Status: 502, Action: Check version.

Cause

The certificate's subject of SAC Agent SSL is hostname, but in SCC, the internal host is maintained with localhost.

Resolution

Change Internal Host form localhost to the same with certificate's subject.

See Also

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

Keywords

could not, connection, failed, reach , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem

Product

SAP Analytics Cloud 1.0