运行berks安装时出错

我有一个Windows实例,最重要的是我正在运行一个Windowsdocker集装箱。 在实例本身,我成功地执行berks vendor/install没有任何问题。 但是,在该机器上运行的Windows泊坞窗容器不起作用,并引发超时错误。 错误是不够清楚,所以我决定执行librarian-chef install并获得更多的输出。 看来有一些与SSL连接有关的东西。 在过去几天的长时间的研究之后,我尝试了几件事,但仍然有同样的错误。

Resolving cookbook dependencies... Fetching 'firefox' from source at . Fetching 'firefox_test' from source at test/fixtures/cookbooks/firefox_test Fetching cookbook index from https://supermarket.chef.io... [2017-08-02T09:09:19+00:00] ERROR: Timeout connecting to https://supermarket.chef.io/universe, retry 1/5 [2017-08-02T09:14:24+00:00] ERROR: Timeout connecting to https://supermarket.chef.io/universe, retry 2/5 [2017-08-02T09:19:29+00:00] ERROR: Timeout connecting to https://supermarket.chef.io/universe, retry 3/5 [2017-08-02T09:24:34+00:00] ERROR: Timeout connecting to https://supermarket.chef.io/universe, retry 4/5 [2017-08-02T09:29:39+00:00] ERROR: Timeout connecting to https://supermarket.chef.io/universe, retry 5/5 Error retrieving universe from source: https://supermarket.chef.io * [Berkshelf::APIClient::TimeoutError] Unable to connect to: universe Using firefox (4.0.0) from source at . Using firefox_test (0.1.0) from source at test/fixtures/cookbooks/firefox_test Cookbook 'dmg' (4.0.0) not found in any of the sources! This can happen if the remote cookbook has been deleted or if the sources inside the Berksfile have changed Please run berks update dmg to resolve to a valid version.

如果有人能够在这里协助,我将不胜感激。 提前致谢

我有同样的错误; 这只有当我login到我公司的networking时才会发生。 当我直接在互联网上,没有问题; 所以我怀疑这是一个代理服务器,或在我公司的networking中的问题。

Slava:我真心希望这是同样的问题, 我只是不想重复这个问题; 请让我知道,我可以创build一个不同的项目。

当我得到这个问题时,错误信息是:

 >>>>>> ------Exception------- >>>>>> Class: Kitchen::ActionFailed >>>>>> Message: 1 actions failed. >>>>>> Failed to complete #converge action: [Error connecting to https://supermarket.chef.io/universe - Failed to open TCP connection to supermarket.chef.io:443 (getaddrinfo: No address associated with hostname)] on default-centos-67 >>>>>> ---------------------- >>>>>> Please see .kitchen/logs/kitchen.log for more details >>>>>> Also try running `kitchen diagnose --all` for configuration 

在我的情况下,networking代理需要设置正确。