Open vaibhavbhade opened 3 years ago
This is a problem in bitbucket cloud seems lighthouse is not able to parse the payload coming from bitbucketcloud
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 https://github.com/jenkins-x/jx3-versions/pull/2127
how is your lighthouse installed/configured?
We're facing the same problem. Push event in repository is successfully parsed by lighthouse. But, all other events that include creation of pull requests and comments return 500 errors. I've seen 500 & 502 depending on the type of event.
@Tyagi0502 and what do you have in lighthouse logs? if you need more interactive support, you can come to the Jenkins X slack channel: https://jenkins-x.io/community/#slack
The same issue. Did you find smth or can recommend?
Taking a look, hitting a similar issue on the bootjob when it tries to create webhooks for the cluster git repo (403 forbidden).
/assign
Taking a look, hitting a similar issue on the bootjob when it tries to create webhooks for the cluster git repo (403 forbidden).
This (403 forbidden error) was unrelated to jx, my app password did not have access to read and create issue. This was the error:
{"message": "Your credentials lack one or more required privilege scopes.", "detail": {"granted": ["webhook", "pullrequest:write", "repository:admin", "project:write"], "required": ["issue"]}}}
Taking a look, hitting a similar issue on the bootjob when it tries to create webhooks for the cluster git repo (403 forbidden).
This (403 forbidden error) was unrelated to jx, my app password did not have access to read and create issue. This was the error:
{"message": "Your credentials lack one or more required privilege scopes.", "detail": {"granted": ["webhook", "pullrequest:write", "repository:admin", "project:write"], "required": ["issue"]}}}
This is different, it does not work even if i give it all the permission possible
we got this error on octent logs in lighthouse webhooks :- 500 Internal server error: failed parse webhook:Invalid webhook signature", "response":"internal server error:failed parse webhook: Invalid webhook signature","status code":500
In BitbucketRequest header we got this :-
and also when we try to update a Webhook using update command the then we got this error :
rror: failed to update webhooks for Owner: * and Repository: nodetesting in git server: https://bitbucket.org: failed to create webhook "http:/ /hook-jx.nip.io/hook" on repository ' /nodetesting': http status 403: Forbidden