I created a cloud database on DO using the Resouce Manager and successfully deployed my project. However I get this error in the browser console.
{
"status": "500",
"code": "28000",
"message": "no pg_hba.conf entry for host "my_droplet_ip_address", user "doadmin", database "defaultdb", no encryption",
"stack": "error: no pg_hba.conf entry for host "my_droplet_ip_address\", user "doadmin", database "defaultdb", no encryption\n at Parser.parseErrorMessage (/opt/node_app/node_modules/pg-protocol/dist/parser.js:283:98)\n at Parser.handlePacket (/opt/node_app/node_modules/pg-protocol/dist/parser.js:122:29)\n at Parser.parse (/opt/node_app/node_modules/pg-protocol/dist/parser.js:35:38)\n at Socket. (/opt/node_app/node_modules/pg-protocol/dist/index.js:11:42)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)"
}
I have added both the local machine and droplet IPs to the trusted sources.
I added the DO SSL certificate when creating the remote target. The SSL is saved under the app folder.
Any idea how to solve this?

