{"action":"created","issue":{"url":"https://api.github.com/repos/primus/primus/issues/491","repository_url":"https://api.github.com/repos/primus/primus","labels_url":"https://api.github.com/repos/primus/primus/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/primus/primus/issues/491/comments","events_url":"https://api.github.com/repos/primus/primus/issues/491/events","html_url":"https://github.com/primus/primus/issues/491","id":176184439,"number":491,"title":"Random disconnects and stops reconnecting","user":{"login":"battuashwik","id":944924,"avatar_url":"https://avatars.githubusercontent.com/u/944924?v=3","gravatar_id":"","url":"https://api.github.com/users/battuashwik","html_url":"https://github.com/battuashwik","followers_url":"https://api.github.com/users/battuashwik/followers","following_url":"https://api.github.com/users/battuashwik/following{/other_user}","gists_url":"https://api.github.com/users/battuashwik/gists{/gist_id}","starred_url":"https://api.github.com/users/battuashwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/battuashwik/subscriptions","organizations_url":"https://api.github.com/users/battuashwik/orgs","repos_url":"https://api.github.com/users/battuashwik/repos","events_url":"https://api.github.com/users/battuashwik/events{/privacy}","received_events_url":"https://api.github.com/users/battuashwik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-09-10T15:11:13Z","updated_at":"2016-10-09T17:54:04Z","closed_at":null,"body":"\r\n\r\nSometimes the client randomly disconnects and stops reconnecting.\r\n\r\n`client = new Socket(socketUrl, {\r\n      ping: 15000,\r\n      pong: 4000,\r\n      reconnect: {\r\n        min: 4000,\r\n        max: 4000,\r\n        retries: 100000000000000\r\n      }\r\n  })\r\n`\r\nThese are my connection params. Also on the server side i whenever i send disconnect (if authentication fails) i send \r\n`spark.end(undefined, { reconnect: true });`\r\n\r\nIt does work most of the time but suddenly it breaks, like once in 3-4 days or sometimes takes even longer. This is really painful as i need to manually restart client whenever this happens.\r\n"},"comment":{"url":"https://api.github.com/repos/primus/primus/issues/comments/252501307","html_url":"https://github.com/primus/primus/issues/491#issuecomment-252501307","issue_url":"https://api.github.com/repos/primus/primus/issues/491","id":252501307,"user":{"login":"dotob","id":16528,"avatar_url":"https://avatars.githubusercontent.com/u/16528?v=3","gravatar_id":"","url":"https://api.github.com/users/dotob","html_url":"https://github.com/dotob","followers_url":"https://api.github.com/users/dotob/followers","following_url":"https://api.github.com/users/dotob/following{/other_user}","gists_url":"https://api.github.com/users/dotob/gists{/gist_id}","starred_url":"https://api.github.com/users/dotob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotob/subscriptions","organizations_url":"https://api.github.com/users/dotob/orgs","repos_url":"https://api.github.com/users/dotob/repos","events_url":"https://api.github.com/users/dotob/events{/privacy}","received_events_url":"https://api.github.com/users/dotob/received_events","type":"User","site_admin":false},"created_at":"2016-10-09T17:54:04Z","updated_at":"2016-10-09T17:54:04Z","body":"thanks. will try it."}}
{"actor":{"display_login":"dotob"}}