Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook processing is broken for bitbucket cloud #275

Open
sagarj1 opened this issue Apr 23, 2021 · 3 comments
Open

Webhook processing is broken for bitbucket cloud #275

sagarj1 opened this issue Apr 23, 2021 · 3 comments

Comments

@sagarj1
Copy link

sagarj1 commented Apr 23, 2021

We are getting error saying failed to parse webhook:Invalid webhook signature in light house. I think webhook payload parsing is broken.

payload attached for refrence
payload.txt

@vbehar
Copy link

vbehar commented Apr 29, 2021

bitbucket cloud doesn't support secrets (yet), see https://jira.atlassian.com/browse/BCLOUD-14683
but this feature should be disabled by default if you're using lighthouse in jx3, see jenkins-x/jx3-versions#2127

how is your lighthouse installed/configured?

@sagarj1
Copy link
Author

sagarj1 commented May 2, 2021

Lighthouse installed via Jenkins X. I do see secrets disabled

@jstrachan
Copy link
Member

it does look like lighthouse is configured with a hmac token.

are you absolutely sure that your gitKind is bitbucketcloud and your lighthouse is configured to disable hmacToken:
https://github.com/jenkins-x/jx3-versions/blob/master/charts/jx3/lighthouse/values.yaml.gotmpl#L61-L63

you're using Jenkins X v3 right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants