websocket deployment help

10 months ago

why is it all red ? <:sad_hamster:1280780987504267328> is there any issue

Solved$10 Bounty

18 Replies

10 months ago

Your service is just logging in the “error” level.

Everything looks good from those logs


10 months ago

The real test is if the service is actually live


10 months ago

oh okay


10 months ago

well i am struggling with that


10 months ago

  "requestId": "HR07G1esTsyVzgu40ubPiw",
  "timestamp": "2025-10-10T13:13:04.413010174Z",
  "method": "GET",
  "path": "/ws",
  "host": "vote-websocket-vote.up.railway.app",
  "httpStatus": 502,
  "upstreamProto": "",
  "downstreamProto": "HTTP/1.1",
  "responseDetails": "Retried single replica",
  "totalDuration": 1,
  "upstreamAddress": "",
  "clientUa": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
  "upstreamRqDuration": 1,
  "txBytes": 109,
  "rxBytes": 831,
  "srcIp": "223.236.245.148",
  "edgeRegion": "asia-southeast1-eqsg3a",
  "upstreamErrors": "[{\"deploymentInstanceID\":\"f8840c6f-669b-4020-81d7-018d8ba18492\",\"duration\":0,\"error\":\"connection refused\"},{\"deploymentInstanceID\":\"f8840c6f-669b-4020-81d7-018d8ba18492\",\"duration\":0,\"error\":\"connection refused\"},{\"deploymentInstanceID\":\"f8840c6f-669b-4020-81d7-018d8ba18492\",\"duration\":0,\"error\":\"connection refused\"}]"
}```


10 months ago

i will just try allowing all origins


10 months ago

and check if it works


10 months ago

Wouldn’t throw 502 if origin not allowed


10 months ago

Is your domain pointing to 8080?


10 months ago

yes


10 months ago

8080 is where my frontend runs


10 months ago

1426197729348026388


10 months ago

yes it was a port error


10 months ago

i had it pointed to 8081 but my ws was running on 8080


10 months ago

Awesome.


10 months ago

1426197930817228842


10 months ago

thanks.


Status changed to Solved brody 10 months ago


10 months ago

!s


Welcome!

Sign in to your Railway account to join the conversation.

Loading...