gpt4 book ai didi

大厅:资源脚本 '/opt/resource/check []' 失败:退出状态 128

转载 作者:行者123 更新时间:2023-12-01 04:39:55 29 4
gpt4 key购买 nike

环境:

OS: Ubuntu 18.04
Concourse: 3.14.0

服务器在代理后面。 Concourse 安装是二进制的,非 docker。代理已在 /etc/environment 中设置作为:
> http_proxy="http://proxy01.localnet.local:8080/"
> https_proxy="http://proxy01.localnet.local:8080/"

在该服务器中,我可以成功访问外部:
$ git clone https://github.com/pivotal-cf/pcf-pipelines
Cloning into 'pcf-pipelines'...
remote: Counting objects: 20990, done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 20990 (delta 13), reused 22 (delta 8), pack-reused 20953
Receiving objects: 100% (20990/20990), 25.70 MiB | 8.46 MiB/s, done.
Resolving deltas: 100% (11497/11497), done.

错误:
resource script '/opt/resource/check []' failed: exit status 128

stderr:
Cloning into '/tmp/git-resource-repo-cache'...
ssh: connect to host github.com port 22: Operation timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

就是这样。我找不到任何可以引导我对环境进行故障排除的内容。

非常感谢任何反馈!!

最佳答案

不知道你的 git 资源的源配置,我敢打赌你错过了 private_key场那里。使用 SSH url,您始终必须使用私钥进行身份验证——没有匿名 git 访问之类的东西。不过,HTTPS 确实存在匿名访问,所以这就是它解决问题的原因。

关于大厅:资源脚本 '/opt/resource/check []' 失败:退出状态 128,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50765080/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com