{"action":"created","issue":{"url":"https://api.github.com/repos/ensime/ensime-atom/issues/225","repository_url":"https://api.github.com/repos/ensime/ensime-atom","labels_url":"https://api.github.com/repos/ensime/ensime-atom/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/ensime/ensime-atom/issues/225/comments","events_url":"https://api.github.com/repos/ensime/ensime-atom/issues/225/events","html_url":"https://github.com/ensime/ensime-atom/issues/225","id":149410274,"number":225,"title":"Uncaught Error: not opened","user":{"login":"majk-p","id":7260594,"avatar_url":"https://avatars.githubusercontent.com/u/7260594?v=3","gravatar_id":"","url":"https://api.github.com/users/majk-p","html_url":"https://github.com/majk-p","followers_url":"https://api.github.com/users/majk-p/followers","following_url":"https://api.github.com/users/majk-p/following{/other_user}","gists_url":"https://api.github.com/users/majk-p/gists{/gist_id}","starred_url":"https://api.github.com/users/majk-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majk-p/subscriptions","organizations_url":"https://api.github.com/users/majk-p/orgs","repos_url":"https://api.github.com/users/majk-p/repos","events_url":"https://api.github.com/users/majk-p/events{/privacy}","received_events_url":"https://api.github.com/users/majk-p/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-19T10:01:00Z","updated_at":"2016-04-19T11:12:03Z","closed_at":null,"body":"When not using atom for a while (around a minute) ensime stops working and I get following error:\r\n\r\n**Atom Version**: 1.7.2\r\n**System**: \"Fedora release\r\n**Thrown From**: [Ensime](https://github.com/ensime/ensime-atom) package, v0.38.1\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught Error: not opened\r\n\r\n```\r\nAt /home/username/.atom/packages/Ensime/node_modules/ensime-client/node_modules/ws/lib/WebSocket.js:219\r\n\r\nError: not opened\r\n    at WebSocket.send (/home/username/.atom/packages/Ensime/node_modules/ensime-client/node_modules/ws/lib/WebSocket.js:219:16)\r\n    at postString (/home/username/.atom/packages/Ensime/node_modules/ensime-client/lib/client.js:84:26)\r\n    at post (/home/username/.atom/packages/Ensime/node_modules/ensime-client/lib/client.js:87:16)\r\n    at /home/username/.atom/packages/Ensime/node_modules/ensime-client/lib/client.js:145:20\r\n    at /home/username/.atom/packages/Ensime/node_modules/fs-extra/node_modules/graceful-fs/graceful-fs.js:99:16\r\n    at /home/username/.atom/packages/Ensime/node_modules/ensime-client/node_modules/chokidar/node_modules/readdirp/node_modules/graceful-fs/graceful-fs.js:43:10\r\n    at /home/username/.atom/packages/Ensime/node_modules/fs-extra/node_modules/graceful-fs/graceful-fs.js:43:10\r\n    at /usr/share/atom/resources/app.asar/node_modules/nodegit/node_modules/fs-extra/node_modules/graceful-fs/graceful-fs.js:43:10\r\n    at FSReqWrap.oncomplete (fs.js:82:15)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -5:02.0 intentions:highlight (atom-text-editor.editor.is-focused)\r\n  3x -5:01.9.0 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)\r\n  2x -5:00.4.0 core:move-left (atom-text-editor.editor.is-focused)\r\n     -4:59.5.0 core:move-down (atom-text-editor.editor.is-focused)\r\n     -4:58.7.0 intentions:highlight (atom-text-editor.editor.is-focused)\r\n     -4:58.6.0 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)\r\n     -4:57.9.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)\r\n  5x -4:56.9.0 core:move-down (atom-text-editor.editor.is-focused)\r\n     -4:54.5.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)\r\n     -0:05.2.0 core:move-down (atom-text-editor.editor.is-focused)\r\n     -0:04.8.0 core:move-up (atom-text-editor.editor.is-focused)\r\n     -0:03.7.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)\r\n 19x -0:03.4.0 core:select-up (atom-text-editor.editor.is-focused)\r\n  2x -0:02.2.0 core:select-down (atom-text-editor.editor.is-focused)\r\n     -0:01.6.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)\r\n  2x -0:01.1.0 core:backspace (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"jslint\",\r\n      \"blame\"\r\n    ],\r\n    \"themes\": [\r\n      \"seti-ui\",\r\n      \"atom-dark-syntax\"\r\n    ]\r\n  },\r\n  \"Ensime\": {\r\n    \"markImplicitsAutomatically\": false\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nEnsime, v0.38.1\r\natom-beautify, v0.29.4\r\nbrowser-plus, v0.0.60\r\nhyperclick, v0.0.35\r\nintentions, v1.0.5\r\njshint, v1.8.5\r\nlanguage-groovy, v0.6.0\r\nlanguage-scala, v1.1.6\r\nlinter, v1.11.4\r\nminimap, v4.22.1\r\nseti-icons, v0.4.5\r\nseti-ui, v0.9.2\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\nRunning `ensime stop` and then `ensime start` brings it back to live.\r\n"},"comment":{"url":"https://api.github.com/repos/ensime/ensime-atom/issues/comments/211863996","html_url":"https://github.com/ensime/ensime-atom/issues/225#issuecomment-211863996","issue_url":"https://api.github.com/repos/ensime/ensime-atom/issues/225","id":211863996,"user":{"login":"hedefalk","id":116520,"avatar_url":"https://avatars.githubusercontent.com/u/116520?v=3","gravatar_id":"","url":"https://api.github.com/users/hedefalk","html_url":"https://github.com/hedefalk","followers_url":"https://api.github.com/users/hedefalk/followers","following_url":"https://api.github.com/users/hedefalk/following{/other_user}","gists_url":"https://api.github.com/users/hedefalk/gists{/gist_id}","starred_url":"https://api.github.com/users/hedefalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedefalk/subscriptions","organizations_url":"https://api.github.com/users/hedefalk/orgs","repos_url":"https://api.github.com/users/hedefalk/repos","events_url":"https://api.github.com/users/hedefalk/events{/privacy}","received_events_url":"https://api.github.com/users/hedefalk/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T11:12:03Z","updated_at":"2016-04-19T11:12:03Z","body":"https://github.com/websockets/ws/issues/337#issuecomment-125955234"}}