{"action":"closed","number":755,"pull_request":{"url":"https://api.github.com/repos/eclipse/che/pulls/755","id":63538444,"html_url":"https://github.com/eclipse/che/pull/755","diff_url":"https://github.com/eclipse/che/pull/755.diff","patch_url":"https://github.com/eclipse/che/pull/755.patch","issue_url":"https://api.github.com/repos/eclipse/che/issues/755","number":755,"state":"closed","locked":false,"title":"CHE-730. Fix problems related to refusing WebSocket connection when machine is restarted.","user":{"login":"RomanNikitenko","id":5676062,"avatar_url":"https://avatars.githubusercontent.com/u/5676062?v=3","gravatar_id":"","url":"https://api.github.com/users/RomanNikitenko","html_url":"https://github.com/RomanNikitenko","followers_url":"https://api.github.com/users/RomanNikitenko/followers","following_url":"https://api.github.com/users/RomanNikitenko/following{/other_user}","gists_url":"https://api.github.com/users/RomanNikitenko/gists{/gist_id}","starred_url":"https://api.github.com/users/RomanNikitenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomanNikitenko/subscriptions","organizations_url":"https://api.github.com/users/RomanNikitenko/orgs","repos_url":"https://api.github.com/users/RomanNikitenko/repos","events_url":"https://api.github.com/users/RomanNikitenko/events{/privacy}","received_events_url":"https://api.github.com/users/RomanNikitenko/received_events","type":"User","site_admin":false},"body":"1. We create new instance of  MachineMessageBus and try to connect via WebSocket connection when machine is started.\r\nBut old instance tries to reconnect at this moment by timer, so we need to cancel all attempts to reconnect.\r\n2. We have double method call and code execution when we restart machine https://github.com/eclipse/che/blob/master/plugins/plugin-machine/che-plugin-machine-ext-client/src/main/java/org/eclipse/che/ide/extension/machine/client/machine/MachineManagerImpl.java#L277:\r\n - from machine component\r\n - from handler in machine manager\r\n\r\nIt causes to create new WebSocket connection twice and creates bugs related to refusing connection.\r\nSo we need to check it to avoid these bugs.","created_at":"2016-03-21T09:42:41Z","updated_at":"2016-03-21T13:40:20Z","closed_at":"2016-03-21T13:40:20Z","merged_at":"2016-03-21T13:40:20Z","merge_commit_sha":"bec4ab2391f2b12513949a70e29dacd122ebb18c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/che/pulls/755/commits","review_comments_url":"https://api.github.com/repos/eclipse/che/pulls/755/comments","review_comment_url":"https://api.github.com/repos/eclipse/che/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/che/issues/755/comments","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/73ad9f56a3ac6e0afb32b9caa5c8c842fe6e2c19","head":{"label":"eclipse:CHE-730","ref":"CHE-730","sha":"73ad9f56a3ac6e0afb32b9caa5c8c842fe6e2c19","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":32935745,"name":"che","full_name":"eclipse/che","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/che","description":"Eclipse Che: Next-generation Eclipse IDE.  Open source workspace server and cloud IDE.","fork":false,"url":"https://api.github.com/repos/eclipse/che","forks_url":"https://api.github.com/repos/eclipse/che/forks","keys_url":"https://api.github.com/repos/eclipse/che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/che/teams","hooks_url":"https://api.github.com/repos/eclipse/che/hooks","issue_events_url":"https://api.github.com/repos/eclipse/che/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/che/events","assignees_url":"https://api.github.com/repos/eclipse/che/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/che/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/che/tags","blobs_url":"https://api.github.com/repos/eclipse/che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/che/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/che/languages","stargazers_url":"https://api.github.com/repos/eclipse/che/stargazers","contributors_url":"https://api.github.com/repos/eclipse/che/contributors","subscribers_url":"https://api.github.com/repos/eclipse/che/subscribers","subscription_url":"https://api.github.com/repos/eclipse/che/subscription","commits_url":"https://api.github.com/repos/eclipse/che/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/che/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/che/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/che/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/che/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/che/merges","archive_url":"https://api.github.com/repos/eclipse/che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/che/downloads","issues_url":"https://api.github.com/repos/eclipse/che/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/che/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/che/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/che/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/che/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/che/deployments","created_at":"2015-03-26T15:31:01Z","updated_at":"2016-03-21T08:49:45Z","pushed_at":"2016-03-21T13:40:20Z","git_url":"git://github.com/eclipse/che.git","ssh_url":"git@github.com:eclipse/che.git","clone_url":"https://github.com/eclipse/che.git","svn_url":"https://github.com/eclipse/che","homepage":"http://eclipse.org/che","size":19057,"stargazers_count":2581,"watchers_count":2581,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":345,"mirror_url":null,"open_issues_count":107,"forks":345,"open_issues":107,"watchers":2581,"default_branch":"master"}},"base":{"label":"eclipse:master","ref":"master","sha":"b618d6994b9cf61e7ebc6635a62e7bd15325f896","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":32935745,"name":"che","full_name":"eclipse/che","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/che","description":"Eclipse Che: Next-generation Eclipse IDE.  Open source workspace server and cloud IDE.","fork":false,"url":"https://api.github.com/repos/eclipse/che","forks_url":"https://api.github.com/repos/eclipse/che/forks","keys_url":"https://api.github.com/repos/eclipse/che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/che/teams","hooks_url":"https://api.github.com/repos/eclipse/che/hooks","issue_events_url":"https://api.github.com/repos/eclipse/che/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/che/events","assignees_url":"https://api.github.com/repos/eclipse/che/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/che/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/che/tags","blobs_url":"https://api.github.com/repos/eclipse/che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/che/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/che/languages","stargazers_url":"https://api.github.com/repos/eclipse/che/stargazers","contributors_url":"https://api.github.com/repos/eclipse/che/contributors","subscribers_url":"https://api.github.com/repos/eclipse/che/subscribers","subscription_url":"https://api.github.com/repos/eclipse/che/subscription","commits_url":"https://api.github.com/repos/eclipse/che/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/che/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/che/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/che/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/che/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/che/merges","archive_url":"https://api.github.com/repos/eclipse/che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/che/downloads","issues_url":"https://api.github.com/repos/eclipse/che/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/che/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/che/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/che/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/che/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/che/deployments","created_at":"2015-03-26T15:31:01Z","updated_at":"2016-03-21T08:49:45Z","pushed_at":"2016-03-21T13:40:20Z","git_url":"git://github.com/eclipse/che.git","ssh_url":"git@github.com:eclipse/che.git","clone_url":"https://github.com/eclipse/che.git","svn_url":"https://github.com/eclipse/che","homepage":"http://eclipse.org/che","size":19057,"stargazers_count":2581,"watchers_count":2581,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":345,"mirror_url":null,"open_issues_count":107,"forks":345,"open_issues":107,"watchers":2581,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/che/pulls/755"},"html":{"href":"https://github.com/eclipse/che/pull/755"},"issue":{"href":"https://api.github.com/repos/eclipse/che/issues/755"},"comments":{"href":"https://api.github.com/repos/eclipse/che/issues/755/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/che/pulls/755/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/che/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/che/pulls/755/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/che/statuses/73ad9f56a3ac6e0afb32b9caa5c8c842fe6e2c19"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"RomanNikitenko","id":5676062,"avatar_url":"https://avatars.githubusercontent.com/u/5676062?v=3","gravatar_id":"","url":"https://api.github.com/users/RomanNikitenko","html_url":"https://github.com/RomanNikitenko","followers_url":"https://api.github.com/users/RomanNikitenko/followers","following_url":"https://api.github.com/users/RomanNikitenko/following{/other_user}","gists_url":"https://api.github.com/users/RomanNikitenko/gists{/gist_id}","starred_url":"https://api.github.com/users/RomanNikitenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomanNikitenko/subscriptions","organizations_url":"https://api.github.com/users/RomanNikitenko/orgs","repos_url":"https://api.github.com/users/RomanNikitenko/repos","events_url":"https://api.github.com/users/RomanNikitenko/events{/privacy}","received_events_url":"https://api.github.com/users/RomanNikitenko/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":57,"deletions":18,"changed_files":7}}