xed20
xed20
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
Thanks for helping , I learned new lesson today i guess and sorry for the disturb ❤️
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
I see
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
So i have two choices make the repo public or add connect_timeout=30 it's that correct?
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
It's work now i added connect_timeout=30 as you mentioned above 👍🏻
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
Do i need to add some code to my repo? or just adjust the time out on the Railway
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
I got this error when you Railway DB URL
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server at `containers-us-west-207.railway.app`:`6149`
Please make sure your database server is running at `containers-us-west-207.railway.app`:`6149`.
at r (/app/node_modules/@prisma/client/runtime/library.js:103:2766)
at async Object.connect (/app/db/pgsql.js:7:5)
at async startServer (/app/app.js:71:5) {
clientVersion: '5.0.0',
errorCode: 'P1001'
}
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server at `containers-us-west-207.railway.app`:`6149`
Please make sure your database server is running at `containers-us-west-207.railway.app`:`6149`.
at r (/app/node_modules/@prisma/client/runtime/library.js:103:2766)
at async Object.connect (/app/db/pgsql.js:7:5)
at async startServer (/app/app.js:71:5) {
clientVersion: '5.0.0',
errorCode: 'P1001'
}
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
wait a minute hmm, when i put Railway URL locally its works
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
Oops! sorry
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
yep I know it's localhost I meant either the url from Railway or my localhost url i get the same error message
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
I tried to put pgadmin URL and I got the same error
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server at `localhost`:`5432`
Please make sure your database server is running at `localhost`:`5432`.
at r (/app/node_modules/@prisma/client/runtime/library.js:103:2766)
at async Object.connect (/app/db/pgsql.js:7:5)
at async startServer (/app/app.js:71:5) {
clientVersion: '5.0.0',
errorCode: 'P1001'
}
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server at `localhost`:`5432`
Please make sure your database server is running at `localhost`:`5432`.
at r (/app/node_modules/@prisma/client/runtime/library.js:103:2766)
at async Object.connect (/app/db/pgsql.js:7:5)
at async startServer (/app/app.js:71:5) {
clientVersion: '5.0.0',
errorCode: 'P1001'
}
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
Ok thanks
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
I just restarted now, still show the same error
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
nope
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
ye when I connect locally it's work fine
38 replies
RRailway
Created by xed20 on 7/19/2023 in #✋|help
Error connecting to PostgreSQL PrismaClientInitializationError: Can't reach database server
38 replies
RRailway
Created by xed20 on 4/12/2023 in #✋|help
Internal Server Error
and it's work
22 replies
RRailway
Created by xed20 on 4/12/2023 in #✋|help
Internal Server Error
I create a MongoDB service and change the old URL
22 replies
RRailway
Created by xed20 on 4/12/2023 in #✋|help
Internal Server Error
Bruh it was MongoDB
22 replies
RRailway
Created by xed20 on 4/12/2023 in #✋|help
Internal Server Error
and this is what shown in railway logs
22 replies