Closed lazycatit closed 6 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/145904799
The labels on this github issue will be updated when the story is started.
The issue is likely that you are not specifying the correct CF API endpoint url. Please contact your platform operator to confirm what it should be.
We'll improve the error message, but what seems to be happening is that the cf CLI tries to retrieve a json configuration from [api-endpoint]/v2/info, but not getting the response it expects. It then builds a URL to the login endpoint from the "authorization_endpoint" that should be advertised in that json configuration. As that field is not in your response, it tries to access "/login" instead of e.g. "https://xxx.predix-uaa.run.aws-usw02-pr.ice.predix.io/login", causing the error.
CF endpoint urls generally start with "api.". In fact, I've never seen one starting differently.
Closing, assuming no longer an issue.
I'm trying to login Cloud Foundry endpoint. But when I connect by Cloud Foundry CLI, I get a error message below:
What can I do now? Please help!
And here is the JSON formatted list.