502 On websocket
morgandri1
HOBBYOP

a year ago

Hello!
I'm currently developing a websocket app which i've (finally) verified i can connect to when running locally. following prior advice from railway, i ripped out all the TLS logic. When trying to connect to my websocket server on railway, I get hit with 502 errors. i've tried the following protocols before the url:

ws
wss
http
https

project ID is 34ad0bec-50ae-4468-b26b-155b63b2b733

10 Replies

a year ago

please provide a link to the domain


morgandri1
HOBBYOP

a year ago


morgandri1
HOBBYOP

a year ago

@Brody request id is XmS5boHXRPSfxCAB1ho9Mw_2020806880


a year ago

firstly, you need to use wss


a year ago

Railway is secure by default, and only secure


a year ago

ssecondly, please read this docs page -


morgandri1
HOBBYOP

a year ago

I did use wss and got the same result, but thank you.


morgandri1
HOBBYOP

a year ago

i'm not sure how to mark this as solved, but those docs reminded me about the host information


morgandri1
HOBBYOP

a year ago

thanks brody!


a year ago

no problem!


Loading...