將目標設置爲api.cloudfoundry.com後,我無法登錄到「cf登錄」。無法使用cf命令登錄
我很確定我的憑據,因爲我可以登錄到login.cloudfoundry.com。
可能與新版本有關嗎?
我已經看到了一些時候,你問cf login -t output
所以,這裏是我的: 爲*****
Authenticating. --->
request: post https://uaa.cloudfoundry.com/oauth/token
headers: content-typeapplication/x-www-form-urlencoded;charset=utf-8acceptapplication/json;charset=utf-8authorizationBasic Y2Y6
body: grant_type=password&username=bertyno%40yahoo.es&password=******
...<---
response: 401
headers: content-typeapplication/json;charset=utf-8servernginxkeep-alivetimeout=20dateMon, 13 May 2013 12:19:13 GMTtransfer-encodingchunkedwww-authenticateBasic realm="UAA/client", error="unauthorized", error_description="No client with requested id: cf"cache-controlno-storeconnectionclose
body: {"error":"unauthorized","error_description":"No client with requested id: cf"}
--->
request: post https://uaa.cloudfoundry.com/oauth/authorize?redirect_uri=https%3A%2F%2Fuaa.cloudfoundry.com%2Fredirect%2Fcf&client_id=cf&response_type=token&state=2b7fbfd964323e8c639da0157c00435b
headers: content-typeapplication/x-www-form-urlencoded;charset=utf-8acceptapplication/json;charset=utf-8
body: username=bertyno%40yahoo.es&password=******&source=credentials
...<---
response: 401
headers: pragmano-cache, no-cachecontent-languageen-UScontent-typeapplication/json;charset=UTF-8servernginxkeep-alivetimeout=20dateMon, 13 May 2013 12:19:14 GMTtransfer-encodingchunkedcache-controlno-cache, no-store, no-cache, no-store, max-age=0expiresThu, 01 Jan 1970 00:00:00 GMT, Thu, 01 Jan 1970 00:00:00 GMTconnectionclose
body: {"error":"invalid_client","error_description":"Bad client credentials"}
... FAILED
由於更改密碼。
請注意,目前我確實已登錄。然而,我無法做更多的事情:http://stackoverflow.com/questions/17056241/unable-to-select-a-space-or-join-an-organization-on-run-pivotal-io – hmalphettes 2013-06-12 01:14:03