如何解决注册gitlab运行程序是否需要DNS?
当我使用https://34.66.66.103/gitlab/作为网址注册跑步者时,会引发以下错误。但是,当我添加一个DNS。它工作正常!我只是想知道赛跑者注册真的需要DNS吗? 赛跑者不能通过elb注册到gitlab吗?
ERROR: Registering runner... failed runner=zMXQGYf_ status=couldn't execute POST against https://34.66.66.103/gitlab/api/v4/runners: Post https://34.66.66.103/gitlab/api/v4/runners: x509: cannot validate certificate for 34.66.66.103 because it doesn't contain any IP SANs
PANIC: Failed to register this runner. Perhaps you are having network problems
解决方法
正如@ {Patrick Mevzek
在评论中指出的那样,您的错误似乎是IP配置问题,而不是Gitlab Runners问题。
错误消息的结尾指出:
cannot validate certificate for 34.66.66.103 because it doesn't contain any IP SANs
要么尝试将IP SAN添加到您的IP,要么尝试使用DNS。
好像这里有人遇到了类似的问题:https://github.com/prometheus/prometheus/issues/1654
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。