cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Developing locally with PostgreSQL BTP Instance

jorrevynckier
Explorer
0 Likes
1,638

Hi,

I am trying to run my application locally with data from a deployed BTP PostgreSQL instance. I am successful in running an SSH tunnel and connecting to the DB via DBeaver.

However when I adjust the settings in my CAP Application, I do see during startup that the settings are taken into account correctly.

image.png

However when the application is launched I get an immediate 'Timeout'.

jorrevynckier_0-1724940647205.png

Would anyone be able to assist me? 

Thanks! 

View Entire Topic
gregorw
SAP Mentor
SAP Mentor

To be not blocked in developing I would suggest you use a PostgreSQL docker container during development. Check https://github.com/gregorwolf/pg-beershop and https://github.com/cap-js/cds-dbs/tree/main/postgres for samples.

jorrevynckier
Explorer
0 Likes
Thanks for the suggestion gregor! I was going to try this, but since Dinu found the solution, I will keep this for a future reference.