Hi all,
i’ve just installed drone and want to use it with a self hosted gitlab. While the drone UI works (website) i get a timeout for the webhook on push events.
Log:
{"commit":"71b37444d66a5e3d6b75db3a0e260a1585459e9d","event":"push","level":"debug","msg":"webhook parsed","name":"censored","namespace":"censored","time":"2019-04-25T13:14:54Z"}
{"commit":"71b37444d66a5e3d6b75db3a0e260a1585459e9d","event":"push","level":"debug","msg":"trigger: received","ref":"refs/heads/master","repo":"cencsored","time":"2019-04-25T13:14:54Z"}
{"commit":"71b37444d66a5e3d6b75db3a0e260a1585459e9d","error":"","event":"push","level":"warning","msg":"trigger: cannot find yaml","ref":"refs/heads/master","repo":"censored","time":"2019-04-25T13:15:39Z"}
{"fields.time":"2019-04-25T13:15:39Z","latency":45258960649,"level":"debug","method":"POST","msg":"","remote":"172.20.0.1:48814","request":"/hook?trigger=push_events","request-id":"1KMOeP3A8sKAk8pDomhVu5uPM8O","time":"2019-04-25T13:15:39Z"}
While there is a warning ‘cannot find yaml’, there is definetly a .drone.yml file inside the repository. Inside gitlab, when i test the push event, i get Net::ReadTimeout error, 500 code and an empty response. However, when i test the merge event, i get a 200 response.
Request header:
Content-Type: application/json
X-Gitlab-Event: Push Hook
X-Gitlab-Token: *******
Does someone have an idea what could be the reason?
I used the latest drone docker Image and an Apache reverse Proxy
Kind regards