diff options
author | Marcia Ramos <virtua.creative@gmail.com> | 2017-11-01 16:52:58 +0000 |
---|---|---|
committer | Marcia Ramos <virtua.creative@gmail.com> | 2017-11-01 16:52:58 +0000 |
commit | b8f5239f2b7592fadfe6f4c6fa30b565c5a09d9f (patch) | |
tree | 5df5d8cc5cd59b4ce612a7eb834edec5c9c40e47 | |
parent | 50f3250cf1f07b55f5120ab2ead5f661e350a128 (diff) | |
parent | d57ab8b00dd3b314b61dc1addcaf62de18b723b5 (diff) | |
download | gitlab-ce-b8f5239f2b7592fadfe6f4c6fa30b565c5a09d9f.tar.gz |
Merge branch 'docs/webhook-troubleshooting-steps' into 'master'
Add extra webhook troubleshooting steps
See merge request gitlab-org/gitlab-ce!15125
-rw-r--r-- | doc/user/project/integrations/webhooks.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/user/project/integrations/webhooks.md b/doc/user/project/integrations/webhooks.md index df75e25e12b..5896f8f72a0 100644 --- a/doc/user/project/integrations/webhooks.md +++ b/doc/user/project/integrations/webhooks.md @@ -1140,6 +1140,18 @@ From this page, you can repeat delivery with the same data by clicking `Resend R >**Note:** If URL or secret token of the webhook were updated, data will be delivered to the new address. +### Receiving duplicate or multiple web hook requests triggered by one event + +When GitLab sends a webhook it expects a response in 10 seconds (set default value). If it does not receive one, it'll retry the webhook. +If the endpoint doesn't send its HTTP response within those 10 seconds, GitLab may decide the hook failed and retry it. + +If you are receiving multiple requests, you can try increasing the default value to wait for the HTTP response after sending the webhook +by uncommenting or adding the following setting to your `/etc/gitlab/gitlab.rb`: + +``` +gitlab_rails['webhook_timeout'] = 10 +``` + ## Example webhook receiver If you want to see GitLab's webhooks in action for testing purposes you can use |