502 On websocket
morgandri1
HOBBYOP

2 years 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

Closed

10 Replies

2 years ago

please provide a link to the domain


morgandri1
HOBBYOP

2 years ago

ws://metis-production.up.railway.app/session


morgandri1
HOBBYOP

2 years ago

@Brody request id is XmS5boHXRPSfxCAB1ho9Mw_2020806880


2 years ago

firstly, you need to use wss


2 years ago

Railway is secure by default, and only secure


2 years ago

ssecondly, please read this docs page -


morgandri1
HOBBYOP

2 years ago

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


morgandri1
HOBBYOP

2 years ago

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


morgandri1
HOBBYOP

2 years ago

thanks brody!


2 years ago

no problem!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...