New Vagrant Setup

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

New Vagrant Setup

Rajasekhar Reddy Anumula
Hello All,

I'm totally new to Vagrant and trying to set up a vagrant box on my local mac but I keep getting the below error when I try to up the vagrant

/me/ansible>vagrant up
Bringing machine 'web' up with 'virtualbox' provider...
Bringing machine 'db' up with 'virtualbox' provider...
==> web: Box 'nrel/CentOS-6.5-x86_64' could not be found. Attempting to find and install...
    web: Box Provider: virtualbox
    web: Box Version: >= 0
The box 'nrel/CentOS-6.5-x86_64' 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/nrel/CentOS-6.5-x86_64"]
Error: Unsupported proxy 'https://connsvr.abcdcom:8080', libcurl is built without the HTTPS-proxy support.

Below is my Vagrant file 

# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.

box_url = "http://repo.va2.b2c.nike.com/vagrant/download/rhel-7-x86_64-core.json"

Vagrant.configure("2") do |config|

config.vm.box_download_insecure = true
 config.vm.define "acs" do |acs|
 acs.vm.box = "ubuntu/trusty64"
 end

  config.vm.define "web" do |web|
    web.vm.box = "nrel/CentOS-6.5-x86_64"
    web.vm.hostname = "web"
    web.vm.network "private_network", ip: "192.168.33.20"
    web.vm.network "forwarded_port", guest: 80, host: 8080
  end

  config.vm.define "db" do |db|
    db.vm.box = "nrel/CentOS-6.5-x86_64"
    db.vm.hostname = "db"
    db.vm.network "private_network", ip: "192.168.33.30"
  end
end


I was following the documentation on vagrantcloud.com . Any help would be highly appreciated. 

Raj

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/cae8edf0-a546-4528-a15d-a1910d55a8bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: New Vagrant Setup

Alvaro Miranda Aguilera
Hello

Here is the error:
Error: Unsupported proxy 'https://connsvr.abcdcom:8080', libcurl is built without the HTTPS-proxy support.

Can you try to set the proxy var to be http instead of https ?

Alvaro.


On 1 Dec 2017, at 21:18, Rajasekhar Reddy Anumula <[hidden email]> wrote:

Error: Unsupported proxy 'https://connsvr.abcdcom:8080', libcurl is built without the HTTPS-proxy support.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/746A2BC3-BD36-41C4-96CC-F4B8DE137965%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: New Vagrant Setup

Rajasekhar Reddy Anumula
can you tell me how do i do that ?

On Sat, Dec 2, 2017 at 7:39 AM, Alvaro Miranda Aguilera <[hidden email]> wrote:
Hello

Here is the error:
Error: Unsupported proxy 'https://connsvr.abcdcom:8080', libcurl is built without the HTTPS-proxy support.

Can you try to set the proxy var to be http instead of https ?

Alvaro.


On 1 Dec 2017, at 21:18, Rajasekhar Reddy Anumula <[hidden email]> wrote:

Error: Unsupported proxy 'https://connsvr.abcdcom:8080', libcurl is built without the HTTPS-proxy support.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/TXWsPecleII/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/746A2BC3-BD36-41C4-96CC-F4B8DE137965%40gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
Cheers,

Rajasekhar Reddy.A

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CACYbpTm3p9VA2%3DQyJ6wfxQGWRePvu-dMBQgEvF5Wnk9%3Dpn3a5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: New Vagrant Setup

Alvaro Miranda Aguilera
Hello

At some point you or someone did configure a proxy in the machine you are using.

I don't have all the information.

usually is a variable like

http_proxy=
https_proxy=

the value to test:


On Sun, Dec 3, 2017 at 5:41 AM, Rajasekhar Reddy <[hidden email]> wrote:
can you tell me how do i do that ?

On Sat, Dec 2, 2017 at 7:39 AM, Alvaro Miranda Aguilera <[hidden email]> wrote:
Hello

Here is the error:
Error: Unsupported proxy 'https://connsvr.abcdcom:8080', libcurl is built without the HTTPS-proxy support.

Can you try to set the proxy var to be http instead of https ?

Alvaro.


On 1 Dec 2017, at 21:18, Rajasekhar Reddy Anumula <[hidden email]> wrote:

Error: Unsupported proxy 'https://connsvr.abcdcom:8080', libcurl is built without the HTTPS-proxy support.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/TXWsPecleII/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/746A2BC3-BD36-41C4-96CC-F4B8DE137965%40gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
Cheers,

Rajasekhar Reddy.A

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CACYbpTm3p9VA2%3DQyJ6wfxQGWRePvu-dMBQgEvF5Wnk9%3Dpn3a5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewh-ibYi84jTueJgT6VRg7EVf%3DiZjmkYh%2BSkW0uqwzDVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.