Matt Komarnicki
Matt Komarnicki

Reputation: 5422

Unable to vagrant box add laravel/homestead (errno 60 / SSL read)

Basically I got this error seconds after I trigger vagrant box add laravel/homestead in my terminal.

enter image description here

What's more interesting, after second failed attempt, the error message is a little bit different (as you see).

Error number 60 is somehow related to SSL. Since I'm running this command via terminal, I really have no idea how to investigate this issue. Can somebody give me any hints? May it be related to poor wireless internet connection?

slick-mac:~ slick$ vagrant version
Installed Version: 1.7.4
Latest Version: 1.7.4

You're running an up-to-date version of Vagrant!

Upvotes: 1

Views: 2849

Answers (5)

Hind
Hind

Reputation: 333

what Worked for me was emptying the temp first then running the following command:

vagrant box add --insecure laravel/homestead

it looks like after failing once ,it couldn't resume correctly until the temp was emptied .

hope this helps.

Upvotes: 0

richardjc
richardjc

Reputation: 89

I encountered the same issue. Adding --insecure argument, specifying url, https://atlas.hashicorp.com/laravel/boxes/homestead, and removing the tmp file beforehand did not work for me.

Brutely repeating download attempts to download did however. Thus, in my case, nothing to do with SSL.

Upvotes: 0

Sithu
Sithu

Reputation: 4431

These SSL related issues are not from client side. It is originated from the source. We can do nothing from our side. I have tried with Windows OS, Mac OS X and manual download with many browsers and even with downloaders, no luck. Somehow I managed to download with mobile browser on 4G. I was wondering why not upload this to place everyone can download.

You can find a mirror here on my Google Drive. It is a copy of laravel/homestead 0.5.0. Have fun.

Upvotes: 0

Matt Komarnicki
Matt Komarnicki

Reputation: 5422

I'm deliberately posting this as an answer because probably I've found solution. So far it's still downloading.

What I did:

1. I removed temp stuff

rm -rf ~/.vagrant.d/tmp/

2. I started the download again

vagrant box add laravel/homestead

So far it's still OK despite of my slow internet connection. If that won't work I will try Frederic's solution.

EDIT:

After 80% it failed. (no --insecure) param.

Upvotes: 0

Frederic Henri
Frederic Henri

Reputation: 53793

If you get an SSL issue, you can try to add the box using the insecure option

vagrant box add --insecure laravel/homestead

--insecure When present, SSL certificates won't be verified if the URL is an HTTPS URL

Upvotes: 3

Related Questions