-
Notifications
You must be signed in to change notification settings - Fork 11
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
[error] Could not check origin for Phoenix.Socket transport. #30
Comments
What url are you visiting to view the game? Please ensure that you're visiting it at http://localhost:3000, otherwise you will receive the transport error (it's a CORS check). |
I have to go to "192.168.99.100:3000" since it is running the app in a docker virtual machine. |
Okay I understand now. Getting this to work with different hosts will require modifying the Dockerfile to accept In the meantime, can you run with |
I tried that out and it didn't work. I can still only connect via "192.168.99.100:3000". On another note, since I have Windows 10 Pro I am able to use "Docker for Windows" to run the app (after enabling Hyper-V). This runs the app on my host machine (localhost:3000) and everything is working fine. However, it would still be nice to get to the bottom of this issue as I'm sure other people will have it and not many people have Windows 10 Pro. Edit: I am still willing to troubleshoot! |
@exzizt Change the |
I run the app with Docker:
I then try to create a game with my snake URLs and get the above error message.
Note that everything works fine with the 2017 server. Docker app is running on 192.168.99.100. My LAN is 10.104.35.xxx. An online snake on a hosting site also gets the same error message.
The text was updated successfully, but these errors were encountered: