{"action":"created","issue":{"url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/376","repository_url":"https://api.github.com/repos/SocketCluster/socketcluster","labels_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/376/labels{/name}","comments_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/376/comments","events_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/376/events","html_url":"https://github.com/SocketCluster/socketcluster/issues/376","id":299724572,"number":376,"title":"Socket hung up / Worker respawn when restarting app","user":{"login":"Hirbod","id":504909,"avatar_url":"https://avatars3.githubusercontent.com/u/504909?v=4","gravatar_id":"","url":"https://api.github.com/users/Hirbod","html_url":"https://github.com/Hirbod","followers_url":"https://api.github.com/users/Hirbod/followers","following_url":"https://api.github.com/users/Hirbod/following{/other_user}","gists_url":"https://api.github.com/users/Hirbod/gists{/gist_id}","starred_url":"https://api.github.com/users/Hirbod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hirbod/subscriptions","organizations_url":"https://api.github.com/users/Hirbod/orgs","repos_url":"https://api.github.com/users/Hirbod/repos","events_url":"https://api.github.com/users/Hirbod/events{/privacy}","received_events_url":"https://api.github.com/users/Hirbod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-02-23T14:14:43Z","updated_at":"2018-02-23T17:57:22Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nas soon as I close my connection inside of my app (cordova) I'll receive a socket hung up inside of my server-logs with an warning, after that, a \"socket respawned\" message apears.\r\n\r\nWhy does the server crash if a user disconnect from a connection?\r\nIs this a bug? Should it behave like that?"},"comment":{"url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/comments/368088488","html_url":"https://github.com/SocketCluster/socketcluster/issues/376#issuecomment-368088488","issue_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/376","id":368088488,"user":{"login":"Hirbod","id":504909,"avatar_url":"https://avatars3.githubusercontent.com/u/504909?v=4","gravatar_id":"","url":"https://api.github.com/users/Hirbod","html_url":"https://github.com/Hirbod","followers_url":"https://api.github.com/users/Hirbod/followers","following_url":"https://api.github.com/users/Hirbod/following{/other_user}","gists_url":"https://api.github.com/users/Hirbod/gists{/gist_id}","starred_url":"https://api.github.com/users/Hirbod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hirbod/subscriptions","organizations_url":"https://api.github.com/users/Hirbod/orgs","repos_url":"https://api.github.com/users/Hirbod/repos","events_url":"https://api.github.com/users/Hirbod/events{/privacy}","received_events_url":"https://api.github.com/users/Hirbod/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T17:57:22Z","updated_at":"2018-02-23T17:57:22Z","author_association":"NONE","body":"Dang... @jondubois here we go\r\n\r\n```\r\n...\r\nscServer.on('connection', function (socket) {\r\n\t\tsocket.on('error', function (err) {\r\n\t\t\tthrow 'Socket error - ' + err;\r\n\t\t});\r\n```\r\n\r\nThis is AUTOGENERATED. I did not write this, but thanks for figuring out that very annoying problem. You saved my day!"}}
{"actor":{"display_login":"Hirbod"}}