We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i have a lot of error : Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://project-chat-application.herokuapp.com/socket.io/?EIO=3&transport=polling&t=OiTBTSl. (Reason: CORS request did not succeed). Status code: (null)
and when i want to chat , nothing happend
The text was updated successfully, but these errors were encountered:
Hi @parnaz-pirhadi I also faced same issue.
Actually in this code there are two phase that is : client & server.
You have to npm start both the folder and change the Endpoint (as shown in image, in Chatjs component)
The issue is because the "https://project-chat-application.herokuapp.com/" host might be inactive, that's why it is not accepting response.
for me changing the Endpoint worked, and I came across new bugs!!
Happy coding
Sorry, something went wrong.
socket.io has changed its documentation. You can refer to this page https://socket.io/docs/v3/handling-cors/
Or check my repo https://github.com/Lagnajit09/realtime-chat-app.... I have used the latest version and it works perfecttly
No branches or pull requests
i have a lot of error :
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://project-chat-application.herokuapp.com/socket.io/?EIO=3&transport=polling&t=OiTBTSl. (Reason: CORS request did not succeed). Status code: (null)
and when i want to chat , nothing happend
The text was updated successfully, but these errors were encountered: