Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 10 not able to fetch box #4

Open
hershaw opened this issue Feb 20, 2017 · 1 comment
Open

Windows 10 not able to fetch box #4

hershaw opened this issue Feb 20, 2017 · 1 comment

Comments

@hershaw
Copy link
Owner

hershaw commented Feb 20, 2017

"~\Documents\GitHub\data-science-101 [master ≡]> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'ubuntu/trusty64' could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp's Atlas, 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://atlas.hashicorp.com/ubuntu/trusty64"]
Error: SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.

The box is public so it is definitely available. It seems to be a problem having to do with curl on windows 10 not being able to fetch the certificate.

The specs are as follows:

Win10 v1607
Intel Celeron N2830 2.16Ghz CPU
4GB RAM
Toshiba Satellite c50-b-138
@LuPissarra
Copy link

New machine:
ASUS X541UV
Win10 Home ed 10.0.1393
Intel i5 6200 @ 2.30Ghz
8GB RAM
256GB SSD

Error:
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
~\Documents\GitHub> cd C:\Users\Luísa\Documents\GitHub\data-science-101
~\Documents\GitHub\data-science-101 [master ≡]> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/trusty64'
default: URL: https://atlas.hashicorp.com/ubuntu/trusty64
The box 'ubuntu/trusty64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, 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://atlas.hashicorp.com/ubuntu/trusty64
Error: Failed writing body (0 != 4661)
~\Documents\GitHub\data-science-101 [master ≡]>

Tried setting VAGRANT_HOME=C:\Program Files (x86)\Vagrant: had instaled VAGRANT in C:\HashiCorp\Vagrant, the default/suggested logation, so I uninstalled it and reinstalled it in C:\Program Files (x86)\Vagrant.

Still similar error.

Looking this up found: http://stackoverflow.com/questions/35519389/vagrant-cannot-find-box.
It might be an issue of non-latin characters. Because when I run debug I find: INFO global: VAGRANT_OLD_ENV_HOME="C:\Users\Lu\xA1sa"
INFO global: VAGRANT_OLD_ENV_HOMEDRIVE="C:"
INFO global: VAGRANT_OLD_ENV_HOMEPATH="\Users\Lu\xA1sa"

Created new user with strictly-ASCII characters & repeated install of VAGRANT.
Great Success, as Borat would say!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants