情報系学部生日記

備忘録や勉強したことのまとめ

VagrantでリモートのboxをaddしようとしたらSSL read: error:00000000:lib(0):func(0):reason(0)で止まる

環境

現象

boxのダウンロード中に以下のようなエラーが出て、ダウンロードが中断される。

An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

SSL read: error:00000000:lib(0):func(0):reason(0), errno 50

解決

errnoの部分は自分の環境では50か60だった気がする。 ググると以下のような記事が見つかった。 github.com slick.pl

とりあえずオプションを追加したら無事にダウンロードできました。

vagrant box add --insecure -c laravel/homestead