开发者社区> 问答> 正文

gitlab-runner持续集成,注册出现:500错误。

gitlab-runner持续集成,注册出现:500错误。Perhaps you are having network problems

gitlab搭建在虚拟机里,gitlab-runner搭建在李刚一台虚拟机。互相能Ping通。 > 注册 gitlab-runner register(dockers exec - it gitlab-runner gitlab-runner register )


Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
http://192.168.1.185:10080/
Please enter the gitlab-ci token for this runner:
avpX5_vu9s3n_H9U5DvH
Please enter the gitlab-ci description for this runner:
[localhost.localdomain]:
Please enter the gitlab-ci tags for this runner (comma separated):

ERROR: Registering runner... failed runner=avpX5_vu status=500 Internal Server Error
PANIC: Failed to register this runner. Perhaps you are having network problems

但是,如果使用搭建在阿里云上gitlab的就一切OK。

http://47.94.19~.~:10080/
Please enter the gitlab-ci token for this runner:
Ss-fHdM3h3ZG7tz79Ly4
Please enter the gitlab-ci description for this runner:
[aae0b11429ff]: 
Please enter the gitlab-ci tags for this runner (comma separated):

Registering runner... succeeded                     runner=Ss-fHdM3
Please enter the executor: virtualbox, docker+machine, docker, parallels, ssh, docker-ssh+machine, kubernetes, docker-ssh, shell:
shell
Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded! 

请问: gitlab-runner 和gitlab 之间这种局域网网络问题出现的原因是什么?怎么解决?

遇到了同样的问题,在CSDN看到了,希望阿里云团队能够给出正确、标准的答案~请查看

展开
收起
刘刚_ 2020-05-23 21:01:40 4011 0
1 条回答
写回答
取消 提交回答
  • 今天遇到同样的问题了。你这个是怎么解决的啊?

    2021-05-10 20:03:12
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
阿里邮箱—安全高效集成 立即下载
集成智能接入网关APP:优化企业级移动办公网络 立即下载
云效助力企业集成安全到DevOps中 立即下载