Deploy Node.js/Socket io to Railway
kareemabbas1
PROOP

a year ago

I'm trying to deploy a chat servcie build using node.js and socket io, despite the deployment is successfull and I can test some HTTP endpoints, I'm unable to connect to the socket server and unable to use any of the socket events.

Solved

3 Replies

unicodeveloper
PRO

a year ago

Please can you show me how you are connecting to the socket server via your code?


Status changed to Awaiting User Response Railway about 1 year ago


unicodeveloper

Please can you show me how you are connecting to the socket server via your code?

kareemabbas1
PROOP

a year ago

Sorry for the disturbance, it was related to the secure connection. Sorry it's my first time to deploy a websocket server. I had to wss:// instead of ws://


Status changed to Awaiting Railway Response Railway about 1 year ago


unicodeveloper
PRO

a year ago

Awesome, that's why I wanted to see a snapshot of you connecting. I wanted to be sure you were using the right protocol.

Glad you figured it out. Enjoy!


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved brody about 1 year ago


Loading...