I am running this client on Bun, and upon running it, it always runs into a code "CONNECT_TIMEOUT" error on even the first request. My connection setup is:
db = postgres(process.env.DB_CONNECTION_STRING!, {
host: process.env.DB_HOST, // Postgres ip address[s] or domain name[s]
port: Number(process.env.DB_PORT), // Postgres server port[s]
database: process.env.DB_NAME, // Name of database to connect to
username: process.env.DB_USERNAME, // Username of database user
password: process.env.DB_PASSWORD // Password of database user
});
I don't really know whats going on, but was wondering if I was doing something wrong or if this is a known issue.
I am running this client on Bun, and upon running it, it always runs into a code "CONNECT_TIMEOUT" error on even the first request. My connection setup is:
I don't really know whats going on, but was wondering if I was doing something wrong or if this is a known issue.