Webhooks for GitLab projects are disabled on Unauthorized Errors #13985
Labels
feature: prebuilds
feature: teams and projects [DEPRECATED]
Please, use feature: organizations or feature: projects labels instead.
git provider: gitlab
type: bug
Something isn't working
Issue
We've learned now that GitLab webhooks are disabled automatically if the receiver (Gitpod) is responding with status codes other than 2xx. The rules for failing webhooks are basically:
There seems to be at least two cases where the Unauthorized Error might occur:
In any case, we should not upset GitLabs when webhooks cannot be triggered.
Solution
On Unauthorized Errors the GitLab webhook handler should respond with a code 2xx.
Further we should investigate
The text was updated successfully, but these errors were encountered: