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

2 years ago

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?

0 Replies

en3rypt
HOBBYOP

2 years ago

4e0e0d14-5b54-44b7-b26d-a4c411a49d98


brody
EMPLOYEE

2 years ago

who is the custom domain with for nameservers?


en3rypt
HOBBYOP

2 years ago

bought from dot tech and managed in vercel


brody
EMPLOYEE

2 years ago

can you define "not working"


en3rypt
HOBBYOP

2 years ago

socket call fails ERRNAMENOT_RESOLVED


en3rypt
HOBBYOP

2 years ago

the problem is, it works with one network, but not in another


brody
EMPLOYEE

2 years ago

can you send me a link to a site where i can see that error for myself



brody
EMPLOYEE

2 years ago

1247233867505733600


en3rypt
HOBBYOP

2 years ago

give me a min


en3rypt
HOBBYOP

2 years ago

Can you please try again


brody
EMPLOYEE

2 years ago

1247235056632860700


brody
EMPLOYEE

2 years ago

what should i be doing to get the error?


en3rypt
HOBBYOP

2 years ago

maybe try switching networks?


en3rypt
HOBBYOP

2 years ago

I'm getting this error

1247235386175131600


brody
EMPLOYEE

2 years ago

what other networks do i have to switch to


brody
EMPLOYEE

2 years ago

1247235831379394600


en3rypt
HOBBYOP

2 years ago

For me when it works in one network, ah idk if this makes sense ;-;


brody
EMPLOYEE

2 years ago

im sorry but i cant reproduce, its seeming like an issue with your network


en3rypt
HOBBYOP

2 years 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
EMPLOYEE

2 years ago

i wouldnt know, but we wouldnt be able to help you with networking troubles


en3rypt
HOBBYOP

2 years ago

but its works for both with the domain generated by railway


en3rypt
HOBBYOP

2 years ago

are you sure this is network problem? if yes, then it should not work for the domain given by railway as well right?


brody
EMPLOYEE

2 years ago

networking issues are a funny thing, this is not a platform issue


en3rypt
HOBBYOP

2 years ago

I get it, is there anything specific I should configure to support websockets?


brody
EMPLOYEE

2 years ago

as previously mentioned this would be a networking issue and is completely outside of the control of anything to do with railway


en3rypt
HOBBYOP

2 years ago

okay cool! thank you for you time :)


en3rypt
HOBBYOP

2 years ago

will try to figure it out


Loading...