Skip to content

How to Fix “Refused to Connect” Issue After Joule Integration with SAP S/4HANA Private Cloud

February 6, 2026
SAP

After completing the integration of SAP Joule with SAP S/4HANA Private Cloud, you may encounter a common issue where the Joule URL shows an error like:

https://<subaccount>.eu10.sapdas.cloud.sap refused to connect

This issue usually occurs because the Content Security Policy (CSP) of the SAP S/4HANA system is blocking the Joule URL. To resolve this, you need to explicitly trust the Joule URL in your S/4HANA system.

Below are the step-by-step instructions to fix this issue.


Step 1: Find the Joule URL from SAP BTP

  1. Log in to SAP BTP Cockpit.
  2. Navigate to your Subaccount.
  3. Go to Instances and Subscriptions (or Services → Instances, depending on your cockpit view).
  4. Locate the Joule instance and open it.
  5. The instance will open in a new browser tab.
  6. From the address bar, copy the URL. It will look like this:
https://<subaccount>.eu10.sapdas.cloud.sap

Step 2: Maintain the Joule URL as a Trusted Site in S/4HANA

  1. Log in to SAP S/4HANA GUI.
  2. Execute transaction code:
ICF_HEADER_FRAMEWORK
  1. Choose Trusted Sites for HTTP Headers.
  2. Add the copied Joule URL:
https://<subaccount>.eu10.sapdas.cloud.sap
Joule
  1. Save your changes.

Step 3: Test the Integration

Once the URL is added to the trusted sites:

  • Reload the Joule application
  • Retry accessing Joule from S/4HANA

The “refused to connect” error should now be resolved.


Conclusion

The “refused to connect” issue after Joule integration is not a Joule defect but a security restriction in S/4HANA. By maintaining the Joule URL in ICF_HEADER_FRAMEWORK → Trusted Sites, you allow secure communication between SAP S/4HANA Private Cloud and SAP Joule.