g0t4 / consul-getting-started

This is a sample repo of examples for getting started with Consul. It even includes a multi datacenter example with 14 VMs to allow you to simulate failures in a multi DC environment!
81 stars 71 forks source link

SSL read error: 104 #13

Open shivam-880 opened 5 years ago

shivam-880 commented 5 years ago

Keep getting following error for vagrant up

Bringing machine 'consul-server' up with 'virtualbox' provider...
==> consul-server: Box 'wesmcclure/ubuntu1404-docker' could not be found. Attempting to find and install...
    consul-server: Box Provider: virtualbox
    consul-server: Box Version: >= 0
==> consul-server: Loading metadata for box 'wesmcclure/ubuntu1404-docker'
    consul-server: URL: https://vagrantcloud.com/wesmcclure/ubuntu1404-docker
==> consul-server: Adding box 'wesmcclure/ubuntu1404-docker' (v2.0.18) for provider: virtualbox
    consul-server: Downloading: https://vagrantcloud.com/wesmcclure/boxes/ubuntu1404-docker/versions/2.0.18/providers/virtualbox.box
==> consul-server: Box download is resuming from prior download progress
    consul-server: Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

SSL read: error:00000000:lib(0):func(0):reason(0), errno 104

Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "wesmcclure/ubuntu1404-docker"

  config.vm.define "consul-server" do |cs|
    cs.vm.hostname = "consul-server"
    cs.vm.network "private_network", ip: "172.20.20.31"
  end
end
shivam-880 commented 5 years ago

Alongside this issue, I was even having trouble updating my linux system.

Failed to download repository information.

Fixing which fixed SSL read issue also. I am not sure how they are related but it worked! https://itsfoss.com/failed-to-download-repository-information-ubuntu-13-04/