Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File download aborts, vagrant up cannot continue #84

Closed
mariannemyers opened this issue Nov 23, 2015 · 2 comments
Closed

File download aborts, vagrant up cannot continue #84

mariannemyers opened this issue Nov 23, 2015 · 2 comments
Assignees
Milestone

Comments

@mariannemyers
Copy link

I encountered the following error while trying to setup a new VM:

    dib-ml1: Downloading: https://atlas.hashicorp.com/grtjn/boxes/centos-6.7/versions/2.2.0/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.

transfer closed with 31511811 bytes remaining to read

Retrying vagrant up --no-provision

    dib-ml1: Downloading: https://atlas.hashicorp.com/grtjn/boxes/centos-6.7/versions/2.2.0/providers/virtualbox.box
==> dib-ml1: 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.

The download of the above virtualbox.box file somehow terminated.

I was able to resolve this error, but removing the following file:
~/.vagrant.d/tmp/boxaec5ab74a7694fd5e752da440626f8a69973800c

After deleting the above file, running vagrant up --no-provision again was able to complete successfully. The hash for this download is likely different per each system, but should have a timestamp of close to when the vagrant up failed.

We should add this to a troubleshooting guide.

@grtjn grtjn added this to the 1.0.1 milestone Nov 26, 2015
@grtjn
Copy link
Owner

grtjn commented Nov 26, 2015

Vagrant might also provide a nicer command to flush temp files, would have to search on internet..

@grtjn grtjn modified the milestones: 1.0.1, 1.0.2 Apr 12, 2016
@grtjn grtjn modified the milestones: 1.0.2, 1.0.3 Sep 9, 2016
@grtjn grtjn modified the milestones: 1.0.3, 1.0.4 Nov 25, 2016
@grtjn
Copy link
Owner

grtjn commented Nov 25, 2016

It might have been very straight-forward actually. There is a vagrant box command with options like update and remove. I should add a section for that in the README..

@grtjn grtjn removed the help wanted label Nov 25, 2016
@grtjn grtjn modified the milestones: 1.0.3, 1.0.4 Nov 25, 2016
@grtjn grtjn self-assigned this Nov 25, 2016
@grtjn grtjn closed this as completed in aa1038d Nov 25, 2016
grtjn added a commit that referenced this issue Nov 25, 2016
…ox download, changing mem/cpu, and extending disk space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants