Re: cf login fails with "Error finding available orgs"
Daniel Mikusa
Look at your cloud controller logs. You should see some reason for the 500
error. That should give you more clues as to why it's failing.
Dan
toggle quoted message
Show quoted text
error. That should give you more clues as to why it's failing.
Dan
On Tue, Aug 30, 2016 at 12:24 PM, Neil Watson <neil(a)watson-wilson.ca> wrote:
'CF_TRACE=true cf login -u admin' produces the output below. What might
the problem be?
REQUEST: [2016-08-30T13:07:02-04:00]
GET /v2/organizations?order-by=name HTTP/1.1
Host: api.example.com
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Connection: close
Content-Type: application/json
User-Agent: go-cli 6.21.1+6fd3c9f / linux
RESPONSE: [2016-08-30T13:07:02-04:00]
HTTP/1.1 500 Internal Server Error
Connection: close
Content-Length: 21
Content-Type: text/plain
Date: Tue, 30 Aug 2016 16:07:17 GMT
Server: nginx
X-Vcap-Request-Id: 04164af8-e82a-47aa-50be-3bef1b25ab0c
Internal server error
API endpoint: https://api.example.com (API version: 2.59.0)
User: admin
No org or space targeted, use 'cf target -o ORG -s SPACE'
FAILED
Error finding available orgs