SSL 读取:错误:00000000:lib(0):func(0):reason(0),errno 60

SSL 读取:错误:00000000:lib(0):func(0):reason(0),errno 60

我尝试安装 vagrant,但出现此错误,我不明白为什么。请帮忙

SOPHEAKs-MacBook-Pro:Vagrant sopheak$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'hashicorp/precise64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'hashicorp/precise64'
    default: URL: https://atlas.hashicorp.com/hashicorp/precise64
==> default: Adding box 'hashicorp/precise64' (v1.1.0) for provider: virtualbox
    default: Downloading: https://atlas.hashicorp.com/hashicorp/boxes/precise64/versions/1.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.

SSL read: error:00000000:lib(0):func(0):reason(0), errno 60
SOPHEAKs-MacBook-Pro:Vagrant sopheak$ 

答案1

errno 60 是套接字超时。我最近也在 hashicorp 的服务器上看到了这种情况。重试可能会清除。 vagrant up将恢复 box 下载,而不是从头开始,因此这应该会很快进行。

相关内容