Connect vercel
Anonymous
HOBBYOP

2 months ago

Hello I am trying to connect my websocket on railway to my vercel project, but it dont work. I dont know how to troubleshoot it and how to find problem.

$10 Bounty

4 Replies

skyfallwastaken
HOBBY

2 months ago

Hey, what do you mean by "connect my websocket on railway to my vercel project"? Do you mean that you have a WebSocket server running on Railway, which you want your Vercel project to be able to connect to?


skyfallwastaken
HOBBY

2 months ago

+ could you share your Railway/Vercel URLs and any error messages/logs you have?


Anonymous
HOBBYOP

2 months ago

Yes as you said, I want Railway to run my websocket. I tried to connect it through env variables but I dont know how to test it


skyfallwastaken
HOBBY

2 months ago

Let's say your domain is example.railway.app and you have the server running at /connect, the WebSocket URL will be wss://example.railway.app/connect. If you can share your code, env var names, or your domain name connected to Railway (which you can see by clicking on your app -> Settings -> Public Networking)


Loading...