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

Cross-Origin Request Blocked #129

Open
Zythyr opened this issue Apr 15, 2018 · 1 comment
Open

Cross-Origin Request Blocked #129

Zythyr opened this issue Apr 15, 2018 · 1 comment

Comments

@Zythyr
Copy link

Zythyr commented Apr 15, 2018

I am trying to depoly signalmaster to Heroku.

After creating the SSL certs, I removed *.pem from .gitignore and committed the changes. Then I pushed signalmasters master branch to Heroku. Everything works smoothly and for Heroku logs I see &yet -- signal master is running at: https://localhost:33054

The issue I am having is that I am unable to connect to the signaling server. In the console of my WebRTC application, I keep seeing the following error:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://secure-meadow-12345.herokuapp.com/socket.io/?EIO=3&transport=polling&t=1523771011090-81. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

If I set Heroku NODE_ENV to development mode, I don't have this issue.

@ahasantech
Copy link

i facing same problem

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