Fork me on GitHub
#yada
<
2016-08-12
>
malcolmsparks11:08:26

just released 1.1.30 (from a train, but it's gpg signed at least)

oliverm13:08:49

I was working away merrily on a project based on yada's Edge config, when I noticed I was running low on memory, so I restarted. Now when I type

boot repl
in the project directory I get 'Connection Exception Connection refused'. What gives??

oliverm13:08:18

Googling reveals little, and there's no issues on the boot github that seem relevant

oliverm13:08:40

Ofc, I'm due to give a client demo of the project in 45 mins...!

oliverm13:08:48

(I can brazen that out though)

oliverm13:08:21

Other than this, the experience with yada/edge has been great

oliverm13:08:08

Another restart and the problem persists

oliverm14:08:33

lein repl in other projects (that use leiningen) still works

oliverm14:08:24

sigh, trying a boot repl in a newly cloned edge project gives the same error

oliverm14:08:44

... while boot repl in an empty directory works fine

dominicm14:08:59

@oliverm: Have you got a full stacktrace?

oliverm14:08:50

ConnectException Connection refused
       	java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:-2)
       	java.net.AbstractPlainSocketImpl.doConnect (AbstractPlainSocketImpl.java:345)
       	java.net.AbstractPlainSocketImpl.connectToAddress (AbstractPlainSocketImpl.java:206)
       	java.net.AbstractPlainSocketImpl.connect (AbstractPlainSocketImpl.java:188)
       	java.net.SocksSocketImpl.connect (SocksSocketImpl.java:392)
       	java.net.Socket.connect (Socket.java:589)
       	java.net.Socket.connect (Socket.java:538)
       	java.net.Socket.<init> (Socket.java:434)
       	java.net.Socket.<init> (Socket.java:211)
       	clojure.tools.nrepl/connect (nrepl.clj:184)
       	clojure.core/apply (core.clj:646)
       	clojure.core/apply (core.clj:641)
Bye for now!

dominicm14:08:26

@oliverm: reproduced, thanks.

oliverm14:08:06

I see some issues around the hostname, IP4 vs IP6, and changing the hostname of the local machine to resolve it, but I tried that to no effect

dominicm14:08:32

@oliverm: boot repl is a client on edge. Try boot dev instead? 🙂

malcolmsparks14:08:51

yeah, try boot dev - boot repl will try to connect to an existing edge instance - if it's not there you'll get that stack trace

oliverm14:08:06

hahaha I am an idiot, boot dev works fine

malcolmsparks14:08:15

and you still have 7 minutes to go!

dominicm14:08:17

Just in time for the demo!

oliverm14:08:41

Whew, right? Hopefully that's my dummy mistake quotient for the day used up

oliverm14:08:45

thanks all

malcolmsparks14:08:44

I find that when you're a little rushed/stressed these hiccups are more common - best of luck with the demo! Thanks for your nice words about yada/edge - glad the support team kicked in just in time!!

oliverm14:08:16

@malcolmsparks: definitely! Hoping to do a couple of articles on yada & clojure web dev when this is all done. Thanks again all for the help & yada itself!