on 12-05-2023 12:51 PM
Hi I have create an CAP application backed by PostgreSQL Database. When I do cds deploy --profile pg, it is giving the below error.
deployment to postgres-50b4fd02-0cbd-4da0-99aa-c4b4c5a74525.cqryblsdrbcs.us-east-1.rds.amazonaws.com:2732 failed
TimeoutError: ResourceRequest timed out
package.json
"cds": {
"requires": {
"db": {
"[pg]": {
"kind": "postgres",
"credentials": {
"host": "postgres-50b4fd02-0cbd-4da0-99a***********25.cqryblsdrbcs.us-east-1.rds.amazonaws.com",
"port": 2732,
"user": "**************",
"password": "************",
"database": "***************"
}
}
}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
did you create the database (in your package.json --> "***********") in PostgreSQL DB? It is mandatory that you not only get the PostgreSQL DB server running and create the user/pwd defined in package.json in PostgreSQL, but you also need to create the database on the PostgreSQL server yourself. The tool pgAdmin4 offers a "Create Database" functionality. Just provide the name and user, and you should be fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.