CSM 10.4 Documentation

Home

Troubleshooting AWS mApp Solution Webhooks

You can use an external service such as Hookbin to collect and view SNS messages to ensure that you are receiving the message you expect. If you are receiving the proper message but do not see it being processed, check RabbitMQ. CSM uses RabbitMQ for processing webhook requests.

SNS Message Troubleshooting

  1. Visit the URL to confirm your subscription after you request confirmation.
  2. Make sure you leave this tab open or you won't be able to get back to the results. If you accidentally close the tab, you will need to recreate the Hookbin endpoint and recreate your SNS subscription.

Testing Your JSON Parsing

  1. You can use the Test Webhook feature in the mApp Solution to ensure that the JSON you are receiving from SNS is being parsed as expected.
  2. In CSM Administrator, go to Browser and Mobile > Webhook Manager and edit the webhook you are troubleshooting.
  3. Under the Action tab, select Test Webhook and paste in the JSON you received to your Hookbin subscription.
  4. Select Run and check to see if an appropriate object was created in CSM.

RabbitMQ Troubleshooting

  1. Before trying the steps below, try restarting the Cherwell Service Host, as it may resolve any RabbitMQ issues. If it does not, proceed to the next steps.
  2. Stop the Cherwell Service Host.
  3. Important: Deleting these queues will delete anything in progress in a production system, so take care with the steps below to ensure you do not inadvertently purge additional data.
    Delete any duplicate Exchanges and Queues. These will be recreated on Cherwell Service Host start.
    1. Delete all CSM Exchanges.
    2. Delete all CSM-related queues.
  4. Start the Cherwell Service Host.

Was this article useful?