cloudfoundry-attic / bosh-lite

A lite development env for BOSH
Apache License 2.0
319 stars 245 forks source link

I could not set the API endpoint #433

Closed khirodpatra closed 7 years ago

khirodpatra commented 7 years ago

redeploy cf-release redeploy diego-release

bin/add-route recreate vms using bosh cck

All the vms and instances are up and running But , when I tried to login . it failed as no API endpoint set .

cf login --skip-ssl-validation -u admin

API endpoint> api.bosh-lite.com FAILED Server error, status code: 404, error code: 0, message: khirod@khirod-cf:~/Workspace/bosh-lite$ cf login --skip-ssl-validation -u admin -p admin

API endpoint>

Thanks, Khirod

khirodpatra commented 7 years ago

cf api --skip-ssl-validation https://api.bosh-lite.com Setting api endpoint to https://api.bosh-lite.com... API endpoint not found at 'https://api.bosh-lite.com' FAILED

khirod@khirod-cf:~/Workspace/bosh-lite$ CF_TRACE=true cf api --skip-ssl-validation bosh-lite.com Setting api endpoint to bosh-lite.com... REQUEST: [2017-08-03T15:01:23+05:30] GET /v2/info HTTP/1.1 Host: bosh-lite.com Accept: application/json Content-Type: application/json User-Agent: cf/6.28.0+9e024bd.2017-06-27 (go1.8.3; amd64 linux)

RESPONSE: [2017-08-03T15:01:24+05:30] HTTP/1.1 404 Not Found Content-Length: 65 Content-Type: text/plain; charset=utf-8 Date: Thu, 03 Aug 2017 09:31:24 GMT X-Cf-Routererror: unknown_route X-Content-Type-Options: nosniff X-Vcap-Request-Id: bc7ceb96-dfdb-4e3c-4a5a-f5e3d4ef057b 404 Not Found: Requested route ('bosh-lite.com') does not exist.

null

API endpoint not found at 'https://bosh-lite.com' FAILED

dpb587-pivotal commented 7 years ago

Closing - sounds like you were able to figure it out in #432