Closed mskadu closed 9 years ago
I figured it looks like the code is stumbling tried to parse the contents of the proxy. so I've tried changing it to the following varieties:
http://XX.Y.ZZ.80:9090 XX.Y.ZZ.80:9090
No luck :-(
Hi,
vagrant-proxyconf should not even kick in with vagrant login
. I assume that output comes from the closed-source vagrant-share plugin. (News to me it even tries to fetch vagrant-proxyconf settings.)
Do you have https_proxy set in your environment variables in the shell? Does it have the http://
prefix?
I just realized I did have proxy environment variables :-( Removing them completely caused the following error
vagrant login In a moment we will ask for your username and password to HashiCorp's Atlas. After authenticating, we will store an access token locally on disk. Your login details will be transmitted over a secure connection, and are never stored on disk locally.
If you do not have an Atlas account, sign up at https://atlas.hashicorp.com. Atlas Username: my_username Password (will be hidden): proxyconf... vagrant-proxyconf plugin installed, looking for proxies... C:/Vagrant/embedded/lib/ruby/2.0.0/net/http.rb:878:in
initialize': A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) (Errno::ETIMEDOUT) from C:/Vagrant/embedded/lib/ruby/2.0.0/net/http.rb:878:in
open' from C:/Vagrant/embedded/lib/ruby/2.0.0/net/http.rb:878:inblock in connect' from C:/Vagrant/embedded/lib/ruby/2.0.0/timeout.rb:52:in
timeout' from C:/Vagrant/embedded/lib/ruby/2.0.0/net/http.rb:877:inconnect' from C:/Vagrant/embedded/lib/ruby/2.0.0/net/http.rb:862:in
do_start' from C:/Vagrant/embedded/lib/ruby/2.0.0/net/http.rb:851:instart' from C:/Vagrant/embedded/gems/gems/rest-client-1.6.9/lib/restclient/request.rb:206:in
transmit' from C:/Vagrant/embedded/gems/gems/rest-client-1.6.9/lib/restclient/request.rb:68:inexecute' from C:/Vagrant/embedded/gems/gems/rest-client-1.6.9/lib/restclient/request.rb:35:in
execute' from C:/Vagrant/embedded/gems/gems/rest-client-1.6.9/lib/restclient.rb:74:inpost' from C:/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/commands/login/client.rb:48:in
block in login' from C:/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/commands/login/client.rb:92:inwith_error_handling' from C:/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/commands/login/client.rb:45:in
login' from C:/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/commands/login/command.rb:61:inexecute' from C:/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/cli.rb:42:in
execute' from C:/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:301:incli' from C:/Vagrant/embedded/gems/gems/vagrant-1.7.4/bin/vagrant:174:in
'
But I am guessing this is vagrant telling me it can't connect to the internet.
So I guess this sorts the problem. Appreciate your quick response :)
I am going through the demo and use you excellent plugin for working with my company's proxy. I am hitting an error when I use the "vagrant login" command. The other usual commands like up, halt, reload, etc seem to work without a hitch.
Here's my Vagrantfile:
and here's what the error looks like:
I have the latest of Virtualbox and Vagrant as of the time of writing this post. Let me know if you need further details.