{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-emacs/cider/issues/1482","labels_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1482/labels{/name}","comments_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1482/comments","events_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1482/events","html_url":"https://github.com/clojure-emacs/cider/issues/1482","id":123661793,"number":1482,"title":"Cannot re-connect after repl quits unexpectedly","user":{"login":"pesterhazy","id":106328,"avatar_url":"https://avatars.githubusercontent.com/u/106328?v=3","gravatar_id":"","url":"https://api.github.com/users/pesterhazy","html_url":"https://github.com/pesterhazy","followers_url":"https://api.github.com/users/pesterhazy/followers","following_url":"https://api.github.com/users/pesterhazy/following{/other_user}","gists_url":"https://api.github.com/users/pesterhazy/gists{/gist_id}","starred_url":"https://api.github.com/users/pesterhazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pesterhazy/subscriptions","organizations_url":"https://api.github.com/users/pesterhazy/orgs","repos_url":"https://api.github.com/users/pesterhazy/repos","events_url":"https://api.github.com/users/pesterhazy/events{/privacy}","received_events_url":"https://api.github.com/users/pesterhazy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-23T13:39:27Z","updated_at":"2015-12-26T07:01:42Z","closed_at":null,"body":"Thanks for the awesome project! In recent versions of CIDER, I have to restart Emacs to connect to an `nrepl` after the previous `lein` process died.\r\n\r\n## STR\r\n\r\n1. `lein repl`\r\n1. `cider-connect`\r\n1. In the repl terminal window, `^D`\r\n   `nREPL: Connection closed unexpectedly (connection broken by remote peer)`\r\n1. re-start the repl\r\n1. `cider-connect`\r\n1. Re-use zombie REPL buffers? Yes\r\n\r\n## Expected result\r\n\r\nI can re-evaluate the buffer\r\n\r\n## Actual result\r\n\r\nI see a beach ball (on OSX) and Emacs becomes unresponsive. Evaluating the buffer doesn't work.\r\n\r\n`*Messages*` shows ```nrepl-send-sync-request: Sync nREPL request timed out (op clone id 2)```\r\n\r\n## System\r\n\r\n```\r\n; CIDER 0.11.0snapshot (package: 20151220.156) (Java 1.8.0_51, Clojure 1.5.1, nREPL 0.2.10)\r\n```\r\n\r\nIn this test I'm using leiningen with an ancient version of Clojure, but the same problem exists with `boot` and Clojure 1.7.\r\n\r\nNot that I'm *not* using cider-nrepl-middleware because it slows down startup of a largish projects by many seconds.\r\n\r\nIn tests the problem doesn't occur if I `cider-quit` before exiting the external `lein repl` (but you sometimes don't have that luxury)."},"comment":{"url":"https://api.github.com/repos/clojure-emacs/cider/issues/comments/167291352","html_url":"https://github.com/clojure-emacs/cider/issues/1482#issuecomment-167291352","issue_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1482","id":167291352,"user":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"created_at":"2015-12-26T07:01:41Z","updated_at":"2015-12-26T07:01:41Z","body":"And the `nrepl-tooling-session`. "}}