cancel
Showing results for 
Search instead for 
Did you mean: 

Event Mesh Tutorial - Get error while trying to run the app in CF

aman_khanna
Advisor
Advisor
0 Kudos
322

Tutorials: https://developers.sap.com/tutorials/cp-enterprisemessaging-nodejs-receiving-app.html
--------------------------

Currently, following the tutorial - https://developers.sap.com/tutorials/cp-enterprisemessaging-nodejs-receiving-app.html

After POSTing a message using Postman (as described at https://developers.sap.com/tutorials/cp-enterprisemessaging-test-queue-sendreceive.html), I get the following error in CF after cf push command. Please let me know what can be the problem here?

error on SAP Event Mesh service occurred TypeError: Cannot read properties of null (reading 'address')

Screenshot of CF logs:

Thank you.

View Entire Topic
aman_khanna
Advisor
Advisor
0 Kudos

Hi tobias.griebe ,

Currently, I'm using Trial account - Event Mesh with "dev" plan as shown below:

The manifest.yml has "address" property as defined below (as followed in the tutorial).

Please note that if I change the value of the property to "em1/q1", I get another error that - not_found - no queue 'em1/q1' in vhost '/'] [amqp:not-found]

Just for reference - The queue in SAP Event Mesh Dashboard is shown below.

Also, the SAP_XBEM_BINDINGS variable after deployment to CF space is shown below.

Please let me know if I'm missing something?

Thank you.