H
H
Herman Martin2018-12-09 16:19:23
Vagrant
Herman Martin, 2018-12-09 16:19:23

Vagrant up error: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054. How to solve?

there are windows 7 x64, vagrant 2.2.2 and vitraulbox 5.2.20
at the first start, the installation started, downloaded about 300 MB, the downloaded image itself is stored in

C:\Users\YourUserName\.vagrant.d\tmp

has a name like this:
box7f651049c62ea7af37d0d5d928a5cb4e245c74d7

after some time, after the start of the installation, the download speed drops and becomes equal to 0. And after 1-3 minutes it gives an error:
OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
but it downloads from:
default: Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com

Most likely it comes to the end after a timeout.
A similar error can be obtained with git, when installing a large package, there it is solved by prescribing the appropriate keys from the git admin panel, etc., or for example by writing http://... instead of https://...
So, something like this here should also be more likely.
The search gave variations of answers like:
vagrant up --clean --insecure
same:
vagrant init laravel/homestead
vagrant up

according to the official docs, also in vagrantfile -->
config.vm.box_download_insecure = true

which didn't work either.
Any substantive answers are welcome

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sergey, 2018-12-10
@dklight

locally base box did not try to hold?
download eg. in ~/Downloads and fetch like
```
basedir = ENV.fetch('HOME','') || ENV.fetch('USERPROFILE', '')
basedir = basedir.gsub('\\', '/')
...
config_vm_box_name = 'trusty-server-amd64-vagrant-selenium.box'
config.vm.box_url = "file://#{basedir}/Downloads/#{config_vm_box_name}"
```

A
almunt, 2020-09-01
@almunt

I got this error when I didn't have enough disk space at the time of download

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question