assistify / rcapps-gitlab

RocketChat App to connect to GitLab and GitLab-CI
Apache License 2.0
16 stars 5 forks source link

error:Unknown GitLab event 'repository_update' / 'merge_request' #30

Open dgc1 opened 3 years ago

dgc1 commented 3 years ago

rcapps-gitlab version: 1.0.1 gitlab version: 14.1.5 GitLab event: repository_update 、merge_request ==== ==== 【Request info】: Request URL: POST http://192.168.2.10:3000/api/apps/public/68.......026c/webhook ; http 500 Trigger: System Hook Elapsed time: 0.05 sec Request time: 1 h ==== ==== Content-Type: application/json User-Agent: GitLab/14.1.5 X-Gitlab-Event: System Hook ==== ==== 【Request body】: { "event_name": "repository_update", "user_id": 2, "user_name": "xxx", "user_email": "xxx@qq.com", "user_avatar": "/uploads/-/system/user/avatar/2/avatar.png", "project_id": 1, "project": { "id": 1, "name": "gitlab_test", "description": "xxxx", "web_url": "http://192.168.2.10/team_public/gitlab_test", "avatar_url": null, "git_ssh_url": "ssh://git@192.168.2.10:22/team_public/gitlab_test.git", "git_http_url": "http://192.168.2.10/team_public/gitlab_test.git", "namespace": "team_public", "visibility_level": 10, "path_with_namespace": "team_public/gitlab_test", "default_branch": "master", "ci_config_path": null, "homepage": "http://192.168.2.10/team_public/gitlab_test", "url": "ssh://git@192.168.2.10:22/team_public/gitlab_test.git", "ssh_url": "ssh://git@192.168.2.10:22/team_public/gitlab_test.git", "http_url": "http://192.168.2.10/team_public/gitlab_test.git" }, "changes": [ { "before": "c4849b0eb2d303a886e3e683e1xxxx", "after": "cba2352211f84e05006123ae0916xxxx", "ref": "refs/heads/master" } ], "refs": [ "refs/heads/master" ] } ==== ==== 【Response headers】: X-Xss-Protection: 1 X-Content-Type-Options: nosniff X-Frame-Options: sameorigin Content-Security-Policy: default-src 'self' ; connect-src ; font-src 'self' data:; frame-src ; img-src data:; media-src data:; script-src 'self' 'unsafe-eval' ; style-src 'self' 'unsafe-inline' X-Instance-Id: hpQGyK7sWdWaxxx Content-Type: text/html; charset=utf-8 Content-Length: 40 Etag: W/"28-I8zg6uqn8gzxEOeGRAhxxx" Vary: Accept-Encoding Date: Fri, 15 Oct 2021 01:28:51 GMT Connection: close ==== ==== 【Response body】: Unknown GitLab event 'repository_update'