3 months ago
Hi Railway Support Team,
I'm currently unable to connect to my PostgreSQL PG HA database hosted on Railway. I'm using Prisma as my ORM, and the application is failing to connect to the database pool with the following error:
Please make sure your database server is running at autorack.proxy.rlwy.net:49158. PrismaClientInitializationError: Error querying the database: code: 'P1001', clientVersion: '5.22.0', meta: { modelName: 'iam_users', database_host: 'autorack.proxy.rlwy.net', database_port: 49158 }
This error occurs during initialization and suggests that the connection to the host is being blocked or the pool is not reachable.
What I've tried:
Confirmed that the connection string and credentials are correct.
Restarted the Railway database and my local server.
Verified Prisma schema and environment variables.
Request: Could you please check if the PostgreSQL connection pool for my project is up and accessible from autorack.proxy.rlwy.net:49158
? If there are any issues on the hosting side or configuration updates needed, please let me know.
Thanks in advance for your support!
Best regards,
Megha
Project: R-ECREATE
Database Host: autorack.proxy.rlwy.net:49158
3 Replies
3 months ago
Hello,
Looks like this is no longer happening? what did you do to fix it so I know for future reference.
Best,
Brody
Status changed to Awaiting User Response railway[bot] • 3 months ago
3 months ago
Hi Brody,
Yes, the issue seems to have been resolved after we tried redeploying the R-ECREATE server multiple times. It’s possible that the PostgreSQL connection pool or the networking layer needed a reset on the platform side.
We haven’t changed anything else in terms of schema or environment variables.
Thanks for checking in — happy to provide more details if needed!
Best regards,
Megha
Status changed to Awaiting Railway Response railway[bot] • 3 months ago
Status changed to Awaiting User Response railway[bot] • 3 months ago
Status changed to Solved brody • 3 months ago