注册gitlab runner是否需要DNS?

注册gitlab runner是否需要DNS?,dns,gitlab,x509certificate,gitlab-ci-runner,runner,Dns,Gitlab,X509certificate,Gitlab Ci Runner,Runner,当我用as-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 htt

当我用as-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


正如Patrick Mevzek在评论中指出的那样,您的错误似乎是IP配置的问题,而不是Gitlab运行程序的问题

错误消息的结尾说明:
无法验证34.66.66.103的证书,因为它不包含任何IP SAN

请尝试将IP SAN添加到您的IP,或尝试使用DNS


这里似乎有人遇到了类似的问题:

如果证书中有带有IP地址的HTTPS链接,则证书需要在SAN部分包含IP地址,这是不推荐的。