;-) Funny he client.rb open_http': *407 Proxy Authentication Required (OpenURI::H**T* indicates that you're using the proxy already. To solve it I have two ideas:
1. change your proxy variable in your env to: export http_proxy=http://user:[email protected]:port (same for export http*s* _proxy) 2. Ensure that you use nat if you're within a company network that bind's your workstation IP to the proxy. Also, in that case the proxy credentials could be your windows AD credentials. Hope that helps! - Daniel Am Dienstag, 22. Juli 2014 22:02:15 UTC+2 schrieb Tiago Braga Machado: > > Hello, > > When I use the Chef-Solo with recipe_url, I receive the error bellow: > > /usr/lib/ruby/1.9.1/open-uri.rb:346:in open_http': 407 Proxy > Authentication Required (OpenURI::HTTPError) from > /usr/lib/ruby/1.9.1/open-uri.rb:775:inbuffer_open' > from /usr/lib/ruby/1.9.1/open-uri.rb:203:in block in open_loop' from > /usr/lib/ruby/1.9.1/open-uri.rb:201:incatch' > from /usr/lib/ruby/1.9.1/open-uri.rb:201:in open_loop' from > /usr/lib/ruby/1.9.1/open-uri.rb:146:inopen_uri' > from /usr/lib/ruby/1.9.1/open-uri.rb:677:in open' from > /usr/lib/ruby/1.9.1/open-uri.rb:33:inopen' > from > /var/lib/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:196:in > block > in reconfigure'from > /var/lib/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:195:in > open' > from > /var/lib/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/solo.rb:195:in > reconfigure' from > /var/lib/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:65:inrun' > from /var/lib/gems/1.9.1/gems/chef-11.12.8/bin/chef-solo:25:in <top > (required)>' from /usr/local/bin/chef-solo:23:inload' > from /usr/local/bin/chef-solo:23:in `' > Chef never successfully completed! Any errors should be visible in the > output above. Please fix your recipes so that they properly complete. > > The configuration's plugin vagrant-proxyconf is correct, because before > the chef-solo, I use the apt-get that works fine. > > Thanks. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
