{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/1289","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/1289/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/1289/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/1289/events","html_url":"https://github.com/strongloop/loopback/issues/1289","id":67137474,"number":1289,"title":"loopback with socket.io and socket.io-redis seems not really work on cluster","user":{"login":"makersu","id":7261851,"avatar_url":"https://avatars.githubusercontent.com/u/7261851?v=3","gravatar_id":"","url":"https://api.github.com/users/makersu","html_url":"https://github.com/makersu","followers_url":"https://api.github.com/users/makersu/followers","following_url":"https://api.github.com/users/makersu/following{/other_user}","gists_url":"https://api.github.com/users/makersu/gists{/gist_id}","starred_url":"https://api.github.com/users/makersu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersu/subscriptions","organizations_url":"https://api.github.com/users/makersu/orgs","repos_url":"https://api.github.com/users/makersu/repos","events_url":"https://api.github.com/users/makersu/events{/privacy}","received_events_url":"https://api.github.com/users/makersu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-08T14:03:16Z","updated_at":"2015-06-09T10:37:13Z","closed_at":null,"body":"By using socket.io-redis, but seems not really work. \r\nDo I need nginx/haproxy or anything more?\r\nMany thanks.\r\n```\r\n...\r\nif (require.main === module) {\r\n  app.io = require('socket.io')(app.start());\r\n  var redis = require('socket.io-redis');\r\n  app.io.adapter(redis({ host: 'localhost', port: 6379 }));\r\n...\r\n```\r\nOr how do I use strong-cluster-socket.io-store after app.start()? \r\n```\r\napp.io = require('socket.io')(app.start());\r\n???\r\n```"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback/issues/comments/110311426","html_url":"https://github.com/strongloop/loopback/issues/1289#issuecomment-110311426","issue_url":"https://api.github.com/repos/strongloop/loopback/issues/1289","id":110311426,"user":{"login":"behrad","id":2151889,"avatar_url":"https://avatars.githubusercontent.com/u/2151889?v=3","gravatar_id":"","url":"https://api.github.com/users/behrad","html_url":"https://github.com/behrad","followers_url":"https://api.github.com/users/behrad/followers","following_url":"https://api.github.com/users/behrad/following{/other_user}","gists_url":"https://api.github.com/users/behrad/gists{/gist_id}","starred_url":"https://api.github.com/users/behrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behrad/subscriptions","organizations_url":"https://api.github.com/users/behrad/orgs","repos_url":"https://api.github.com/users/behrad/repos","events_url":"https://api.github.com/users/behrad/events{/privacy}","received_events_url":"https://api.github.com/users/behrad/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T10:37:13Z","updated_at":"2015-06-09T10:37:13Z","body":":+1: same problem here @makersu \r\n\r\nDidn't you end up with a server side solution?"}}