nrepl

https://github.com/nrepl/nrepl || https://nrepl.org
Jakub Holý 2020-09-12T18:30:06.002900Z

Hello! I am trying to run nrepl inside Docker for a VSCode remote dev container. The Dockerfile ends up with CMD ["clojure", "-A:nrepl", "--bind", "0.0.0.0"] and the port is defined in deps.edn and exposed and I can connect to it with telnet. But when I connect with a nrepl client, I never get to the prompt, it just freezes:

🐟  clj -A:nrepl --connect --host me --port 52162          [*master]
nREPL 0.8.0-alpha5
Clojure 1.10.1
OpenJDK 64-Bit Server VM 11.0.1+13
Interrupt: Control+C
Exit:      Control+D or (exit) or (quit)
What could it mean? How to troubleshoot? In deps.edn I have
:nrepl {:extra-deps {nrepl/nrepl {:mvn/version "0.8.0-alpha5"}}
        :main-opts ["-m" "nrepl.cmdline" "--port" "52162"]}

Jakub Holý 2020-09-12T18:46:06.003400Z

BTW sometimes it works as it should... So I guess it is some kind of a timing issue.