{"action":"created","issue":{"url":"https://api.github.com/repos/socketio/socket.io/issues/2552","repository_url":"https://api.github.com/repos/socketio/socket.io","labels_url":"https://api.github.com/repos/socketio/socket.io/issues/2552/labels{/name}","comments_url":"https://api.github.com/repos/socketio/socket.io/issues/2552/comments","events_url":"https://api.github.com/repos/socketio/socket.io/issues/2552/events","html_url":"https://github.com/socketio/socket.io/issues/2552","id":155380739,"number":2552,"title":"Clients don't receive messages","user":{"login":"littleguga","id":12018713,"avatar_url":"https://avatars.githubusercontent.com/u/12018713?v=3","gravatar_id":"","url":"https://api.github.com/users/littleguga","html_url":"https://github.com/littleguga","followers_url":"https://api.github.com/users/littleguga/followers","following_url":"https://api.github.com/users/littleguga/following{/other_user}","gists_url":"https://api.github.com/users/littleguga/gists{/gist_id}","starred_url":"https://api.github.com/users/littleguga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/littleguga/subscriptions","organizations_url":"https://api.github.com/users/littleguga/orgs","repos_url":"https://api.github.com/users/littleguga/repos","events_url":"https://api.github.com/users/littleguga/events{/privacy}","received_events_url":"https://api.github.com/users/littleguga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-05-17T22:52:23Z","updated_at":"2016-05-19T12:25:11Z","closed_at":null,"body":"I have server and clients in node.js. \r\n\r\nEvery time client connects to server:\r\n``` javascript\r\nvar response = {};\r\nif (currentPlayers < maxPlayers) {\r\n    currentPlayers++;\r\n    response.username = currentPlayers;\r\n\r\n    players[currentPlayers] = {\r\n        score: 0\r\n    };\r\n\r\n    socket.join('players');\r\n} else {\r\n    if (currentPlayers === maxPlayers) {\r\n        //Set a little delay\r\n        setTimeout(function () {\r\n            //I also tried this:\r\n            //players_sockets.forEach(function (s) {\r\n            //    s.emit('start');\r\n            //});\r\n    \r\n            \r\n            io.to('players').emit('start');\r\n        }, 1500);\r\n    }\r\n}\r\n```\r\nServer checks is there enough players for game, if it is, server emits `start` message. The problem is  that some clients doesn't receive this message(to be current: mobile devices(e.g. meizu mx5, iphone 5, iphone 5s and some others). \r\nI watched debug: they are using long-polling.\r\n\r\nDesktop clients, which are connected with WebSocket are okay.\r\n\r\nHow i need to fix this? Or maybe I'm doing something wrong?"},"comment":{"url":"https://api.github.com/repos/socketio/socket.io/issues/comments/220308833","html_url":"https://github.com/socketio/socket.io/issues/2552#issuecomment-220308833","issue_url":"https://api.github.com/repos/socketio/socket.io/issues/2552","id":220308833,"user":{"login":"davidrinnan","id":95898,"avatar_url":"https://avatars.githubusercontent.com/u/95898?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrinnan","html_url":"https://github.com/davidrinnan","followers_url":"https://api.github.com/users/davidrinnan/followers","following_url":"https://api.github.com/users/davidrinnan/following{/other_user}","gists_url":"https://api.github.com/users/davidrinnan/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrinnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrinnan/subscriptions","organizations_url":"https://api.github.com/users/davidrinnan/orgs","repos_url":"https://api.github.com/users/davidrinnan/repos","events_url":"https://api.github.com/users/davidrinnan/events{/privacy}","received_events_url":"https://api.github.com/users/davidrinnan/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T12:25:11Z","updated_at":"2016-05-19T12:25:11Z","body":"check network console dev tools in chrome on the clients \r\nyou should see some xhr. And then a continuous web socket. \r\ncould it be an issue with retry not working. and that you restart (or don't) the web server but forget to reload clients etc? "}}