Client side start infinite request to the server in nodejs.
After starting server
And when user connect through socket
socket = io("http://hostname:4000");
Client side didn’t seems to be stable, it start doing infinite request and after every request socket id changed.
And this cause many problem, But this type of problem doesn’t occur when i test on local server.
Request type is cross origin request.
Please tell me how i can resolve this problem.