SSL error when connecting to database

Hello!

I’m trying to deploy a Vendure app with the render Postgres database. I can connect via terminal no problem using the connection string in my render dashboard, but when I try to connect using vendure, I get this error:

[dev:*worker] error 11/18/22, 10:15 AM - [TypeOrmModule] Unable to connect to the database. Retrying (1)...
[dev:*worker] Error: write EPROTO 8677598720:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1546:SSL alert number 80

I find the documentation to be a bit light here - how can I connect my database?

Where are you connecting to the database from? Is it from a Render service, are you using the internal or external connection string?

John B