Trouble connecting to db.prisma.io via pgbouncer
I debuged for 6+ hours on my own and could not connect to my prisma postgres instance via pgbouncer.
I was able to do so with an RDS instance and a local postgres SQL instance.
Please help me debug it
I can successfully connect to the db.prisma.io instance from the pgbouncer VPS with this command
psql -h db.prisma.io -p 5432 -U username -d postgres
This is my /etc/pgbouncer/pgbouncer.ini file:
And I have the password on userlist.txt file as plaintext ("username" "password"
I generated a server.crt from cloudflare
Am trying to connect to the pgbouncer instance from my machine with command postgresql://username@ec2-instance-ip:6432/postgres?sslmode=require
But I always get a connection timeout error2 Replies
You selected the carefully hand-crafted route. A dev artisan will respond soon. Meanwhile, the
#ask-ai channel awaits if you're curious!up