配置: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
这就是我得到的:
Setting target to https://api.cloudfoundry.com ... FAILED Errno::ETIMEDOUT: 连接尝试失败,因为连接方在一段时间后没有正确响应,或者建立连接失败,因为连接的主机没有响应. - connect(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:inblock in connect' C:/Ruby193/lib/ruby/1.9.1/timeout.rb:54:in
timeout' 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:indo_start' C:/Ruby193/lib/ruby/1.9.1/net/http.rb:744:in
start' 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:inget' 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:in run'mothershiptarget' mothership-0.3.5/lib/mothership/base.rb:61:in
-0.3.5/lib/mothership/command.rb:68:inblock in invoke' mothership-0.3.5/lib/mothership/command.rb:82:in
instance_exec'mothership-0.3.5/lib/mothership/command.rb:82:在invoke' mothership-0.3.5/lib/mothership/base.rb:50:in
执行'vmc-0.4.7/lib/vmc/cli.rb:106:in start'vmcexecute' mothership-0.3.5/lib/mothership.rb:45:in
-0.4.7/bin/vmc:11:in<top (required)>' C:/Ruby193/bin/vmc:23:in
load'C:/Ruby193/bin/vmc:23:in `'
你能帮忙吗?
提前致谢。