Gitlab Runner错误端口443:操作超时?

Gitlab Runner Error port 443: Operation timed out?

我设置了 GitLab-运行ner。我想连接到我的 gitlab.xxx.com。我将 运行ner 注册为 docker 执行者。但是当我 运行 一份工作时它失败了。

fatal: unable to access 'https://gitlab.xxx.com/dy_leanghy/leanghy-test.git/': Failed to connect to gitlab.xxx.com port 443: Operation timed out

注意:我已经为我的 gitlab 允许 iptable 规则-运行ner 可以通过端口 443 访问我的 gitlab 服务器。

root@gitlabrunner:~/.ssh# nc -vz gitlab.xxx.com 443
Connection to gitlab.xxx.com 443 port [tcp/https] succeeded!

它已通过重新启动 docker 得到修复。因为 iptables 链已被删除到我的 GitLab 运行ner 服务器上。所以我需要在 运行:

时重启 docker 服务
systemctl restart netfilter-persistent