-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 7 machines cannot download hashicorp/precise64 box #3586
Comments
I actually work on Windows and don't have this issue. Also, I click that link and it works just fine. Please check your firewall and network settings to make sure you can access the website. |
I'm having the same problem. I can reach the URL via web browser. Vagrant cannot. I am behind a corporate firewall. I'm having trouble finding a solution for setting Vagrant to work with our firewall. |
@steveo250k did you try to setup the proxy on the command line ? |
I don't think so, but you gave me some more keywords to search on. I found this: and notice there is no vagrant-proxyconf plugin which I assume I need. So I ran: So now the question is why can't I install vagrant-proxyconf? |
Update: This also means I'm able to connect to the internet via vagrant. But I'm still getting this error: URL: ["https://vagrantcloud.com/hashicorp/precise32"] |
if those are environment variable can you try to set: export http_proxy= and also try vagrant box add hashicorp/precise32 On Fri, Sep 5, 2014 at 12:44 AM, steveo250k notifications@github.com
|
Running vagrant in a CMD terminal on Windows 7, I had the same problem with a corporate proxy. I set both HTTP_PROXY and HTTPS_PROXY, and then "vagrant box add ubuntu/trusty64" was successful. |
i had also this error |
Had the same issue; in my case adding the port explicitly to the HTTP_PROXY/HTTPS_PROXY worked. |
i am having the same issue. I was able to download the precise64,box from my corporate desktop, but my vagrant comand fails. i had setup the http_proxy as HTTP_PROXY'"http://hproxy.hh.local:3128" in system variables in a windows 7 machine. |
I was facing the same issue in Windows 8. C:\Users\workspace\bosh-lite>vagrant up URL: ["https://atlas.hashicorp.com/cloudfoundry/bosh-lite"] setting the http_proxy and https_proxy from command line fixed the issue. C:\Users\workspace\bosh-lite>set http_proxy=http://[corporate proxy]:8080 C:\Users\workspace\bosh-lite>set https_proxy=http://[corporate proxy]:8080 |
Same case for me , the HTTP / HTTPS proxy setting worked. |
how do you set port? via command git |
SOLUTION FOR USERS WITH DIRECT CONNECTION TO INTERNET: Go to Mu$tdie firewall settings, add allowing rules for: |
You can download the box file and add it locally . That also works. |
hello reddy can you send me details on local download and get vagrant up. Thanks |
error message Bringing machine 'oob-mgmt-server' up with 'virtualbox' provider... URL: ["https://vagrantcloud.com/CumulusCommunity/vx_oob_server"] |
For reference and what it's worth: I've today run into this same issue. The issue is basically that that there seems to be some inconsistency in respect of the proxy environment variables used/supported by different vagrant sub-commands. Some support lower case while some require upper case only. To reiterate, some vagrant commands/subcommands require the capitalized HTTP_PROXY variables to be set while others work with the lower case versions. This seems at the very least surprising and arguably less than friendly behaviour. Background: I'm reinstalling vagrant today on my PC. During the setup I set the http_proxy and https_proxy variables in order to enable me to successfully run "vagrant plugin repair" and "vagrant login". However following this, running "vagrant box add ...." still failed with:
I then searched and found this issue, from which I got the idea to also set the capitalized environment varaibles e.g. HTTP_PROXY and HTTPS_PROXY. After doing so the "vagrant box add ..." command started working as expected. Obviously it would be better if all the vagrant command supported both lower and uppercase environment variables. |
Facing same issue, ran below command and its working fine |
Make sure that your corporate proxy is set as follows: Note: Dont put 's' in your HTTPS_PROXY variable value |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Attempts to download the hashicorp/precise64 box fails on windows 7 running vagrant 1.5.4 with the following error:
C:\Users\xxxx\Documents\GitHub\opg-backoffice-deploy>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'hashicorp/precise64' could not be found. Attempting to find an
d install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'hashicorp/precise64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on Vagrant Cloud, please verify you're logged in via
vagrant login
. Also, please double-check the name. The expandedURL and error message are shown below:
URL: ["https://vagrantcloud.com/hashicorp/precise64"]
Error: Failed connect to vagrantcloud.com:443; No error
This works fine on on Ubuntu 12.04 and Mac OSX 10.9.2
To reproduce on a windows system, run the following 2 commands in an empty directory:
vagrant init hashicorp/precise64
vagrant up
Thanks
The text was updated successfully, but these errors were encountered: