Incoming Webhook Troubleshooting

Correct common problems with incoming webhooks.

Confirm Connectivity

Log in to ATSD, open the Settings tab in the main menu, navigate to Diagnostics and click Webhook Requests.

The page contains a list of recently received webhook requests.

Under the Details column, click the View link to see webhook request parameters, the payload, and the generated ATSD message.

If the page does not contain the expected request, check the webhook URL manually:

curl -v "https://username:password@atsd.example.org:8443/api/v1/messages/webhook/github?ping=true&debug=true"

ATSD responds with the following message:

< HTTP/1.1 200 OK
< Date: Thu, 10 May 2018 07:27:03 GMT
< Set-Cookie: ATSD_SESSION_ID=node0j2puvmezgcl139j90e95iqwf493012.node0;Path=/;Secure
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization
< Access-Control-Allow-Methods: HEAD, GET, POST, PUT, PATCH, DELETE
< Content-Type: application/json;charset=utf-8
< Vary: Accept-Encoding, User-Agent
< Transfer-Encoding: chunked
< Server: Jetty(9.4.z-SNAPSHOT)
<
* Connection #0 to host atsd.company.com left intact
{"entity":"github","type":"webhook","source":"github","severity":null,"tags":{"ping":"true","request_ip":"192.0.2.1"},"date":"2018-05-10T07:27:03.819Z"}