@staypufd I’m trying to quickly add nrepl server to that project.
thanks
do you happen to be running DockerMac?
that’s what I’m running
not that I won’t want to see yours if you don’t but I’m wondering it that may be part of it
Yes, I am using docker on a mac.
@gonewest818 Great
ok, well, I’ve duplicated your ‘Exception in thread “main” java.net.SocketException: Protocol family unavailable’
darn
😉
but at least it isn’t just me
😉
are you using tools.nrepl 0.2.13? because in the changelog it says “start-server now binds to :: by default, and falls back to localhost, avoiding confusion when working in environments that have both IPv4 and IPv6 networking available. (NREPL-83)”
in alpine linux I don’t think ipv6 is enabled by default. in my case I got the socketexception to go away by doing this
(start-server :port 7000 :bind "localhost")
if that works for you, it suggests the part where they say “falls back to localhost” isn’t actually happening.
I mean, the socketexception isn’t being caught in tools.nrepl, right, so my hunch is the unhandled exception is why the fallback to “localhost” never occurs.
I suppose the other route would be to enable ipv6 in alpine, but that’s up to you. Either way, would be interested to see if this is your issue.
Correction: to actually connect to the repl I needed to (start-server :port 7000 :bind "0.0.0.0")
changes pushed to github if you want to see https://github.com/gonewest818/benchcurl