Fork me on GitHub
#cider
<
2019-10-01
>
frozenlock01:10:03

I have websockets between client applications and my backend. Is there an easy-ish way to forward/tunnel nrepl from the clients by using the backend?

solf05:10:22

I'm trying to connect to a running figwheel session. I started it using lein figwheel, it said Starting server at 0.0.0.0/3449, then I connected using cider-connect-cljs to localhost:3449. Is that correct? Here's the errors in *Message*:

[nREPL] Establishing direct connection to localhost:3449 ...
[nREPL] Direct connection to localhost:3449 established
nrepl-send-sync-request: Sync nREPL request timed out (op clone id 1 time-stamp 2019-10-01 13:04:11.403736153)
(It works using cider-jack-in-cljs, I'm just trying to learn how repl connections and stuff work behind the scenes)

frozenlock05:10:37

@dromar56 port 3449 is probably for your browser.

frozenlock05:10:34

You might be able to find the nrepl port in the figwheel configuration under the key :nrepl-port.

solf05:10:21

Oh thanks. There's no :nrepl-port, I guess that means the project wasn't supposed to be used that way. I'll add it and see how it goes

dpsutton13:10:43

tests have been failing on CIDER for a while due to:

- Installing [ 3/11] spinner (1.7)... not available
  - Installing [ 4/11] queue (0.2)... not available

bozhidar13:10:36

@dpsutton I know. Seems like some issue with GNU ELPA. I don’t think we can do much about this.

dpsutton13:10:08

bummer. surprising to see it take so long

dpsutton13:10:20

are there similar packages on melpa we can use?

manuel14:10:43

there was some talk on MELPA about spinner recently: https://github.com/melpa/melpa/pull/6462

bozhidar15:10:07

I’ll have to ask Artur about this. We work together in the same company.

bozhidar15:10:03

> are there similar packages on melpa we can use? Probably we can think of something. I definitely don’t think queue is used much in CIDER and spinner is on MELPA already if I recall correctly.

dogenpunk17:10:02

Hi, I’m using cider-connect-clj (v0.23.0snapshot) to connect to a remote application running nrepl 0.7.0-alpha1. Cider makes a connection successfully, but I get intermittent errors:

dogenpunk17:10:09

java.io.FileNotFoundException: ?C:\Windows\system32\config\systemprofile\AppData\Local\orchard\clojuredocs\export.edn (The filename, directory name, or volume label syntax is incorrect)

dogenpunk17:10:18

ERROR: Unhandled REPL handler exception processing message {:op eldoc, :ns com.example.foo.handler, :symbol with-bindings, :session a36ec554-7565-4521-932d-6b29e5d49497, :id 7}

dogenpunk17:10:30

Anyone else run into something like this?

dogenpunk17:10:45

It seems to go away when I turn off cider-eldoc-display-for-symbol-at-point

bozhidar20:10:32

@dogenpunk It’s a but in Orchard that we’ve been unable to track down yet.

bozhidar20:10:41

Let me dig up the original report.

dogenpunk20:10:55

Cool. Thanks!