hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.05k stars 4.42k forks source link

VAGRANT BOX ADD UBUNTU/FOCAL64 ERROR #13255

Closed Tonnamiacart closed 9 months ago

Tonnamiacart commented 10 months ago

I am getting this any time I try to add my 'vagrant box add ubuntu/focal64' , Is there a way I can resolve this?

The box 'ubuntu/focal64' 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. Also, please double-check the name. The expanded URL and error message are shown below:

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

I am getting this any time I try to add my 'vagrant box add ubuntu/focal64' , Is there a way I can resolve this?

branzoo77 commented 10 months ago

We experienced the exact same problem, and it turned out to be caused by a firewall blocking the connection to vagrant's online servers. After whitelisting: https://vagrantcloud.com cloud-images.ubuntu.com the box could be added by 'vagrant box add ubuntu/focal64' without issue (although with some waiting time)

kaitlincart commented 10 months ago

Hi @Tonnamiacart were you able to resolve the issue? Is Vagrant Cloud on your allowlist?

chrisroberts commented 9 months ago

Hi there,

This has been fixed via #13214 and will be included in the next release. The following workaround can be used if this error is encountered.

Cheers!