gitlab中添加webhook,点击Test出现错误

错误日志
==> /var/log/gitlab/gitlab-rails/production.log <==
Started GET "/-/metrics" for 127.0.0.1 at 2018-05-11 04:27:39 +0000
Processing by MetricsController#index as HTML
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
==> /var/log/gitlab/gitlab-rails/production_json.log <==
{
"method":"GET","path":"/-/metrics","format":"html","controller":"MetricsController","action":"index","status":200,"duration":3.88,"view":0.26,

本文记录了在GitLab中设置Webhook时遇到的问题及解决过程。主要问题是在进行测试时出现500 Internal Server Error错误,通过查看日志文件定位到具体的错误类型为URI::InvalidURIError,并最终在GitLab官方文档中找到解决方案。

3823

被折叠的 条评论
为什么被折叠?



