HTTP Requests end with 502 error
mevwebdev
TRIALOP

a year ago

requestId:"fFdHYNEMQuq7mgV5I9uh5Q_3500563535"

timestamp:"2025-02-13T14:11:26.385415868Z"

method:"GET"

path:"/api/users/6f247d90-7980-4d78-b6d5-b19d201f88a1"

host:"gymapp-backend-production.up.railway.app"

httpStatus:502

upstreamProto:"HTTP/1.1"

downstreamProto:"HTTP/2.0"

responseDetails:"failed to forward request to upstream: connection refused"

totalDuration:10322

upstreamAddress:"http://[fd12:54f2:580b::2b:1089:8663]:3001"

clientUa:"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"

upstreamRqDuration:10322

txBytes:120

rxBytes:673

srcIp:"89.64.19.229"

edgeRegion:"europe-west4"

Github: https://github.com/MevWebDev/GymApp/blob/main/backend/src/index.ts

Solved

3 Replies

502 HTTP Status Codes mean that Railway's Edge Proxy cannot communicate with your application. Please see Application Failed to Respond in the Docs for more, including common causes and possible solutions.


Status changed to Awaiting User Response Railway 11 months ago


mevwebdev
TRIALOP

a year ago

I managed to fix it by changing port in settings from 3001 to 8080. You can close thread or me idk how it works here. Thank you!


Status changed to Awaiting Railway Response Railway 11 months ago


Thank you for the update, and glad to hear it's resolved. I'll mark the thread as solved.


Status changed to Awaiting User Response Railway 11 months ago


Status changed to Solved christian 11 months ago


Loading...