websocket deployment help

7 months ago

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

Solved$10 Bounty

18 Replies

7 months ago

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

Everything looks good from those logs


7 months ago

The real test is if the service is actually live


7 months ago

oh okay


7 months ago

well i am struggling with that


7 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\"}]"
}```


7 months ago

i will just try allowing all origins


7 months ago

and check if it works


7 months ago

Wouldn’t throw 502 if origin not allowed


7 months ago

Is your domain pointing to 8080?


7 months ago

yes


7 months ago

8080 is where my frontend runs


7 months ago

1426197729348026388


7 months ago

yes it was a port error


7 months ago

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


7 months ago

Awesome.


7 months ago

1426197930817228842


7 months ago

thanks.


Status changed to Solved brody 7 months ago


7 months ago

!s


Welcome!

Sign in to your Railway account to join the conversation.

Loading...