Logo Questions Linux Laravel Mysql Ubuntu Git Menu

'vagrant up' not working while installing homestead on ubuntu 14.04

I run ubuntu 14.04 trusty. I installed virtual box and vagrant in order to be able to use laravel. I installed laravel homestead via git and I am trying to run the command 'vagrant up' but I get an error. Please what am I doing wrong?

I tried to add vagrant box with this command 'vagrant box add laravel/homestead' but I got the error below:

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

SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
like image 473
DabHands Avatar asked Mar 14 '23 18:03


1 Answers

Can you run vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead --insecure

Using the --insecure flag it does not validate SSL certificates so you should not have the SSL error

You may need to clean ~/.vagrant.d/tmp/ folder if you have some uncompleted transfer

You can also download the ssl certificate and directly use it to bypass the error

$ vagrant box add --cacert <certificate> box_name
like image 63
Frederic Henri Avatar answered Mar 23 '23 18:03

Frederic Henri