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

Chrome update, new error: XMLHttpRequest cannot load #604

Closed
IAMtheIAM opened this issue May 18, 2016 · 2 comments
Closed

Chrome update, new error: XMLHttpRequest cannot load #604

IAMtheIAM opened this issue May 18, 2016 · 2 comments

Comments

@IAMtheIAM
Copy link

Everything was fine, until I restarted chrome for an update. Now I get

XMLHttpRequest cannot load http://localhost:4000/sockjs-node/info?t=1463600087201. A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://localhost:5000' is therefore not allowed access. The credentials mode of an XMLHttpRequest is controlled by the withCredentials attribute.
client?59d4:70 [WDS] Disconnected!

I do not have access-control-allow-origin specified in my code. What happened?
@IAMtheIAM
Copy link
Author

IAMtheIAM commented May 18, 2016

Not sure why it happened, but to fix it I just did clean:install and it works now. Something got busted in my node_modules.

@IAMtheIAM
Copy link
Author

IAMtheIAM commented Jun 6, 2016

Very weird, but the same thing just happened again after another chrome update. XMPHttpRequest CORS not allowed wildcard. This time it was a chrome extension Allow-Control-Allow-Origin: * version 1.0.3 causing a problem. Disabling the extension fixed it.

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