R
Railway12mo ago
Mateus

WebSocket connection to failed

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
No description
6 Replies
Percy
Percy12mo ago
Project ID: 2ab54472-74e4-44b5-96f9-19f6139b46a2
Fragly
Fragly12mo ago
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
Mateus
Mateus12mo ago
Are you talking about this port?
Mateus
Mateus12mo ago
No description
Mateus
Mateus12mo ago
I got it, thank you very much
Fragly
Fragly12mo ago
no problem :)
Want results from more Discord servers?
Add your server