当运行指令Cf IC登录我得到如下异常:cf ic登录失败。验证错误= InvalidToken
$ cf ic login
Deleting the old configuration file...
Retrieving client certificates for IBM Containers...
INFO: 2016/08/02 11:17:44 Auth Error: {
"code": "IC5097E",
"description": "The bearer token is not valid: AUTH_WITH_NO_NAMESPACE. Log in to Cloud Foundry again to generate new token.",
"incident_id": "1407-1470129461.247-5923962",
"name": "InvalidToken",
"rc": "401",
"type": "Infrastructure"
}
FAILED
A problem occurred with the login. Your session might have expired. Use "cf ic login" to log in again.
我试过注销后再登录,但同样会抛出异常。
有人知道这个问题吗?
欢迎来到Stackoverflow!您能否详细说明您的问题,比如代码或其他事情,以便人们能够尽早解决问题并帮助您?谢谢! – JRSofty
您是否使用“cf登录”登录了Cloud Foundry/Bluemix? –
是的,首先我执行cf登录(一切正常),然后我执行cf ic登录。只有在http://api.eu-gb.bluemix.net上有此错误。在http://api.ng.bluemix.net上,我可以用cf ic login登录并且没有错误。 –