当我用https://34.66.66.103/gitlab/注册一个runner作为url时,它抛出了下面的错误。但是当我给它添加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发布于 2020-09-10 02:54:19
正如@Patrick Mevzek在评论中指出的那样,你的错误似乎是IP配置的问题,而不是Gitlab运行者的问题。
错误消息的末尾声明: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
https://stackoverflow.com/questions/63793492
复制相似问题