R
Railway2mo ago
Morgan

502 On websocket

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
ws
wss
http
https
project ID is 34ad0bec-50ae-4468-b26b-155b63b2b733
7 Replies
Percy
Percy2mo ago
Project ID: 34ad0bec-50ae-4468-b26b-155b63b2b733
Brody
Brody2mo ago
please provide a link to the domain
Morgan
MorganOP2mo ago
ws://metis-production.up.railway.app/session @Brody request id is XmS5boHXRPSfxCAB1ho9Mw_2020806880
Brody
Brody2mo ago
firstly, you need to use wss Railway is secure by default, and only secure
Solution
Morgan
MorganOP2mo ago
I did use wss and got the same result, but thank you. i'm not sure how to mark this as solved, but those docs reminded me about the host information thanks brody!
Brody
Brody2mo ago
no problem!
Want results from more Discord servers?
Add your server