Facing Deployment issue
rafi170996
HOBBYOP

4 months 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

0 Replies

rafi170996
HOBBYOP

4 months ago

project -ID -
b9c5de14-a3b8-45b8-89f1-cd6436cb3152


adam
MODERATOR

4 months ago

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


rafi170996
HOBBYOP

4 months 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"}]"

1405518473177600300


adam
MODERATOR

4 months ago

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


rafi170996
HOBBYOP

4 months ago

okay let me check and let you know


adam
MODERATOR

4 months ago

!s


Status changed to Solved adam 4 months ago


Loading...