Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

SSL read error while downloading juniper/netdevops-ubuntu-1404-headless #4

Open
amulheirn opened this issue Aug 25, 2015 · 2 comments

Comments

@amulheirn
Copy link

Hi - not sure if I am doing the right thing logging an issue here. If this is the wrong thing to do, please let know where to post this problem and feel free to close the issue.

I have Mac with Yosemite and VMWare Fusion. I wanted to try the JNPRAutomateDemo-Class out, and followed the instructions under installingsoftware.md

  1. Downloaded Vagrant
  2. downloaded the two plugins (had to do the second one twice before it worked)
  3. downloaded VirtualBox 5.0.0 r101573.
  4. Selected VirtualBox when downloading the Ubuntu image, but it fails, and I am not sure what the error means. The transcript of what happened is below.

Any help would be appreciated.

Andy

---------- Output ------------

Andrews-MacBook-Pro:~ amulheirn$ vagrant plugin install vagrant-junos
Installing the 'vagrant-junos' plugin. This can take a few minutes...
Installed the plugin 'vagrant-junos (0.2.0)'!
Andrews-MacBook-Pro:~ amulheirn$ vagrant plugin install vagrant-host-shell
Installing the 'vagrant-host-shell' plugin. This can take a few minutes...
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

Net::HTTPNotFound: No gems found matching "vagrant-vmware-fusion" "3.2.11" nil

Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.
Andrews-MacBook-Pro:~ amulheirn$ vagrant plugin install vagrant-host-shell
Installing the 'vagrant-host-shell' plugin. This can take a few minutes...
Installed the plugin 'vagrant-host-shell (0.0.4)'!
Andrews-MacBook-Pro:~ amulheirn$ vagrant box add juniper/netdevops-ubuntu1404-headless
==> box: Loading metadata for box 'juniper/netdevops-ubuntu1404-headless'
    box: URL: https://atlas.hashicorp.com/juniper/netdevops-ubuntu1404-headless
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.

1) virtualbox
2) vmware_desktop

Enter your choice: 1
==> box: Adding box 'juniper/netdevops-ubuntu1404-headless' (v0.2.6) for provider: virtualbox
    box: Downloading: https://atlas.hashicorp.com/juniper/boxes/netdevops-ubuntu1404-headless/versions/0.2.6/providers/virtualbox.box
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 54
Andrews-MacBook-Pro:~ amulheirn$ vagrant box add juniper/netdevops-ubuntu1404-headless
==> box: Loading metadata for box 'juniper/netdevops-ubuntu1404-headless'
    box: URL: https://atlas.hashicorp.com/juniper/netdevops-ubuntu1404-headless
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.

1) virtualbox
2) vmware_desktop

Enter your choice: 1
==> box: Adding box 'juniper/netdevops-ubuntu1404-headless' (v0.2.6) for provider: virtualbox
    box: Downloading: https://atlas.hashicorp.com/juniper/boxes/netdevops-ubuntu1404-headless/versions/0.2.6/providers/virtualbox.box
==> box: Box download is resuming from prior download progress
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

HTTP server doesn't seem to support byte ranges. Cannot resume.
Andrews-MacBook-Pro:~ amulheirn$ ls
@RobWC
Copy link
Contributor

RobWC commented Sep 2, 2015

I have seen this issue as well. In my experience it is caused by some issues with how atlas redirects you to AWS S3 for the download. Let me assign this to my Vagrant lead.

@wilmington
Copy link

Is the Ubuntu box (or an update) as referenced in the vagrantfile available?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants