Error "Failed to post to the server" when testing connection for ServiceNow with Webhook notification plugin using OAuth in Aria Operations
search cancel

Error "Failed to post to the server" when testing connection for ServiceNow with Webhook notification plugin using OAuth in Aria Operations

book

Article ID: 417090

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • Outbound notification plugin is created for ServiceNow with the 'Plugin Type' selected as 'Webhook Notification Plugin'.
  • The 'TEST' is successful when using basic authentication however fails with following error when the 'Credential type' is changed to 'OAuth Authentication' :



  • In '/storage/log/vcops/log/analytics-<uuid>.log'  of Aria Operations node, you see errors similar to:

    ERROR [ServerConnection on port 10000 Thread 405]  com.vmware.vcops.alertplugins.webhook.WebhookPlugin.test - Expected POST HTTP status code 2xx but received 403
    ERROR [ServerConnection on port 10000 Thread 405]  com.vmware.vcops.alertplugins.webhook.WebhookPlugin.test - Webhook plugin test failed - Webhook test failed


Environment

Aria Operations 8.18.2

Cause

The outbound plugin in Aria Operations does not support OAuth credentials mechanism for Servicenow.

Resolution

The ServiceNow Outbound notification with OAuth credentials is not supported by Aria Operations. Please use basic authentication for this plugin.

Additional Information

Adding Outbound Notification Plug-Ins in VMware Aria Operations