Facing Deployment issue
rafi170996
HOBBYOP

a year ago

i have uploaded the DB and backend code and added the DB environment variables into backend variables and changed some DB config in code side but even after changing this 502 bad gateway issue i share a scrrenshot and kindly guide me to fix this issue .

requestId:

"qFQTp0L9QGqpdpp-acI7Nw"

timestamp:

"2025-08-14T09:59:47.415854475Z"

method:

"GET"

path:

"/"

host:

"medyaanvetbackend-production.up.railway.app"

httpStatus:

502

upstreamProto:

""

downstreamProto:

"HTTP/2.0"

responseDetails:

"Retried single replica"

totalDuration:

15169

upstreamAddress:

""

clientUa:

"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"

upstreamRqDuration:

15012

txBytes:

4682

rxBytes:

799

srcIp:

"14.195.196.110"

edgeRegion:

"asia-southeast1-eqsg3a"

upstreamErrors:

"[{"deploymentInstanceID":"71684870-bb4f-4c58-81fa-3b2caef71817","duration":5007,"error":"connection dial timeout"},{"deploymentInstanceID":"71684870-bb4f-4c58-81fa-3b2caef71817","duration":5000,"error":"connection dial timeout"},{"deploymentInstanceID":"71684870-bb4f-4c58-81fa-3b2caef71817","duration":5005,"error":"connection dial timeout"}]"

Solved

6 Replies

rafi170996
HOBBYOP

a year ago

project -ID -

b9c5de14-a3b8-45b8-89f1-cd6436cb3152


a year ago

Please send logs from your backend. Frontend logs are not super helpful here


rafi170996
HOBBYOP

a year ago

HTTP logs and

requestId:

"qFQTp0L9QGqpdpp-acI7Nw"

timestamp:

"2025-08-14T09:59:47.415854475Z"

method:

"GET"

path:

"/"

host:

"medyaanvetbackend-production.up.railway.app"

httpStatus:

502

upstreamProto:

""

downstreamProto:

"HTTP/2.0"

responseDetails:

"Retried single replica"

totalDuration:

15169

upstreamAddress:

""

clientUa:

"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"

upstreamRqDuration:

15012

txBytes:

4682

rxBytes:

799

srcIp:

"14.195.196.110"

edgeRegion:

"asia-southeast1-eqsg3a"

upstreamErrors:

"[{"deploymentInstanceID":"71684870-bb4f-4c58-81fa-3b2caef71817","duration":5007,"error":"connection dial timeout"},{"deploymentInstanceID":"71684870-bb4f-4c58-81fa-3b2caef71817","duration":5000,"error":"connection dial timeout"},{"deploymentInstanceID":"71684870-bb4f-4c58-81fa-3b2caef71817","duration":5005,"error":"connection dial timeout"}]"

1405518473177600130


a year ago

Seems like your code is not responding to the request. Please follow these docs to troubleshoot your error


rafi170996
HOBBYOP

a year ago

okay let me check and let you know


a year ago

!s


Status changed to Solved adam 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...