Unable to start Figaf App because of missing Database

Unable to start Figaf App because of missing Database

We experienced an issue that the Postgresql figaf-db did not respond when trying to deploy Figaf Tool. 
Also the Figaf app was crashed because of something. 

Once we ran CF deploy we got the error
Quote
For application 'xxx-figaf-app': For service 'figaf-db': Service broker error: Service broker backing-services-broker-postgresql-db-cf-xxx failed with: Service binding could not be created: connect ECONNREFUSED 10.16.1.1.1:5858

It was not possible to figure out what the reason was. To fix it we tried to change the Postgresql service 


Then we pressed next and changed the maintenance window


Then we run cf deploy command again and see the app running. 

Next time a good idea may be to create a service key for the database as described here. Then check the health of the database. 


    • Related Articles

    • Connection to Your SAP BTP PostgreSQL Database

      Install the Cloud Foundry CLI (if needed) If you don’t already have the cf CLI on your machine, follow the installers or download a compressed binary from the V8 CLI Installation Guide: ...
    • Postgres Database Resources Monitor

      Monitoring the health and performance of your PostgreSQL database is not just a technical requirement—it’s an investment in your users’ experience. A well-tuned, responsive database minimizes delays, ensuring smooth interactions, reducing timeouts, ...
    • Transport of scheduled start with external parmeters

      If you have an iflow that starts with a scheduled start in your iflow, how can modify this as you transport it. Once you are on the scheduled start you can select Externalice and then create a variable for how the flow should be configured. The iflow ...
    • Replace Figaf License id

      To replace the license ID in the Figaf tool, follow these steps in order: Connect to your SAP PostgreSQL service Open a terminal (with the Cloud Foundry CLI installed) and follow the instructions here to establish a direct psql connection: ...
    • Setting global ICO logging/staging configuration for PI agents in the Figaf tool

      For the Figaf tool, it's important to know relevant logging and staging configuration used on the PI system. This configuration helps to perform better analysis of the Integration scenarios and gives more automation for testing. In other words, these ...