【vagrant】初心者だけどSSL read: error:00000000:lib(0):func(0):reason(0), errno 60って言われた件

vagrantをつかおうとして起きたエラーを解決してみた.

いろいろな情報はこちらから

vagrantのboxのダウンロードに失敗する - Qiita


↑スポンサードリンク



どんなエラー

ターミナルで

vagrant box add phpdev https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.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 60

とエラーをはく

対処

参考リンク先にあるように
~/.vagrant.d/tmpの中身を全削除するとうまくいった

ターミナルで

rm ~/.vagrant.d/tmp/*

と入力するだけでおっけー!