Websocket connection fails for custom domain but works for railway generated domain

NestJs, socket.io connection is working for the domain generated by railway but not for the my custom domain. All my other rest api is working for my custom domain. only websocket is not working for my custom domain.I got green check in the custom domain setup.Am i missing some other configuration?
25 Replies
Percy
Percy6mo ago
Project ID: 4e0e0d14-5b54-44b7-b26d-a4c411a49d98
3ncryptツ
3ncryptツOP6mo ago
4e0e0d14-5b54-44b7-b26d-a4c411a49d98
Brody
Brody6mo ago
who is the custom domain with for nameservers?
3ncryptツ
3ncryptツOP6mo ago
bought from dot tech and managed in vercel
Brody
Brody6mo ago
can you define "not working"
3ncryptツ
3ncryptツOP6mo ago
socket call fails ERR_NAME_NOT_RESOLVED the problem is, it works with one network, but not in another
Brody
Brody6mo ago
can you send me a link to a site where i can see that error for myself
Brody
Brody6mo ago
No description
3ncryptツ
3ncryptツOP6mo ago
give me a min Can you please try again
Brody
Brody6mo ago
No description
Brody
Brody6mo ago
what should i be doing to get the error?
3ncryptツ
3ncryptツOP6mo ago
maybe try switching networks?
3ncryptツ
3ncryptツOP6mo ago
I'm getting this error
No description
Brody
Brody6mo ago
what other networks do i have to switch to
Brody
Brody6mo ago
No description
3ncryptツ
3ncryptツOP6mo ago
For me when it works in one network, ah idk if this makes sense ;-;
Brody
Brody6mo ago
im sorry but i cant reproduce, its seeming like an issue with your network
3ncryptツ
3ncryptツOP6mo ago
any idea why this happens? when i try with my wifi it works. when i try with my mobile hotspot it fails (different provider).
Brody
Brody6mo ago
i wouldnt know, but we wouldnt be able to help you with networking troubles
3ncryptツ
3ncryptツOP6mo ago
but its works for both with the domain generated by railway are you sure this is network problem? if yes, then it should not work for the domain given by railway as well right?
Brody
Brody6mo ago
networking issues are a funny thing, this is not a platform issue
3ncryptツ
3ncryptツOP6mo ago
I get it, is there anything specific I should configure to support websockets?
Brody
Brody6mo ago
as previously mentioned this would be a networking issue and is completely outside of the control of anything to do with railway
3ncryptツ
3ncryptツOP6mo ago
okay cool! thank you for your time :) will try to figure it out
Want results from more Discord servers?
Add your server