#WebSocket connection to failed

8 messages · Page 1 of 1 (latest)

brisk silo
#

I don't know how to speak English, so I'm sorry for any mistakes.

I'm trying to deploy a java + springboot application from a 'chat', but when I access the website it throws the error in the console: WebSocket connection to 'wss://filpo.com.br/conect' failed:

What to do?

Project ID:
2ab54472-74e4-44b5-96f9-19f6139b46a2

tribal thornBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

exotic templeBOT
#

Project ID: 2ab54472-74e4-44b5-96f9-19f6139b46a2

somber heath
#

Is your websocket listening on the correct port? ( the one railway provides )

#

After checking the DNS records, it doesn't seem like your domain is properly configured on Railway at all, you still need to provide a CNAME record

I see you already have cloudflare nameservers configured, so you just need to remove the A record and add the CNAME record with the values railway provides when you add a custom domain

brisk silo
#

Are you talking about this port?

#

I got it, thank you very much