简体   繁体   English

GitLab 跑步者:跑步者注册失败。 您可能遇到网络问题

[英]GitLab Runner: Failed to register the runner. You may be having network problems

I am attempting to create a kubernetes gitlab runner and I encounter the very generic error Failed to register the runner. You may be having network problems.我正在尝试创建一个 kubernetes gitlab 跑步者,我遇到了非常一般的错误Failed to register the runner. You may be having network problems. Failed to register the runner. You may be having network problems. I know gitlab.com is reachable from my hosts, but I need more information to debug the root cause of this issue.我知道gitlab.com可以从我的主机访问,但我需要更多信息来调试此问题的根本原因。

Note the error does continue for 30 attempts each the same as the one below:请注意,错误确实会持续 30 次尝试,每次尝试与以下相同:

Registration attempt 8 of 30                                                                                                                   
Runtime platform                                    arch=amd64 os=linux pid=107 revision=775dd39d version=13.8.0                               
WARNING: Running in user-mode.                                                                                                                 
WARNING: The user-mode requires you to manually start builds processing:                                                                       
WARNING: $ gitlab-runner run                                                                                                                   
WARNING: Use sudo for system-mode:                                                                                                             
WARNING: $ sudo gitlab-runner...                                                                                                               
                                                                                                                                               
ERROR: Registering runner... failed                 runner=dh5qxNxL status=couldn't execute POST against https://gitlab.com/api/v4/runners: Post https://gitlab.com/api/v4/runners: EOF
PANIC: Failed to register the runner. You may be having network problems.   

A firewall was blocking Kubernetes traffic from the host to GitLab.防火墙阻止了从主机到 GitLab 的 Kubernetes 流量。 The runner was created as soon as traffic from gitlab.com was whitelisted.一旦来自gitlab.com的流量被列入白名单,就会创建跑步者。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 GitLab runner.network - GitLab runner network gitlab runner 不断有 `backoff restaring failed container` - gitlab runner keeps having `backoff restaring failed container` 在 kubernetes 集群中安装 gitlab-runner 后,Gitlab runner 未激活 - 状态为“New Runner。尚未连接” - Gitlab runners not activated after installing gitlab-runner in kubernetes cluster - With "New Runner. Has not connected yet" status 如何在 kubernetes 上部署 gitlab-runner 并自动注册 runner? - How to deploy gitlab-runner on kubernetes and automatically register the runner? 通过 Helm 的 Kubernetes GitLab Runner 无法注册 - Kubernetes GitLab Runner via Helm fails to register 仅具有内部网络的 VM 上的 GitLab Runner - GitLab Runner on VM with internal network only 如何在不安装gitlab-ci-multi-runner软件包的情况下在rancher2(kubernetes)上注册gitlab ciRunner? - How register gitlab ci runner on rancher2(kubernetes) without install gitlab-ci-multi-runner package? 在 Rancher 中启动 pod 后如何注册 gitlab runner - How to register a gitlab runner after starting the pod in Rancher 如何强制 kubernetes gitlab-runner 使用主机网络? - How to force kubernetes gitlab-runner to use the host network? Kubernetes上的Gitlab运行程序 - Gitlab runner on kubernetes
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM