Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cider-jack-in fails with error in process filter: error during connect: connection timed out #794

Closed
jauhien opened this issue Sep 12, 2014 · 11 comments

Comments

@jauhien
Copy link
Contributor

jauhien commented Sep 12, 2014

Subj., while cider-connect works.

cider-connect works both for extern repl and repl started by failed cider-jack-in.

How can I debug cider to give you some usefull output?

Cider version: 0.7.0, installed from melpa-stable. The same error occured with snapshots installed from melpa.

@jauhien
Copy link
Contributor Author

jauhien commented Sep 12, 2014

; CIDER 0.7.0 (Java 1.7.0_67, Clojure 1.6.0, nREPL 0.2.3, cider-nrepl 0.7.0)

@vspinu
Copy link
Contributor

vspinu commented Sep 12, 2014

See #671. This seems not to be occcuring in 0.8.0 anymore.

@bbatsov
Copy link
Member

bbatsov commented Sep 13, 2014

@jauhien What's your lein version?

@jauhien
Copy link
Contributor Author

jauhien commented Sep 13, 2014

@bbatsov: 2.4.3, but I have tested it as well with 2.3.4.

@jauhien
Copy link
Contributor Author

jauhien commented Sep 13, 2014

@Vitoshka: I've tried also snapshot cider from melpa: the same result.

@jauhien
Copy link
Contributor Author

jauhien commented Sep 13, 2014

btw, time to time cider-jack-in works.

@jauhien
Copy link
Contributor Author

jauhien commented Sep 13, 2014

What is interesting, I have changed nothing but last times it works for me. I will not close issue for a while, as may be I will find what was the reason of instability.

@bbatsov
Copy link
Member

bbatsov commented Sep 19, 2014

We did a bit more changes recently, that should take care of this problem permanently.

@bbatsov bbatsov closed this as completed Sep 19, 2014
@jauhien
Copy link
Contributor Author

jauhien commented Sep 19, 2014

Thank you, will test in a while.

@agarman
Copy link

agarman commented Mar 6, 2015

I'm getting this error as of March 6, 2015

From Messages
Starting nREPL server via lein repl :headless...
nREPL server started on 50774
nREPL: Establishing direct connection to localhost:50774 ...
nREPL: Direct connection established
error in process filter: progn: Sync nREPL request timed out (op describe id 3)
error in process filter: Sync nREPL request timed out (op describe id 3)

Using leiningen 2.5.1
Cider 0.8.1

@agarman
Copy link

agarman commented Mar 6, 2015

Issue was caused by nrepl-middleware being added.

Add the following to the leiningen profiles.clj to reproduce:
:repl-options {
:nrepl-middleware [io.aviso.nrepl/pretty-middleware]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants