質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

Q&A

解決済

2回答

3027閲覧

Vagrantの環境構築でタイムアウトが起こる

ihigaku

総合スコア71

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

0グッド

0クリップ

投稿2019/12/10 08:14

前提・実現したいこと

Vagrantで環境構築をしたいのですが、(1)手順通りにやったら躓いてしまい
また、(2)エラーの解消法を試しても違う実行結果となり、手詰まりになってしまいました。
ご教授お願いします。

発生している問題・エラーメッセージ

(1) Vagrant + VirtualBoxでWindows上に開発環境をサクッと構築するのインストール手順~仮想マシンを起動まで(ここでエラー)

C:\Vagrant\centos67>vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'bento/centos-6.7' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 The box 'bento/centos-6.7' could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp's Vagrant Cloud, please verify you're logged in via `vagrant login`. Also, please double-check the name. The expanded URL and error message are shown below: URL: ["https://vagrantcloud.com/bento/centos-6.7"] Error: Failed to connect to vagrantcloud.com port 443: Timed out

(2) Vagrantエラーあれこれに関する対処法のvagrantのプロキシ設定編

C:\Vagrant\centos67>vagrant plugin install vagrant-proxyconf Installing the 'vagrant-proxyconf' plugin. This can take a few minutes... Vagrant failed to load a configured plugin source. This can be caused by a variety of issues including: transient connectivity issues, proxy filtering rejecting access to a configured plugin source, or a configured plugin source not responding correctly. Please review the error message below to help resolve the issue: timed out (https://gems.hashicorp.com/specs.4.8.gz) Source: https://gems.hashicorp.com/ C:\Vagrant\centos67>vagrant plugin list No plugins installed.

補足情報(FW/ツールのバージョンなど)

コマンドプロンプト

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答2

0

自己解決

自己解決しました、プロキシ設定をしていませんでした…
こちらを参考に進めたら無事に通りました。

投稿2019/12/11 04:12

ihigaku

総合スコア71

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

0

エラーメッセージをみると、Vagrantのプログラムから外部への通信ができていないような感じです。

ウイルス対策ソフトなどインストールされていますか?
場合によっては、プログラムごとにネットに接続を許可する設定が必要になります。

また、一度再起動してみてはいかがでしょうか。(解決にならないかと思いますが、とりあえず・・・)

投稿2019/12/10 08:25

XNXSXMXR

総合スコア239

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問