Notification rule test failed with the following code:401
In /storage/log/vcops/log/analytics-########-###-####-#######.log the below errors are seen:
DATE TIME DEBUG [ServerConnection on port 10000 Thread 1511] com.vmware.vcops.platform.notification.webhook.WebhookSender.send - Queueing Webhook MessageWebhook Message is: {"startDate":"DATE TIME","updateDate":"DATE TIME","cancelDate":"DATE TIME","resourceId":"test","adapterKind":"test","resourceKind":"test","resourceName":"test","Health":"0.0","Risk":"0.0","Efficiency":"0.0","impact":"health","criticality":"info","alertName":"VMware Aria Operations alert definition","type":"Tier Alerts","subType":"Smart KPI Breach","alertId":"########-####-####-########2926","status":"Active","recommendations":"N/A","alertURL":"N/A"}Uri is: https://automation.example.com/vco/api/workflows/########-####-####-########3ff6/executionsHeaders are: {Accept=application/json}Method is: POSTContent Type is: application/jsonDATE TIME DEBUG [pool-9808-thread-1] com.vmware.vcops.platform.notification.webhook.WebhookSender.debug - Sending: POST https://automation.example.com/vco/api/workflows/########-####-####-########3ff6/executionsDATE TIME ERROR [pool-9808-thread-1] com.vmware.vcops.platform.notification.webhook.WebhookSender.call - Failed to send POST; status code: 401DATE TIME ERROR [ServerConnection on port 10000 Thread 1511] com.vmware.vcops.alertplugins.webhook.WebhookPlugin.test - Expected POST HTTP status code 2xx but received 401DATE TIME ERROR [ServerConnection on port 10000 Thread 1511] com.vmware.vcops.alertplugins.webhook.WebhookPlugin.test - Webhook plugin test failed - Webhook test failed:
The Webhook Outbound instance has been configured with "Basic Authentication" as "Credential Type"
Aria Operations 8.18.5
Aria Automation 8.18.1
The Webhook user authentication is failing in Aria Automation since Basic authentication is not supported anymore on Aria Automation nodes 8.18.1 as per KB "Basic Authentication" no longer supported in Aria Automation 8.18.1
Change the Credential type to one of the others reported on the documentation Add a Webhook Notification Plugin for Outbound Instance