Skip to content
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

Cannot load the list of multiplayer rooms #45

Open
banana-cake opened this issue May 6, 2014 · 1 comment
Open

Cannot load the list of multiplayer rooms #45

banana-cake opened this issue May 6, 2014 · 1 comment

Comments

@banana-cake
Copy link

BananaBread game fails to load the rooms list. If we look at the developer console in FireFox browser
( Nightly 32.0a1 (2014-05-06) ) , we could notice the following error :

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://mdsw.ch:8080/socket.io/1/?t=1399415156021. This can be fixed by moving the resource to the same domain or enabling CORS.

This error is preventing the game from loading the rooms list. ForceCORS extension, which helps to disable CORS-related security, cannot solve this problem and is not compatible with latest browsers

SOLUTION: please, enable CORS at your https://mdsw.ch:8080 server . Detailed instructions are
in this article - https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS

P.S. WebRTC is working (I tried with another application) my router is set up correctly as well
so, I strongly believe this is a CORS problem

@modeswitch
Copy link
Collaborator

I'll investigate when I have time, but this may also be an issue with the demo site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants