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

WebSocket CORS bug #574

Open
buu700 opened this issue Mar 30, 2018 · 0 comments
Open

WebSocket CORS bug #574

buu700 opened this issue Mar 30, 2018 · 0 comments

Comments

@buu700
Copy link

buu700 commented Mar 30, 2018

Using the socket API from a file:// origin causes the following error:

Failed to load https://insight.bitpay.com/socket.io/?EIO=3&transport=polling&t=M9uM-gD: The 'Access-Control-Allow-Origin' header has a value 'null' that is not equal to the supplied origin. Origin 'null' is therefore not allowed access.

Other APIs return Access-Control-Allow-Origin: * and work as expected, but the socket returns Access-Control-Allow-Origin: null and breaks.

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

1 participant