2 years ago
my application has errors when using @postgres.railway but not when using @autorack.proxy.rlwy. Some idea?
23 Replies
2 years ago
please provide the actual error message
Invalid prisma.user.findUnique() invocation: Can't reach database server at postgres.railway.internal:5432 Please make sure your database server is running at postgres.railway.internal:5432.
2 years ago
are these errors you are getting locally or on railway
2 years ago
locally or on Railway?
2 years ago
locally you need to use the public url
2 years ago
then you don't use the public url
2 years ago
English only please
2 years ago
on vercel you need to use the public url
2 years ago
yes it will cost you egress
ahhhhh so if my application was in railway I should use the private url but since I am in vercel I should use the public url. TRUE?
2 years ago
correct
2 years ago
no problem
2 years ago
!s
Status changed to Solved brody • over 1 year ago

