{"action":"created","issue":{"url":"https://api.github.com/repos/mcollina/mosca/issues/234","labels_url":"https://api.github.com/repos/mcollina/mosca/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/mcollina/mosca/issues/234/comments","events_url":"https://api.github.com/repos/mcollina/mosca/issues/234/events","html_url":"https://github.com/mcollina/mosca/issues/234","id":66584933,"number":234,"title":"Reconnecting Issue","user":{"login":"uronly14me","id":5186814,"avatar_url":"https://avatars.githubusercontent.com/u/5186814?v=3","gravatar_id":"","url":"https://api.github.com/users/uronly14me","html_url":"https://github.com/uronly14me","followers_url":"https://api.github.com/users/uronly14me/followers","following_url":"https://api.github.com/users/uronly14me/following{/other_user}","gists_url":"https://api.github.com/users/uronly14me/gists{/gist_id}","starred_url":"https://api.github.com/users/uronly14me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uronly14me/subscriptions","organizations_url":"https://api.github.com/users/uronly14me/orgs","repos_url":"https://api.github.com/users/uronly14me/repos","events_url":"https://api.github.com/users/uronly14me/events{/privacy}","received_events_url":"https://api.github.com/users/uronly14me/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-06T11:25:23Z","updated_at":"2015-06-26T09:16:42Z","closed_at":null,"body":"Hello,\r\n\r\nI used mosca in production and I got some issues.\r\nClient developer said that server closed the connection. And mqtt of the client reconnecting many times per second.\r\n\r\nBelow is iOS log.\r\n\r\n```javascript\r\n2015-04-06 15:57:42.874 Project[50429:3837628] self.topic=cc/+\r\n2015-04-06 15:57:43.386 Project[50429:3837557] client is connected with id cc\r\n2015-04-06 15:57:43.387 Project[50429:3837557] self.topic=cc/+\r\n2015-04-06 15:57:43.388 Project[50429:3837628] MQTT is disconnected: 7\r\n2015-04-06 15:57:43.653 Project[50429:3837557] subscribed to topic cc/+\r\n2015-04-06 15:57:43.914 Project[50429:3837628] client is connected with id cc\r\n2015-04-06 15:57:43.915 Project[50429:3837628] self.topic=cc/+\r\n2015-04-06 15:57:44.460 Project[50429:3837557] client is connected with id cc\r\n2015-04-06 15:57:44.461 Project[50429:3837557] self.topic=cc/+\r\n2015-04-06 15:57:44.462 Project[50429:3837628] MQTT is disconnected: 7\r\n2015-04-06 15:57:44.713 Project[50429:3837557] subscribed to topic cc/+\r\n2015-04-06 15:57:44.958 Project[50429:3837628] client is connected with id cc\r\n2015-04-06 15:57:44.959 Project[50429:3837628] self.topic=cc/+\r\n2015-04-06 15:57:50.591 Project[50429:3837628] MQTT is disconnected: 7\r\n2015-04-06 15:57:50.617 Project[50429:3837557] client is connected with id cc\r\n2015-04-06 15:57:50.618 Project[50429:3837557] self.topic=cc/+\r\n2015-04-06 15:57:50.866 Project[50429:3837557] subscribed to topic cc/+\r\n2015-04-06 15:57:51.169 Project[50429:3837628] client is connected with id cc\r\n```\r\n\r\nconnect -> subscribe -> connection closed is repeated.\r\nCan you tell if it is the problem from server or client?"},"comment":{"url":"https://api.github.com/repos/mcollina/mosca/issues/comments/115597161","html_url":"https://github.com/mcollina/mosca/issues/234#issuecomment-115597161","issue_url":"https://api.github.com/repos/mcollina/mosca/issues/234","id":115597161,"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-26T09:16:42Z","updated_at":"2015-06-26T09:16:42Z","body":"I see on mobile data, that my client is disconnected/connected right before it keepalive arrives in it's ping cycle. Does any of you experiencing this on `Redis` !?"}}