SAP Knowledge Base Article - Preview

2916057 - Refused to connect error when opening apps on cFLP

Symptom

  • A "cppcf.authentication.<datacenter>.hana.ondemand.com refused to connect" error is displayed when opening applications on the Central Fiori Launchpad (Cloud Portal service on Cloud Foundry)

refused_to_connect.png

  • Checking the network traces, it is possible to see a 500 Internal Server Error to https://cppcf.authentication.<datacenter>.hana.ondemand.com/<path>.

  • The below errors are also displayed on the console:
    • Refused to display 'https://cppcf.authentication.<datacenter>.hana.ondemand.com/...' in a frame because it set 'X-Frame-Options' to 'deny'.
    • Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://cppcf-sapdelim-<destination>.cpp.cfapps.<datacenter>.hana.ondemand.com') does not match the recipient window's origin ('null').
  • Checking the HTTP trace in HttpWatch Studio you will find the net::ERR_BLOCKED_BY_RESPONSE.

    ERR BLOCKED BY RESPONSE.png

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • SAP Business Technology Platform
  • Central Fiori Launchpad (cFLP)
  • SAP Cloud Foundry Portal Service
  • SAP Cloud Foundry Launchpad Service
  • SAP Build Work Zone, Advanced edition

Product

SAP BTP, private cloud edition 1.0

Keywords

cflp; central fiori launchpad; cloud foundry; flp; flp@cf; scp; sap; cloud platform; iframe; cross origin; cross-origin cors; deny allow; x-frame-options; 500 internal server error; authentication; cppcf.authentication; wda; webgui; sapui5; fiori app; refused to connect; portal; ERR_BLOCKED_BY_RESPONSE; net::ERR_BLOCKED_BY_RESPONSE; SAMEORIGIN; blocked, WorkZone; Work Zone; Cloud Portal; /oauth/authorize , KBA , EP-WZ-SM , Site Management , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.