- Failed to connect to system when using reverse proxy to create live data connection to remote HANA system in SAP Analytics Cloud
- Google Chrome Developer Tools shows:
The server refused to fulfill the request
- SAP Analytics Cloud
Reproducing the Issue
- Connect to SAP Analytics Cloud tenant
- Create a "Live Data Connection" > "SAP HANA"
- Choose "Path" as "Connection Type", and fill in the path of HANA system configured at httpd.conf file of Apache reverse proxy, and other required information
- Click OK
- You get the error "Failed to connect to system"
HANA restricts usage to particular origin hosts to make it more secure. The URL of Apache reverse proxy server is not included in the list defined at "allowOrigin" section under "cors" in .xsassess at the targeted remote HANA system.
- Go to targeted remote HANA system's IDE Editor
- Log on
- Expand sap > bc > ina >service > v2
- Click .xsaccess
- Locate "allowOrigin" section under "cors" and add the URL of Apache reverse proxy server.
*Note: If you test the dispatcher rules for the remote HANA system by opening the following URL: https://<Apache Web Host>/<PATH>/sap/bc/ina/service/v2/GetServerInfo, it successfully returns the JSON response.
- Help resources
- Help portal
- SAP Community ( Questions & Answers / Direct Link to Create Question / Blogs )
- SAP community wiki
- Ideaplace forum ( for enhancement requests & new features )
- Video tutorials
- Videos by topic areas: ( Overview, What's New, Models and Connections, Stories, SAP Digital Boardroom, Planning, Predictive, Collaboration, Administration )
- Training events
- Past event recordings
- New user handbook
- How to connect to on-premise data
- Introducing SAP BusinessObjects Cloud: BI and Planning (SAP Press book)
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.
SERVER_ERROR_500, SAP Cloud for Planning, cloudforplanning, Cloud for Analytics, C4P, Cloud 4 Planning, HCP, C4A, BOC, SAP BusinessObjects Cloud, bobj, BW, ERP, UNX, SAP Analytics Cloud , 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