Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Webhook execution failed: execution expired

I am trying to trigger jenkins build whenever there is a push to GitLab.
I am referring to https://github.com/jenkinsci/gitlab-plugin.

When I test the connection for webhook it shows execution expired.

I am using:

  • Jenkins ver. 2.60.1
  • GitLab version 9.4.0-rc2-ee
  • Git lab plugin 1.4.6
like image 972
annie Avatar asked Jul 27 '26 01:07

annie


1 Answers

The exact error message, clicking "Test setting" from GitLab:

We tried to send a request to the provided URL but an error occurred: execution expired

As mentioned in issue 128:

This looks and sounds like a configuration or network error.
Maybe your machine is not publicly available on the webhook address (firewall etc).

For instance, on Digital Ocean server, you would need to open up the port (mentioned in git-auto-deploy.conf.json) in the firewall:

sudo ufw allow 8866/tcp

Double-check though what you put in Manage Jenkins > Configure in term of Gitlab information (connection name, host url, credentials), as mentioned in jenkinsci/gitlab-plugin issue 391.
See GitLab Integration Jenkins: Configure the Jenkins server

like image 80
VonC Avatar answered Jul 28 '26 21:07

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!