面临同样的问题,我得到的解决方案是切换到vmc
. (我在 Windows 64 位上并使用 ruby 1.9.3-p327 x64 构建)
C:\Windows\system32>cf target api.cloudfoundry.com
Setting target to https://api.cloudfoundry.com... OK
C:\Windows\system32>cf login
target: https://api.cloudfoundry.com
Email> amol#####e@gmail.com
Password> ******
Authenticating... FAILED
Password> ******
Authenticating... FAILED
Password> ******
Authenticating... FAILED
在我切换到vmc
C:\Windows\system32>vmc target api.cloudfoundry.com
Setting target to https://api.cloudfoundry.com... OK
C:\Windows\system32>vmc login
target: https://api.cloudfoundry.com
Email> amol######e@gmail.com
Password> ******
Authenticating... OK
cf
与 cloud_controller v1 不兼容,vmc
仅支持 v1 系统...(来源cf
和vmc
)快乐探索..