gitlab-runner clone code failed The requested URL returned error: 500
Summary
Alibaba Cloud took a gitlab server, did not resolve the domain name, and bound the hosts 127.0.0.1 git.server.
Another machine had gitlab-runner to build the code, and the host on the machine also bound 116.*.*.17 git.server, there is no problem with using ssh to clone code normally.
Steps to reproduce
When building with runner, the following error occurs: fatal: unable to access 'http://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@git.server/tuitui/test-ci.git/': The requested URL returned error: 500
Grant root user :gitlab-runner install --user=root --working-directory=/var/www
I don't know how to solve this problem now. thx!
Edited by G-Bruin