0

配置: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: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 run'mothership target' mothership-0.3.5/lib/mothership/base.rb:61:in-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:在invoke' mothership-0.3.5/lib/mothership/base.rb:50:in执行'vmc-0.4.7/lib/vmc/cli.rb:106:in start'vmc execute' mothership-0.3.5/lib/mothership.rb:45:in-0.4.7/bin/vmc:11:in <top (required)>' C:/Ruby193/bin/vmc:23:inload'C:/Ruby193/bin/vmc:23:in `'

你能帮忙吗?

提前致谢。

4

2 回答 2

1

使用最新的 vmc 应该不需要代理设置。

于 2013-02-13T00:55:26.180 回答
0

杰罗姆,我正准备报告同样的问题。此外,根据知识库文章,我在系统环境级别(windows xp)设置代理值。没运气。另外,正如一些人建议的那样,我将代理设置为http://proxy.vmware.com:3128。再次,没有运气。希望这是云铸造的暂时性而非致命性问题。

于 2013-01-09T15:05:52.423 回答