SAP Knowledge Base Article - Public

3497685 - Error with AMQP-Adapter when Deploying the Iflow Replicate Equipment from SAP S4HANA

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

  1. Open the Cloud Integration Monitor
  2. 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

SAP Blog: https://community.sap.com/t5/technology-blogs-by-sap/cloud-integration-connecting-to-messaging-systems-using-the-amqp-adapter/ba-p/13419906

AMQP Sender for SAP Event Mesh

Tutorial for Create Instance of SAP Event Mesh

Keywords

amqp10ws;MessagingHost;POLL_FAILED , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , Problem

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0