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
Project ID:
4e0e0d14-5b54-44b7-b26d-a4c411a49d98
4e0e0d14-5b54-44b7-b26d-a4c411a49d98
who is the custom domain with for nameservers?
bought from dot tech and managed in vercel
can you define "not working"
socket call fails ERR_NAME_NOT_RESOLVED
the problem is, it works with one network, but not in another
can you send me a link to a site where i can see that error for myself
Cibo | Elevate your dining experience
Cibo - Elevate your dining experience
give me a min
Can you please try again
what should i be doing to get the error?
maybe try switching networks?
I'm getting this error
what other networks do i have to switch to
For me when it works in one network, ah idk if this makes sense ;-;
im sorry but i cant reproduce, its seeming like an issue with your network
any idea why this happens? when i try with my wifi it works. when i try with my mobile hotspot it fails (different provider).
i wouldnt know, but we wouldnt be able to help you with networking troubles
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?
networking issues are a funny thing, this is not a platform issue
I get it, is there anything specific I should configure to support websockets?
as previously mentioned this would be a networking issue and is completely outside of the control of anything to do with railway
okay cool! thank you for your time :)
will try to figure it out