Skip to Content
Author's profile photo Former Member

Best Practices, Troubleshooting in Cloud Foundry Setup

Many times during the setup of software we face issues and this become more precarious in the Open Source world. It becomes difficult for us to understand what is the main reason behind those problems.

 

In this post, i will share the solutions for few problems that might occur during Cloud Foundry Setup.

 

 

Usually, after setting up the Cloud Foundry , we login to the Cloud Foundry CLI.

 

It is here that I have observed developers facing issues. To help resolve these issues, I propose the below steps.

Error message: “API Endpoint Login Failed. Service unavailable”


        This is a frequent issue faced while working on Cloud Foundry. It usually occurs when you try to log in to Cloud Foundry CLI.

cf_issues.PNG

Reasons :

   1.    Some processes are not running in the Cloud Foundry (i.e Monsoon Machine).

   2.    Incorrect end point URL.

   3.    Proxy setting are not properly configured in the main machine (i.e where CF CLI is installed).


Solution

  1.    Some processes are not running in the Cloud Foundry (i.e Monsoon Machine)

   a.     Check the status or summary in the Monsoon Machine.

cf_issues_4.PNG

  b.    If some process are not running, start them using monit command.

cf_issues_1.PNG

c. Again Check the status of the processes, and it should be running.

cf_issues_3.PNG

 

d. Now try to login in to Cf CLI.

cf_issues1.PNG

On Successful login, it will show the user,org,space details.

 

I hope this small blog will help developers and Cloud Foundry enthusiasts, in overcoming issues faced in Cloud Foundry Login. In case you are more interested to know about Cloud Foundry and how SAP is using it in its solution , please refer to this nice blog by Rui :The road ahead with SAP HANA Cloud Platform and Cloud Foundry – SAP TechEd Strategy Talk of the week

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.