All work
- start-server throws exception on alpine linux 3.6NREPL-87Resolved issue: NREPL-87Chas Emerick
- Update current version number in READMENREPL-86Resolved issue: NREPL-86Chas Emerick
- Add initial authentication support and simple defaultNREPL-85Resolved issue: NREPL-85Chas Emerick
- Log "foo" for (misc/log "foo"), not nilNREPL-84Resolved issue: NREPL-84Chas Emerick
- start-server binds to 'localhost'NREPL-83Resolved issue: NREPL-83Chas Emerick
- Descriptor for "add-stdin" appears to incorrectly declare :returns "need-input"NREPL-82Resolved issue: NREPL-82Chas Emerick
- Transport/send hangs when sending non-bencodable information outside of :value slotNREPL-81Resolved issue: NREPL-81Chas Emerick
- Thread used to evaluate forms changes over timeNREPL-80Resolved issue: NREPL-80Chas Emerick
- Update to readme.mdNREPL-79Resolved issue: NREPL-79Chas Emerick
- Add support for REPL evaluations that include reader conditionalsNREPL-78Resolved issue: NREPL-78Chas Emerick
- Expose installed middlewares via some mechanismNREPL-77Resolved issue: NREPL-77Chas Emerick
- Some messages to an nREPL server never result in a response that includes status :doneNREPL-76Resolved issue: NREPL-76Chas Emerick
- Devise a way to isolate middleware deps from regular depsNREPL-75Resolved issue: NREPL-75Chas Emerick
- Drop support for Clojure older than 1.5NREPL-74Resolved issue: NREPL-74Chas Emerick
- Remove reflection from NREPL-53 patchNREPL-73Resolved issue: NREPL-73Chas Emerick
- eval middleware messes up *ns*NREPL-72Resolved issue: NREPL-72Chas Emerick
- reflection warnings on 0.2.5NREPL-71Resolved issue: NREPL-71Chas Emerick
- Add monroe to the list of nrepl clientsNREPL-70Resolved issue: NREPL-70Chas Emerick
- Interrupt of load-file generates java.lang.ThreadDeath exceptionNREPL-69Resolved issue: NREPL-69Chas Emerick
- load-file op responses always have "user" or ":main" as the value of their ns slotNREPL-68Resolved issue: NREPL-68Chas Emerick
- nrepl-server reuseAddrNREPL-67Resolved issue: NREPL-67Chas Emerick
- *msg* is captured on first printNREPL-66Resolved issue: NREPL-66Chas Emerick
- Clients have no way to signal EOF when reading stdinNREPL-65Resolved issue: NREPL-65Colin Jones
- Add current ns to describe session's responseNREPL-64Resolved issue: NREPL-64Chas Emerick
- Add :version-string property to the Clojure versionNREPL-63Resolved issue: NREPL-63Bozhidar Batsov
- Improve Java version informationNREPL-62Resolved issue: NREPL-62Bozhidar Batsov
- Typo in READMENREPL-61Resolved issue: NREPL-61Bozhidar Batsov
- Tests failing in build "Unable to resolve var: clojure.pprint/use-method in this context"NREPL-60Resolved issue: NREPL-60Chas Emerick
- Tracking source form positions in evalNREPL-59Resolved issue: NREPL-59Chas Emerick
- Inconsistency between session and eval responsesNREPL-58Resolved issue: NREPL-58Chas Emerick
- Add Java version info to op "describe"'s responseNREPL-57Resolved issue: NREPL-57Chas Emerick
- Test suite failing on JDK 1.8NREPL-56Resolved issue: NREPL-56Chas Emerick
- Support custom value rendering middlewareNREPL-55Resolved issue: NREPL-55Chas Emerick
- No version of nrepl when connect to the lein-droid REPLNREPL-54Resolved issue: NREPL-54Chas Emerick
- Middleware linearization is nondeterministically wrongNREPL-53Resolved issue: NREPL-53Chas Emerick
- Middleware linearizes wrong with redundant :expects entriesNREPL-52Resolved issue: NREPL-52Chas Emerick
- Pretty-printing reference returned by clojure.tools.nrepl.server/start-server causes multimethod exceptionNREPL-51Resolved issue: NREPL-51Chas Emerick
- Configurable eval functionNREPL-50Resolved issue: NREPL-50Chas Emerick
- Chas, where are you? You said you were going to the Hops & Hominy restaurantNREPL-49Resolved issue: NREPL-49Chas Emerick
- *1/*2/*3/*e nil in cloned sessionNREPL-48Resolved issue: NREPL-48Chas Emerick
- Two deftests with same name cause reduced test coverageNREPL-47Resolved issue: NREPL-47Chas Emerick
- nREPL crashes when required more than one time with :reload-allNREPL-46Resolved issue: NREPL-46Chas Emerick
- Laziness-forcing loses *out* bindingsNREPL-45Resolved issue: NREPL-45Chas Emerick
- Expose JMX MBean to provide list of available nREPL endpointsNREPL-44Resolved issue: NREPL-44Chas Emerick
- Document the availability/usage of *e, *1, *2, ... in nREPLNREPL-43Resolved issue: NREPL-43Chas Emerick
- Reflection warnings in users' projectsNREPL-42Resolved issue: NREPL-42
- Rebind print-.* dynamic vars when loading a fileNREPL-41Resolved issue: NREPL-41Colin Jones
- Thread leak in clojure.tools.nrepl.transport$fn_transport?NREPL-40Resolved issue: NREPL-40Chas Emerick
- Using functions reading from *in* causes "java.io.IOException: Write end dead"NREPL-39Resolved issue: NREPL-39Colin Jones
- Certain Calendar values don't seem to be able to printNREPL-38Resolved issue: NREPL-38
50 of 86
start-server throws exception on alpine linux 3.6
Won't Fix
Description
Environment
Alpine Linux 3.6
Details
Details
Details
Created October 14, 2017 at 7:33 PM
Updated June 26, 2019 at 3:52 AM
Resolved June 26, 2019 at 3:52 AM
Activity
Show:
Alex MillerJune 26, 2019 at 3:52 AM
All nrepl tickets closed, now managed at https://github.com/nrepl/nrepl
importNovember 7, 2017 at 7:56 PM
Comment made by: nokamoto
I'm glad it was helpful!
Chas EmerickNovember 7, 2017 at 12:11 PM
FYI, created https://github.com/cemerick/nREPL/issues/20 to correspond to this issue. Thanks for the report!
Chas EmerickNovember 6, 2017 at 9:24 PM
I ran into this exact problem while re-animating https://github.com/cemerick/nREPL: travis will resolve ipv6 addresses (the sole criteria previously used to determine whether to use ipv6 or not), but will not bind such an address.
https://github.com/cemerick/nREPL/commit/36c77ddb03f2499f8b95701148a73d6d809b081d
The description in https://clojure.atlassian.net/browse/NREPL-83#icft=NREPL-83 suggests "start-server" will try "::" first and then fall back to "localhost". However, running in Alpine Linux, the attempt to bind "::" throws an exception and the fallback to "localhost" never occurs.
AFAIK, Alpine is different in more ways than one... ipv6 disabled by default, and also musl-libc has its own resolver, so multiple factors could be adding up here. The result however is an exception and behavior that doesn't match the expectation established in NREPL-83.
Obviously the caller can workaround this problem by explicitly passing a :bind argument, like (start-server ort p :bind "localhost"), and for that reason I can consider this a minor issue. If nothing else perhaps the documentation can be clarified.
Here' a transcript to show what I mean:
https://gist.github.com/gonewest818/ae5c5caf49380f81c5a2667408da6d4f
lines 1-74 documents launching alpine, installing lein, and creating a project with nrepl 0.2.13
lines 75-76 shows the exception when no :bind is specified
lines 78-79 proves the obvious workaround
lines 90-91 duplicates the exception by replicating what's happening inside tools.repl