SAP Knowledge Base Article - Public

2522684 - Failed to execute 'send' on 'XMLHttpRequest' in SAP Analytics Cloud (BOC)

Symptom

Firefly Error: Error [IOLayer]: (#1005) Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://<BI Platform Host>:8443/sap/boc/ina/GetServerInfo?timestamp=<#############>'. in SAP Analytics Cloud (formerly known as SAP BusinessObjects Cloud / BOC)

OrcaLUCCORS.png

Environment

  • SAP Analytics Cloud 2017.16.0
  • SAP BusinessObjects Business Intelligence platform 4.2 SP4
  • SAP BOE LIVE DATA CONNECT 1.0.0 and 1.0.1

Reproducing the Issue

    1. Connecto to SAP Analytics Cloud tenant
    2. Create a "Live Data Connection > SAP Universe" connection with Connection Type = "Direct"
    3. From the Main Menu click "Create > Model"
    4. Choose the "Live Data Connection > SAP Universe" connection with Connection Type = "Direct"
    5. Notice the error

    Cause

    SAP Analytics Cloud 2017.16.0 requires "x-boe-session-token" in "<Tomcat dir>/webapps/cs_ina_agent/WEB-INF/web.xml"

    Resolution

    Workaround

    1. Edit "<Tomcat dir>/webapps/cs_ina_agent/WEB-INF/web.xml"
    2. Edit "<param-name>cors.allowed.headers</param-name>" to add ", x-boe-session-token" to <param-value>x-csrf-token, x-sap-cid, content-type, authorization, accept, x-request-with, x-boe-session-token</param-value>
    3. Edit "<param-name>cors.exposed.headers</param-name>" to add ", x-boe-session-token" to <param-value>x-csrf-token, x-sap-cid, content-type, authorization, accept, x-request-with, x-boe-session-token</param-value>
    4. Save <Tomcat dir>/webapps/cs_ina_agent/WEB-INF/web.xml
    5. Restart Tomcat

    Solution

    Install SAP BOE LIVE DATA CONNECT 1.0.2 when available

    See Also

    Your feedback is important to help us improve our knowledge base.
    Please rate how useful you found this article by using the star rating feature at the beginning of this article.
    Thank you.

    Keywords

    EPM, SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Hana Cloud for Planning, EPM-ODS, Cloud for Analytics, C4P, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, HCP, C4A, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJ, BOBJcloud, BOCloud., BICloud, BO Cloud, connecting, conecting, conectando, conexão, modelo, SBOC, SAC, SAP BusinessObjects Cloud, Business Objects, SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics, Live, Universe, Connectivity, LUC, Connector, Connection , KBA , LOD-ANA , SAP Analytics Cloud , LOD-ANA-BI , SAP Analytics Cloud - Business Intelligence (BOC) , LOD-ANA-PL , SAP Analytics Cloud – Planning (BOC) , LOD-ANA-BR , SAP Analytics Cloud - Digital Boardroom , LOD-ANA-PR , SAP Analytics Cloud – Predictive (BOC) , Problem

    Product

    SAP Analytics Cloud 1.0