Chef infra 厨师长服务器ctl重新配置给出错误ENETURACH

Chef infra 厨师长服务器ctl重新配置给出错误ENETURACH,chef-infra,Chef Infra,当我运行chef server ctl reconfigure时,出现错误: 致命错误:Errno::enetureach:apt_repository[chef stable](private chef::add_ons_repository line 15)出现错误:Errno::enetureach:remote_file[/opt/opscode/embedded/cookbooks/cache/cookbooks/apt/providers/repository.rb line 59]

当我运行
chef server ctl reconfigure
时,出现错误:

致命错误:Errno::enetureach:apt_repository[chef stable](private chef::add_ons_repository line 15)出现错误:Errno::enetureach:remote_file[/opt/opscode/embedded/cookbooks/cache/cookbooks/apt/providers/repository.rb line 59](/opt/ops/ops/opscode/embedded/cookbooks/cookbooks/cache/cookbooks/cookbooks/cookbooks/apt/providers/rep对于“packagecloud.io”端口443

我已经配置了与代理相关的环境变量

http_proxy=http://172.16.x.y:3128
ftp_proxy=http://172.16.x.y:3128
HTTPS_PROXY=172.16.x.y:3128
https_proxy=http://172.16.x.y:3128
HTTP_PROXY=172.16.x.y:3128
如果我运行wgetcurl,我会得到回复

 wget https://www.google.com
--2016-12-09 07:20:09--  https://www.google.com/
Connecting to 172.16.x.y:3128... connected.
Proxy request sent, awaiting response... 200 OK
同样的测试也适用于http。 我正在Ubuntu 14上使用Chef服务器12.5.0

chef-server-ctl show-config
Starting Chef Client, version 12.5.0.current.0

请检查您是否可以访问packagecloud.io->

是的,我可以连接。仅供参考。这是AWS VPC wget--2016-12-09 09:23:28--连接到172.16.x.y:3128。。。有联系的。代理请求已发送,正在等待响应。。。200确定长度:未指定的[text/html]保存到:“index.html.5”AWS子网配置中存在一些路由问题。更改后,重新配置工作正常。我仍然对wget和curl的工作原理感到困惑,我觉得这是一个路由问题。如果您认为我在任何方面帮助了您,请评分:)