{"action":"created","issue":{"url":"https://api.github.com/repos/crossbario/crossbar/issues/327","labels_url":"https://api.github.com/repos/crossbario/crossbar/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/crossbario/crossbar/issues/327/comments","events_url":"https://api.github.com/repos/crossbario/crossbar/issues/327/events","html_url":"https://github.com/crossbario/crossbar/issues/327","id":77040558,"number":327,"title":"ApplicationSession.leave() results in unhandled exception","user":{"login":"Paranaix","id":1858546,"avatar_url":"https://avatars.githubusercontent.com/u/1858546?v=3","gravatar_id":"","url":"https://api.github.com/users/Paranaix","html_url":"https://github.com/Paranaix","followers_url":"https://api.github.com/users/Paranaix/followers","following_url":"https://api.github.com/users/Paranaix/following{/other_user}","gists_url":"https://api.github.com/users/Paranaix/gists{/gist_id}","starred_url":"https://api.github.com/users/Paranaix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paranaix/subscriptions","organizations_url":"https://api.github.com/users/Paranaix/orgs","repos_url":"https://api.github.com/users/Paranaix/repos","events_url":"https://api.github.com/users/Paranaix/events{/privacy}","received_events_url":"https://api.github.com/users/Paranaix/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/crossbario/crossbar/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/crossbario/crossbar/labels/core","name":"core","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/crossbario/crossbar/milestones/1","html_url":"https://github.com/crossbario/crossbar/milestones/0.11.0","labels_url":"https://api.github.com/repos/crossbario/crossbar/milestones/1/labels","id":1267979,"number":1,"title":"0.11.0","description":"","creator":{"login":"oberstet","id":233340,"avatar_url":"https://avatars.githubusercontent.com/u/233340?v=3","gravatar_id":"","url":"https://api.github.com/users/oberstet","html_url":"https://github.com/oberstet","followers_url":"https://api.github.com/users/oberstet/followers","following_url":"https://api.github.com/users/oberstet/following{/other_user}","gists_url":"https://api.github.com/users/oberstet/gists{/gist_id}","starred_url":"https://api.github.com/users/oberstet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oberstet/subscriptions","organizations_url":"https://api.github.com/users/oberstet/orgs","repos_url":"https://api.github.com/users/oberstet/repos","events_url":"https://api.github.com/users/oberstet/events{/privacy}","received_events_url":"https://api.github.com/users/oberstet/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":0,"state":"open","created_at":"2015-08-23T12:22:20Z","updated_at":"2015-08-23T16:05:20Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-05-16T13:32:31Z","updated_at":"2015-08-23T20:28:45Z","closed_at":null,"body":"Only tested in `onJoin()` but based on the error message I guess that this is a general problem:\r\n\r\n    2015-05-16 15:19:35+0200 [Router 5760] exceptions.Exception: RouterApplicationSession.send:    unhandled message WAMP GOODBYE Message (message = None, reason = wamp.close.normal)"},"comment":{"url":"https://api.github.com/repos/crossbario/crossbar/issues/comments/133925136","html_url":"https://github.com/crossbario/crossbar/issues/327#issuecomment-133925136","issue_url":"https://api.github.com/repos/crossbario/crossbar/issues/327","id":133925136,"user":{"login":"meejah","id":145599,"avatar_url":"https://avatars.githubusercontent.com/u/145599?v=3","gravatar_id":"","url":"https://api.github.com/users/meejah","html_url":"https://github.com/meejah","followers_url":"https://api.github.com/users/meejah/followers","following_url":"https://api.github.com/users/meejah/following{/other_user}","gists_url":"https://api.github.com/users/meejah/gists{/gist_id}","starred_url":"https://api.github.com/users/meejah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meejah/subscriptions","organizations_url":"https://api.github.com/users/meejah/orgs","repos_url":"https://api.github.com/users/meejah/repos","events_url":"https://api.github.com/users/meejah/events{/privacy}","received_events_url":"https://api.github.com/users/meejah/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T20:28:45Z","updated_at":"2015-08-23T20:28:45Z","body":"@oberstet What is the desired behavior here? If you get a GOODBYE from any embedded router component, the whole router shuts down? (In the future it might be nice to add an option here; e.g. to be able to specify restart behavior).\r\n\r\n(Also to be pedantic, this isn't really triggered by an unhandled exception, but because crossbar essentially just asserts if it gets a GOODBYE from any router component -- see https://github.com/crossbario/crossbar/blob/master/crossbar/router/session.py#L203)."}}