I'm suddenly unable to connect to my repl, getting this message:
Error executing vim.schedule lua callback: .../nvim/site/pack/packer/start/conjure/lua/conjure/net.lua:54: Failed to resolve host for Conjure connection
stack traceback:
[C]: in function 'error'
.../nvim/site/pack/packer/start/conjure/lua/conjure/net.lua:54: in function 'connect'
...e/pack/packer/start/conjure/lua/conjure/remote/nrepl.lua:131: in function 'connect'
...tart/conjure/lua/conjure/client/clojure/nrepl/server.lua:352: in function <...tart/conjure/lua/conjure/client/clojure/nrepl/server.lua:298>
Anyone know what the problem might be?What happens if you run ping http://www.google.com? Is your lookup working system wide?
@olical yep:
--- ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms vim-jack-in is using nrepl 0.9.0 (not sure why), could that cause this problem:
nREPL server started on port 35701 on host 127.0.0.1 -
nREPL 0.9.0
Clojure 1.11.1
OpenJDK 64-Bit Server VM 11.0.19+7-post-Ubuntu-0ubuntu122.04.1
Interrupt: Control+C
Exit: Control+D or (exit) or (quit)
user=> That's weird. If I :ConjureConnect it just works.
And what does ping localhost do?
hmm
$ ping localhost
ping: localhost: Name or service not knownNo idea how that could have happened 🤨 just added localhost back to /etc/hosts and now all works fine.