Vagrant 默认值:警告:连接重置.重试 [英] Vagrant Default: Warning: Connection reset. Retrying

查看:46
本文介绍了Vagrant 默认值:警告:连接重置.重试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已建立的连接被主机中的软件中止.(Errno::ECONNABORTED)

An established connection was aborted by the software in your host machine. (Errno::ECONNABORTED)

流浪版本:1.9.4虚拟盒:5.1.22视窗 8

Vagrant Version : 1.9.4 VirtualBox : 5.1.22 Windows 8

推荐答案

这是 vagrant 1.9.4 版本中的已知问题,1.9.5 版本将提供修复,这里是 vagrant 社区贡献者的评论和修复.(文本是从此处复制粘贴的)

It is known issue in vagrant 1.9.4 version and fix will come along version 1.9.5 and here is the comment and fix from vagrant community contributors. (text is copy pasted from here)

想在电脑上修复,不用等 1.9.5 的可以替换 vagrant 安装目录下 #8526 修改的 3 个文件.

Those who want to fix it now in your computer without waiting for 1.9.5 can replace 3 files changed in #8526 in vagrant installation directory.

例如在 windows 中,这些文件位于

For example in windows, those files are located in

C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/templates/locales/en.ymlC:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/errors.rbC:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/communicators/ssh/communicator.rb

C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/templates/locales/en.yml C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/errors.rb C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/communicators/ssh/communicator.rb

用新的 en.ymlerrors.rbcommunicator.rb

那你就可以走了.它在我的 Windows 10 机器上运行.一个问题是在 Windows 中,您必须更改目录的文件夹权限才能编辑或创建新文件.

Then you are good to go. It worked on my Windows 10 machine. One gotcha is in Windows, you have to change folder permission of the directory to edit or create new files.

补丁文件:

https://github.com/mitchellh/vagrant/pull/8526/files#diff-1d7075fd091c37ce5438eb221ed0b025

这篇关于Vagrant 默认值:警告:连接重置.重试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆