配置: Windows 7 64位 Ruby19.3 vmc 0.4.7
从管理员命令提示符,我已发出
$ set http_proxy=http://j.bosman:XXXXXX@10.1.1.2:8080
$ set https_proxy=https://j.bosman:XXXXXX@10.1.1.2:8080
$ vmc target https://api.cloudfoundry.com -t
这就是我得到的:
将目标设定为https://api.cloudfoundry.com ...失败 Errno :: ETIMEDOUT:连接尝试失败,因为连接方在一段时间后没有正确响应,或者由于连接主机无法响应而建立连接失败。 - 连接(2) 有关更多信息,请参阅〜/ .vmc / crash
崩溃文件的内容:
你能帮忙吗?崩溃时间: 2013-01-09 10:24:53 +0000
Errno :: ETIMEDOUT:连接尝试失败,因为连接方在一段时间后没有正确响应,或者由于连接主机无法响应而建立连接失败。 - 连接(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:in
open' C:/Ruby193/lib/ruby/1.9.1/net/http.rb:762:在block in connect' C:/Ruby193/lib/ruby/1.9.1/timeout.rb:54:in
超时' C:/Ruby193/lib/ruby/1.9.1/timeout.rb:99:intimeout' C:/Ruby193/lib/ruby/1.9.1/net/http.rb:762:in
connect' C:/Ruby193/lib/ruby/1.9.1/net/http.rb:755:在do_start' C:/Ruby193/lib/ruby/1.9.1/net/http.rb:744:in
开始' cfoundry-0.4.18 / lib / cfoundry / baseclient.rb:124:inrequest_uri' cfoundry-0.4.18/lib/cfoundry/baseclient.rb:45:in
request' cfoundry-0.4.18 / lib / cfoundry / baseclient.rb:41:inrequest_path' cfoundry-0.4.18/lib/cfoundry/baseclient.rb:190:in
request_with_options' cfoundry-0.4.18 / lib / cfoundry / baseclient.rb:194:get' cfoundry-0.4.18/lib/cfoundry/client.rb:44:in
info' cfoundry-0.4.18 / lib / cfoundry / client.rb:35:innew' vmc-0.4.7/lib/vmc/cli.rb:354:in
client' vmc-0.4.7 / lib / vmc / cli / start / target.rb:53:inblock in target' interact-0.5.1/lib/interact/progress.rb:98:in
with_progress' vmc-0.4.7 / lib / vmc / cli / start / target.rb:52:intarget' mothership-0.3.5/lib/mothership/base.rb:61:in
run' motherhip-0.3.5 / lib / mothership / command.rb:68:inblock in invoke' mothership-0.3.5/lib/mothership/command.rb:82:in
instance_exec' motherhip-0.3.5 / lib / mothership / command.rb:82:ininvoke' mothership-0.3.5/lib/mothership/base.rb:50:in
执行' vmc-0.4.7 / lib / vmc / cli.rb:106:在execute' mothership-0.3.5/lib/mothership.rb:45:in
开始' vmc-0.4.7 / bin / vmc:11:在<top (required)>' C:/Ruby193/bin/vmc:23:in
load'中 C:/ Ruby193 / bin / vmc:23:在''
提前致谢。
答案 0 :(得分:1)
使用最新的vmc应该不需要代理设置。
答案 1 :(得分:0)