Curl 无法下载box-';下载远程文件时出错;

Curl 无法下载box-';下载远程文件时出错;,curl,vagrant,Curl,Vagrant,我试图下载一个框,但遇到以下错误: snowch:~/Demo$ vagrant box add zyga/ubuntu-precise-desktop-i386 ==> box: Loading metadata for box 'zyga/ubuntu-precise-desktop-i386' box: URL: https://atlas.hashicorp.com/zyga/ubuntu-precise-desktop-i386 ==> box: Adding bo

我试图下载一个框,但遇到以下错误:

snowch:~/Demo$ vagrant box add zyga/ubuntu-precise-desktop-i386
==> box: Loading metadata for box 'zyga/ubuntu-precise-desktop-i386'
    box: URL: https://atlas.hashicorp.com/zyga/ubuntu-precise-desktop-i386
==> box: Adding box 'zyga/ubuntu-precise-desktop-i386' (v1.0) for provider: virtualbox
    box: Downloading: https://vagrantcloud.com/zyga/boxes/ubuntu-precise-desktop-i386/versions/1.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 1403398904 bytes remaining to read
如果我尝试使用curl下载,我会得到:

snowch:~/Demo$ curl --insecure -L -v https://vagrantcloud.com/zyga/boxes/ubuntu-precise-desktop-i386/versions/1.0/providers/virtualbox.box
...
* SSLv3, TLS alert, Client hello (1):
* transfer closed with 1403398904 bytes remaining to read
* Closing connection 1
* SSLv3, TLS alert, Client hello (1):
curl: (18) transfer closed with 1403398904 bytes remaining to read
我的流浪版本是:

snowch:~/Demo$ vagrant --version
Vagrant 1.7.3

有什么想法吗?

你可以看看流浪汉在用什么做:

export VAGRANT_LOG=debug
我想这可能是阿特拉斯的一个错误。我会打哈希科

用于下载框的完整命令如下所示:

curl -q \
--fail \
--location \
--max-redirs 10 \
--user-agent Vagrant/1.7.2 \
--continue-at - \
--output test.box \
https://atlas.hashicorp.com/zyga/boxes/ubuntu-precise-desktop-i386/versions/1.0/providers/virtualbox.box

我可以用同样的盒子和vagrant 1.7.2复制这个。但我仍然可以从Atlas下载其他盒子。我假设盒子后面有一个坏的二进制文件。感谢您尝试并反馈您的结果。