Symptom
While deploying the iFlow Replicate Equipment from SAP S4HANA, from the package: SAP Sales Cloud and SAP Service Cloud Version 2 Integration for Master Data with SAP S/4HANA, one of the following errors are raised in CPI Monitor:
ERROR 1:
- Connection failed for message "POLL_FAILED"
Error Details
[CONTENT][CONTENT_DEPLOY][InstanceError] : {"message":"POLL_FAILED","parameters":["amqpws://enterprise-messaging-hub-backend.cfapps.euXX.hana.ondemand.com:443/protocols/amqp10ws/queue:xx/xxxmsgclient/demo/equipment"],"childMessageInstances":[{"message":"EXCEPTION","parameters":["javax.jms.JMSException: Connection failed"],"childMessageInstances":[{"message":"CAUSE","parameters":["org.apache.qpid.jms.provider.exceptions.ProviderIOException: Connection failed"],"childMessageInstances":[{"message":"CAUSE","parameters":["java.io.IOException: Connection failed"]}]}]}]
ERROR 2:
- 403 Forbidden
Error Details
RuntimeError :["org.apache.qpid.jms.provider.exceptions.ProviderIOException: Invalid handshake response getStatus: 403 Forbidden"]
Environment
SAP Sales Cloud Version 2
BTP Event Mesh
S/4Hana
Reproducing the Issue
- Open the Cloud Integration Monitor
- Filter by the iFlow name in the Manage Integration Content
Cause
You might have incorrectly configured the Host URL in the Connection Details tab for AMQP adapter.
e.g. enterprise-messaging-hub-backend.cfapps.eu10.hana.ondemand.com (Incorrect URL).
Resolution
The correct AMQP configuration should be something like this for MessagingHost: enterprise-messaging-messaging-gateway.cfapps.xxxx.hana.ondemand.com
You can confirm the URL from the Event Mesh Service Key corresponding to the amqp10ws protocol.
See Also
Keywords
amqp10ws;MessagingHost;POLL_FAILED , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , Problem