vmc target error ETIMEDOUT behind firewall

767 Views Asked by At

Config: Windows 7 64 bits Ruby19.3 vmc 0.4.7

From a Admin Command Prompt, I've issued

$ set http_proxy=http://j.bosman:[email protected]:8080
$ set https_proxy=https://j.bosman:[email protected]:8080
$ vmc target https://api.cloudfoundry.com -t

This is what I get:

Setting target to https://api.cloudfoundry.com... FAILED Errno::ETIMEDOUT: 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) For more information, see ~/.vmc/crash

And the content of the crash file:

Time of crash: 2013-01-09 10:24:53 +0000

Errno::ETIMEDOUT: 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)

C:/Ruby193/lib/ruby/1.9.1/net/http.rb:762:in initialize' C:/Ruby193/lib/ruby/1.9.1/net/http.rb:762:inopen' C:/Ruby193/lib/ruby/1.9.1/net/http.rb:762:in block in connect' C:/Ruby193/lib/ruby/1.9.1/timeout.rb:54:intimeout' C:/Ruby193/lib/ruby/1.9.1/timeout.rb:99:in timeout' C:/Ruby193/lib/ruby/1.9.1/net/http.rb:762:inconnect' C:/Ruby193/lib/ruby/1.9.1/net/http.rb:755:in do_start' C:/Ruby193/lib/ruby/1.9.1/net/http.rb:744:instart' cfoundry-0.4.18/lib/cfoundry/baseclient.rb:124:in request_uri' cfoundry-0.4.18/lib/cfoundry/baseclient.rb:45:inrequest' cfoundry-0.4.18/lib/cfoundry/baseclient.rb:41:in request_path' cfoundry-0.4.18/lib/cfoundry/baseclient.rb:190:inrequest_with_options' cfoundry-0.4.18/lib/cfoundry/baseclient.rb:194:in get' cfoundry-0.4.18/lib/cfoundry/client.rb:44:ininfo' cfoundry-0.4.18/lib/cfoundry/client.rb:35:in new' vmc-0.4.7/lib/vmc/cli.rb:354:inclient' vmc-0.4.7/lib/vmc/cli/start/target.rb:53:in block in target' interact-0.5.1/lib/interact/progress.rb:98:inwith_progress' vmc-0.4.7/lib/vmc/cli/start/target.rb:52:in target' mothership-0.3.5/lib/mothership/base.rb:61:inrun' mothership-0.3.5/lib/mothership/command.rb:68:in block in invoke' mothership-0.3.5/lib/mothership/command.rb:82:ininstance_exec' mothership-0.3.5/lib/mothership/command.rb:82:in invoke' mothership-0.3.5/lib/mothership/base.rb:50:inexecute' vmc-0.4.7/lib/vmc/cli.rb:106:in execute' mothership-0.3.5/lib/mothership.rb:45:instart' vmc-0.4.7/bin/vmc:11:in <top (required)>' C:/Ruby193/bin/vmc:23:inload' C:/Ruby193/bin/vmc:23:in `'

Could you possibly help?

Thanks in advance.

2

There are 2 best solutions below

0
On

Using the latest vmc should require no proxy settings.

3
On

Jerome, I was just preparing to report this same problem. In addition, as per a knowledge base article, I set the proxy values at the system environment level (windows xp). No luck. Also, as some have suggested, I set the proxy to http://proxy.vmware.com:3128. Again, no luck. Hope this is a temporary, not fatal, problem with cloud foundry.