Why do I keep getting this error?
aouissa
PROOP

2 months ago

Can't reach database server at junction.proxy.rlwy.net:36033

Please make sure your database server is running at junction.proxy.rlwy.net:36033.

at Zn.handleRequestError (/Users/aous/development/sidejobs-backend/node_modules/@prisma/client/runtime/library.js:121:7759)

at Zn.handleAndLogRequestError (/Users/aous/development/sidejobs-backend/node_modules/@prisma/client/runtime/library.js:121:6784)

at Zn.request (/Users/aous/development/sidejobs-backend/node_modules/@prisma/client/runtime/library.js:121:6491)

at async l (/Users/aous/development/sidejobs-backend/node_modules/@prisma/client/runtime/library.js:130:9778)

at async createSuperAdmin (/Users/aous/development/sidejobs-backend/index.js:919:25)

at async Server.<anonymous> (/Users/aous/development/sidejobs-backend/index.js:958:3) {

clientVersion: '6.9.0',

errorCode: undefined,

retryable: undefined

}

Node.js v22.13.1

$10 Bounty

3 Replies

Railway
BOT

2 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


brody
EMPLOYEE

2 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody about 2 months ago


mateodemuynck
PRO

2 months ago

Hey,
First of all, is your app and your database in the same project ? In this case, you should use private networking for better performance and reduced egress cost. Take a look at this page : https://docs.railway.com/reference/private-networking

Are you sure that your database is exposed on junction.proxy.rlwy.net:36033 ? (For example can you see the content of your DB inside the "Database" tab in Railway ?)


greensandgrains
FREE

2 months ago

hey,
check that the databse is running


Loading...