Error: Failed to connect to system

Creating a direct live data connection results in the error Failed to connect to system.

Follow these troubleshooting steps to verify the configuration of your live data connections.
Error Message Troubleshooting Steps
  • Failed to connect to system. Possible causes: SSL certificate untrusted, network error.
  • Failed to connect to system. Please contact your administrator to check possible causes: SSL certificate untrusted, network error.
  1. Check that the HTTPS certificate used by your data source is trusted.

    Open a new browser tab and connect directly to the data source. For example, for SAP HANA you can use: https://<xs-host:port>/sap/bc/ina/service/v2/GetServerInfo and verify if the certificate is automatically trusted or warnings are displayed. For more information, see KBA 2482807.

  2. Check that the system you are trying to connect to is online, and that your host address and port are correct.
  • Failed to connect to system. Possible causes: CORS settings, incorrect credentials.
  • Failed to connect to system. Please contact your administrator to check possible causes: CORS settings, incorrect credentials.
  1. Check that authentication is correctly configured.

    For example, you may have selected SAML SSO authentication, but the current SAP Analytics Cloud user does not exist in the system you are connecting to.

    Also verify that when you open SAP HANA or SAP S/4HANA, you are not prompted for new authentication credentials. For notes on how do this, see Live Data Connection to BTP with SSO.

  2. Check that CORS is correctly configured.

    After verifying the two previous steps, you may still have problems if the backend CORS configuration is incorrect. To verify the configuration is incorrect, you can open your Chrome Developer Tools and check that the console shows an error similar to the following: "https:// <xs-host:port>/sap/bc/ina/service/v2/GetServerInfo?timestamp=1507241400382: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://yoursapanalytics.cloud' is therefore not allowed access."

    If this error appears, it means that your data source has incorrect CORS settings and the request to allow your SAP Analytics Cloud tenant to get data is rejected.

  • Failed to connect to system. Possible causes: CORS settings, third-party cookies blocked.
  • Failed to connect to system. Please contact your administrator to check possible causes: CORS settings, third-party cookies blocked.
  1. Make sure that your browser is not blocking third-party cookies.

  2. Check that CORS is correctly configured.

    After verifying the two previous steps, you may still have problems if the backend CORS configuration is incorrect. To verify the configuration is incorrect, you can open your Chrome Developer Tools and check that the console shows an error similar to the following: "https:// <xs-host:port>/sap/bc/ina/service/v2/GetServerInfo?timestamp=1507241400382: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://yoursapanalytics.cloud' is therefore not allowed access."

    If this error appears, it means that your data source has incorrect CORS settings and the request to allow your SAP Analytics Cloud tenant to get data is rejected.

  • Failed to connect to system. More information can be found on the troubleshooting page.
  • Failed to connect to system. Please contact your administrator to check possible causes.
Please ask your SAP Analytics Cloud administrator to investigate possible causes. For more information, see Contact an Admin for Support.