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 #12
Comments
can you post the code? |
I'm getting the following error,
I got the same error when I used a regular Has this issue been solved? |
I have the same issue but I didn't find the solution. What's your recommendation? |
I was trying to access the API from a react app when I encountered this error. I tried the same from a nodeJS application and things seemed to work. But this issue is still a mystery to me. |
Using snippet provided, I'm getting this error:
Access to XMLHttpRequest at 'http://192.168.0.10:8080/sockjs-node/info?t=1573126923594' from origin 'http://localhost:8080' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
Any idea how to solve that issue?
The text was updated successfully, but these errors were encountered: