cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with connection to postgresql from SAP CAP app in BAS

friscas
Explorer
0 Kudos
121

Hi Everyone,

when i run the command cds deploy, i get the following error:

$ cds deploy --tunnel-address localhost:5432
/> deployment to localhost:5432 failed

TimeoutError: ResourceRequest timed out

 

I do have the ssh tunnel running on port 5432, the PostgreSQL instance is working fine when i connect to it from my local machine via DBeaver but for some reason i can not deploy changes, when inspecting the env via "cds env" i do see the correct username, password and database name, so i really dont understand why i can not cds deploy my tables.

View Entire Topic
t00707
Newcomer
0 Kudos
Hi @friscas, did you whitelist the IP address of your BAS workspace / region?
If not the following resources might help you:
friscas
Explorer
0 Kudos
hi @t00707, i am using the free postgresql for testing so i dont have to do that, also if whitelisting is required than why am i able to connect to it from my local machine? And isn't the ssh tunnel exactly for that?