Testing or validating Webhook notifications fails with “Internal Server Error”
search cancel

Testing or validating Webhook notifications fails with “Internal Server Error”

book

Article ID: 405320

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite) VMware Aria Operations (formerly vRealize Operations) 8.x

Issue/Introduction

  • Notifications fail to send webhooks.
  • Manually sending a notification to a webhook fails with “Internal Server Error”.
  • Validation of the Webhook integration prompts for the correct certificate but then fails with “Internal Server Error”.
  • Certificates stored in Aria Operations for these webhook URL’s are accurate, complete, and up to date.
  • Analytics logs show errors similar to:
ERROR [pool-######-thread-1]  com.vmware.vcops.platform.notification.webhook.WebhookSender.webhookResultWithCertificateChain - Sending Webhook request to URL : https://<WEBHOOK_URL>/webhookb2/#######-###-###-###-#######@#######-###-###-###-#######/IncomingWebhook/##########################//##########################///##########################/ failed

ERROR [pool-######-thread-1]  com.vmware.vcops.platform.notification.webhook.WebhookSender.webhookResultWithCertificateChain - Sending Webhook request to URL : https://<WEBHOOK_URL>/v2/alerts failed

Environment

Aria Operations 8.18.x

Cause

This occurs because the webhook notification plugin is active but not utilizing up to date and stored certificate.

Resolution

  1. Review the certificates stored in Aria Operations.
  2. Ensure that valid certificates are present.
  3. Under Configurations/ Output Settings, locate the affected Webhook and deactivate, then reactivate it.
  4. Test that notifications are now sending.