requilence / integram

Integrate Telegram into your workflow – Trello, Gitlab, Bitbucket and other bots
https://integram.org
GNU General Public License v3.0
1.54k stars 151 forks source link

Gitlab API 410 when replaying to issues, commits, merge requests or snippets #74

Open ziavra opened 5 years ago

ziavra commented 5 years ago

Gitlab API answers HTTP 410 Gone

docker log time="2019-02-27T15:11:02Z" level=error msg="Job failed after 0.09 sec, 10 retries left" error="POST https://gitlab.domain.ru/api/v3/projects/16/issues/189/notes: 410 []" jobID=ssLMJjkPLacVKPIvbsaiyia04pjw jobType=gitlab.sendIssueComment poolId="02:42:ac:12:00:05_gitlab"

gitlab/api_json.log

otes","params":[{"key":"body","value":"1"}],"host":"gitlab.domain.ru","ip":"xx.xxx.xxx.xxx, 127.0.0.1, xxx.xxx.xxx.xxx","ua":"go-gitlab/0.1","route":"/api/:
version/*path","queue_duration":47.51,"gitaly_calls":0,"correlation_id":"3RBk0DgBtj6"}

We are using self hosted GitLab Community Edition 11.8.0

Google says API v3 was removed in GitLab 11.0 some related links https://gitlab.com/gitlab-com/support-forum/issues/3516 https://about.gitlab.com/2018/06/01/api-v3-removal-impending/