私はWindowsドッカー・コンテナを実行しているウィンドウ・インスタンスを持っています。インスタンス自体で、私は問題なしで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.
誰もがここに助けることができれば、私は感謝されます。 ありがとうございます。
実際のエラーメッセージを含めてください。また、一般的にはBerksとLibrarianの両方を同時に使用しているわけではないので、赤ちゃんかもしれません。 – coderanger
私はBerksとLibrarianを同時に使用していませんが、Berksのログは十分ではないので、私は図書館員をして高度なエラーログを取得できるかどうかを確認しました。 BerksとLibrarianは異なるツールですが、最終的には同じものを受け取ります(スーパーマーケットやどこにでも接続して、希望の料理をダウンロードする)。 –
彼らはまったく関係のない設定ファイル(Berksfile vs Cheffile)を使うので、どちらか一方だけを実行することはできません。 – coderanger