【问题标题】:Can't install Laravel homestead using Vagrant on Windows 10无法在 Windows 10 上使用 Vagrant 安装 Laravel 宅基地
【发布时间】:2021-06-30 18:31:40
【问题描述】:

我刚刚下载了最新版本的 Vagrant 2.2.15 和 VMware。我试着跑了

vagrant box add laravel/homestead

但我明白了

The box 'laravel/homestead' could not be found or could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via

vagrant login。另外,请仔细检查名称。扩大的 URL 和错误信息如下所示:

URL: ["https://vagrantcloud.com/laravel/homestead"]
Error: schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

检查https://app.vagrantup.com/laravel/boxes/homestead后我运行

vagrant init laravel/homestead

然后尝试运行

vagrant up

但我从来没有让它工作并不断收到相同的错误消息。我找到了这个解决方案https://github.com/hashicorp/vagrant/issues/6764 并安装了MS Visual C++ 2010 x86 Redistributables ,但无法运行vagrant up,或者在上次更新后甚至不知道如何安装宅基地。我曾经多次以相同的方式安装它而没有问题,但今天我不能

我试过了

vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead

但我明白了

There was an error while downloading the metadata for this box.
The error message is shown below:

schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

我在这里检查了.vagrant.d\tmp 的温度,但它是空的。 在 Windows 10 上安装和运行 laravel homestead 有什么帮助吗?

【问题讨论】:

  • 我有同样的问题,安装 vc2010 不起作用,但后来我暂停了我的防病毒保护IT WORKS

标签: laravel vagrant homestead


【解决方案1】:

禁用防病毒软件(在我的例子中是卡巴斯基)为我解决了这个问题。

【讨论】:

  • 奇怪,但这也是我的问题,它也对我有用(禁用卡巴斯基 5 分钟,直到启动“vagrant up”命令)
  • 这对我来说也是一个使用 Kasperspy 的问题。禁用它,工作正常。
【解决方案2】:

我们最近在使用 2.2.15 版本的 Vagrant 时也遇到了这个错误。降级到 Vagrant 2.2.14 是我们的答案。这可能是一个 Vagrant 错误。

【讨论】:

  • 我在使用全新安装的 Vagrant 2.2.18 时遇到了同样的错误。关闭我的病毒防护 (Symantec) 并重试 Vagrant Up 导致同样的错误。按照您的“提示”,我支持从补丁 #18 到 #14 安装 Vagrant(我尝试了从 .18 到 .14 的所有安装)。 14 岁时,vagrant 正确启动了 VB 托管的 Debian 11 和 10 VM。谢谢提示。
【解决方案3】:

对我来说,它也是卡巴斯基,但您不必每次都禁用它,您可以将例外添加到卡巴斯基网络受信任地址

打开卡巴斯基

  1. 点击左下角的齿轮。
  2. 打开网络设置
  3. 点击可信地址
  4. 添加:vagrantcloud.com
  5. 保存
  6. 测试
    vagrant up
    vagrant box add laravel/homestead

我假设如果您遇到此问题并且它正在使用其他防病毒软件,则问题/解决方案是相同的,或者可能是某些代理拦截了 https 流量。


【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-03-07
    • 1970-01-01
    • 1970-01-01
    • 2021-01-22
    • 2017-09-13
    • 2016-04-17
    • 2019-02-08
    • 2017-11-11
    相关资源
    最近更新 更多