Perry R. G.
Perry R. G.

Reputation: 51

Unable to log-in from Cloud Foundry CLI to Bluemix Dedicated

I am unable to log-in to my Bluemix Dedicated instance from the Cloud Foundry CLI. I get a "FAILED" status, saying

"Server error, status code: 404, error code: 0, message:"

I am trying to use the API endpoint of myapp.subdomain.bluemix.net. This is what is listed in my Bluemix app dashboard as the route to my app.

Upvotes: 1

Views: 76

Answers (2)

joe
joe

Reputation: 2488

When you log into Bluemix using Cloud Foundry, set your API endpoint to:

https://api.ng.bluemix.net (or whatever region/subdomain you are currently using).


See the complete docs here:

https://console.ng.bluemix.net/docs/cli/reference/cfcommands/index.html

Upvotes: 0

data_henrik
data_henrik

Reputation: 17118

The API endpoint for your Bluemix Dedicated environment is relative to the base URL. In your case it would be:

https://api.subdomain.bluemix.net

Some background on Bluemix Public and the API endpoints is here.

Upvotes: 1

Related Questions