pg library and connection to vercel PSQL
So i have been trying for a long time to connect my project to my PSQL on vercel but wiht close to no luck at all, I can easily connect the thing to my other databases that are hosted on platfroms like DigitalOcean (tried both the one on my VM and the other one that they provide) seems to work fine and here is where things become strange i connected vercels PSQL to my PGAdmin4 thing works like a charm, as soon as i change my env config in the app the thing throws an xx000 error, i tired a bunch of things but am currently stuc.....
Solution:Jump to solution
So... (feeling a bit stupid ) if someone ecounters this error just add a query param to the connectionString => ?sslmode=require and it will start working.....
1 Reply
Solution
So... (feeling a bit stupid ) if someone ecounters this error just add a query param to the connectionString => ?sslmode=require and it will start working.....