cf login fails with "Error finding available orgs"
Neil Watson
'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 |
|