user2559108
user2559108

Reputation:

Curl error: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

I keep getting this error, i am running OS X, PHP71, Apache 2.4, OpenSSL

php -i | grep "SSL Version" returns SSL Version => OpenSSL/1.0.2k

PHP and CURL have been installed like this:

$ brew install --with-openssl curl

$ brew install --with-homebrew-curl --with-httpd24 php71

Upvotes: 5

Views: 19422

Answers (3)

Md Aman Ullah
Md Aman Ullah

Reputation: 506

If it happens in time of installing homestead laravel then the following command resolved my issue:

vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead

instead of only:

vagrant box add laravel/homestead

Upvotes: 0

fivebit
fivebit

Reputation: 87

I had this problem and it worked after a few retries whereby the download progress resumed each time.

Just a guess - but it could be due to unstable wifi and the download process being particularly adverse to it.

I live in a brick building which is built with bricks containing lead... it is rough ok...

Upvotes: 1

Mahsa Sirous
Mahsa Sirous

Reputation: 31

I just had the same problem. In case someone else runs into this, I got it working with:

vagrant box add laravel/homestead -c --insecure

Options used:

-c or --clean Clean any temporary download files

--insecure Do not validate SSL certificates

Or maybe you need turn on ur VPN.

Upvotes: 3

Related Questions