注册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

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...