laravel installation - transfer closed while add vagrant box

Published 2 years ago by evinkuraga

I've been trying to add the laravel/homestead box by running the command : $ vagrant box add laravel/homestead

The problem is that the box takes quite a while to download even though I actually have a 50mbps connection. After about 15 minutes, the connection closes and I get the message : transfer closed with 832698891 bytes remaining to read

Each time I try to run the command again, I need to delete the contents of my .vagrant.d/tmp/ folder because it can't resume from where it left off... so after a bunch of tries, I was wondering what to do?

I've even tried downloading the file from the browser by going to the url specified : https://vagrantcloud.com/laravel/boxes/homestead/versions/0.3.0/providers/virtualbox.box This gives me a hc-download file that's about 950mb. Then running the command : vagrant box add laravel/homestead ~/downloads/hc-download also gives me an error: x ./box-disk1.vmdk: truncated gzip input bsdtar.EXE: Error exit delayed from previous errors.

At this point, I'm not sure how to address the issue. Searched a few forums and wasn't able to find anything. Any advice?

jekinney
jekinney
2 years ago (213,815 XP)

Did you follow the docs over at Laravel under homestead? Offers three ways to download homestead. Also downloading is throttled on vagrants end as it's expensive to provide that type of bandwidth for each user downloading at the same time. Pretty standard across the board for content delivery.

Please sign in or create an account to participate in this conversation.