2 years ago
Hi, I'm looking to deploy documenso via Railway. However, despite the trouble-free build of the postgre server and the project, no possibility to register because the database is not accessible.
This is my first time using Railway.
Can't reach database server at postgres.railway.internal:5432
Please make sure your database server is running at postgres.railway.internal:5432.
at Cn.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:123:7090)
at Cn.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:123:6206)
at Cn.request (/app/node_modules/@prisma/client/runtime/library.js:123:5926)
at async l (/app/node_modules/@prisma/client/runtime/library.js:128:9968)
at async h (/app/apps/web/.next/server/pages/api/trpc/[trpc].js:1:86420)
at async /app/apps/web/.next/server/pages/api/trpc/[trpc].js:1:100134
at async resolveMiddleware (file:///app/node_modules/@trpc/server/dist/index.mjs:420:30)
at async callRecursive (file:///app/node_modules/@trpc/server/dist/index.mjs:456:32)
at async callRecursive (file:///app/node_modules/@trpc/server/dist/index.mjs:456:32)
at async resolve (file:///app/node_modules/@trpc/server/dist/index.mjs:486:24) {
clientVersion: '5.4.2',
errorCode: undefined
}
--
I use ${{Postgres.DATABASEPRIVATEURL}}
so i dont now why it is not good.
3 Replies
2 years ago
Please see this docs section -
https://docs.railway.app/guides/private-networking#initialization-time
2 years ago
Hello again, your solution, is not solving the problem.
Attachments
2 years ago
That does not mean your service will not be able to access it, did you need to access the database publicly?