-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using domain name in ROOT_URL cause websocket issue #119
Comments
Endpoint has an N missing you have endpoit maybe that is the issue? |
@MasterJames Thank you but that is "point" in my code. |
Ah good. So can you access the port from the target machine? |
Yes, i can access it using SSH. My server is on aws, ec2 instance. I set
|
I have an issue on using the cluster which cause websocket handshake failing.
I set the ROOT_URL = "http://domain-name" (example, http://www.xyz.com.au), and set endpoint in a options object in code before cluster.register:
var options = { endpoint: "ip-address:port"}
For example, endpoit:"192.168.2.1:80".
After I run meteor, the websocket handshake fails. If I use ip address to ROOT_URL, everything works fine.
I also tries ROOT_URL = "http://domain-name:port" but no luck.
If you have any clue, please let me know. Thank you for your help.
The text was updated successfully, but these errors were encountered: