acuier 2019-04-28 15:46 采纳率: 0%
浏览 2373
已结题

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

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

Running in system-mode.

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。

Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
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 之间这种局域网网络问题出现的原因是什么?怎么解决?

  • 写回答

1条回答 默认 最新

  • dabocaiqq 2019-04-28 21:05
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3