-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
LEIN_FAST_TRAMPOLINE causes intermittent java.net.ConnectException: Connection refused on Mac #1562
Comments
*Clojure 1.6.0, no 1.6.1 yet! |
This morning I am running into this issue with or without This is not an issue when using 2.3.4 on the same machine. |
Can you run |
Sure, note that with a test user in a new test project I confirmed that this issue reliably appears in 2.4.2 and not in 2.3.4, and that it only occurs with I am able to repeatedly start an nREPL with |
3addf52 is the only change in the repl task since 2.3.4 apart from docstrings and a reply bump. Maybe @trptcolin has an idea of what could have caused this? |
Hmm, I haven't used The thing that made me wonder about this file (other than it being implicated in the stacktrace) was that it has an ack-port explicitly specified in it. I don't recall all the details around the ack port, but it looks like starting the nrepl server resets the port. Notable: |
I see the problem; it's a bug in the code that writes out the eval-in-project file. |
With
LEIN_FAST_TRAMPOLINE
set, a subsequent invocation oflein repl
fails, hanging on "Connection refused." Running alein clean
allows for a single successfullein repl
invocation. Note no use oftrampoline
.Using Clojure 1.6.1, Java 1.8.0_05, Leiningen 2.4.0, Mac OS 10.9.3.
The text was updated successfully, but these errors were encountered: