All configured using Resource Manager.
I can query and see all the tables in the remote database inside wappler and on PG Admin.
Deployment with no errors, but when try to run an server connect using the remote IP:
{
"status": "500",
"message": "Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?",
"stack": "KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?\n at Client_PG.acquireConnection (/opt/node_app/node_modules/knex/lib/client.js:332:26)\n at async Runner.ensureConnection (/opt/node_app/node_modules/knex/lib/execution/runner.js:305:28)\n at async Runner.run (/opt/node_app/node_modules/knex/lib/execution/runner.js:30:19)\n at async App.custom (/opt/node_app/lib/modules/dbupdater.js:367:23)\n at async App._exec (/opt/node_app/lib/core/app.js:636:30)\n at async App.exec (/opt/node_app/lib/core/app.js:572:9)\n at async App.define (/opt/node_app/lib/core/app.js:554:9)"
}
well the Database manager is using the public connection to the DO database, while server connect (which now fails with error) is using the private one.
Normally private one should be fine between servers when your server and DO managed database server - if those are in the same data center.
In short make sure that your server (droplet) and the managed database are in the same VPC (private network) so they can be accessed via the private connection.