Endevor Bridge4Git (B4G) getting Invalid secret: Invalid Webhook event header.
search cancel

Endevor Bridge4Git (B4G) getting Invalid secret: Invalid Webhook event header.

book

Article ID: 247756

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Using the B4G version 2.11.0 with Azure DevOps server.

Application.yml has the following setting:

# (Optional) Webhook secret token from the webhooks repository settings of Azure DevOps Server
webhook-secret: XXXXXXXXXX


After installing the certificates doing some tests and one test creates an element and pushes it to Endevor.

 
That generate the message below on the B4G log -

2022-08-05 17:58:23.925 ERROR 33556948 --- [https] c.c.e.b.c.m.AbstractPushEventMapper      : Event rejected - invalid secret: Invalid Webhook event header.


 

Environment

Release : 18.1

Component : BRIDGE FOR GIT 2.11.0

Resolution

The issue came from the Webhook Init, the certificate is not trusted and the box "accepted untrusted" is not checked in the Azure Devops service hooks subscription.