Davo
Explore posts from serversStruggling to configure pgvector db
Hi,
I have deployed the standard pg-vector template, but when I try and connect to it via psql like the following
psql -d ${PGDATABASE} -h ${viaduct.proxy.rlwy.net} -p ${PGPORT} -U ${PGUSER}
I get the following error
psql: error: connection to server at, port failed: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
Maybe someone can advice the best way to connect to the db / if there is something I am doing wrong? Do I need to change any environment variables e.g.?
5 replies
Cors Problems
Hi
I'm trying to host an express server and whenever I make requests from my front end I am getting cors problems.
my backend has app.use(cors()) and I do not get these issues when running my backend locally (on a different port to my front end)
I don't think the server is crashing as I can visit the pages in my browser and it works correctly
any ideas?
8 replies